public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Function Name from CALL_INSN RTX
@ 2011-10-18  8:21 Iyer, Balaji V
  2011-10-18  8:23 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Iyer, Balaji V @ 2011-10-18  8:21 UTC (permalink / raw)
  To: 'gcc@gcc.gnu.org'

Hello Everyone,
       Is it possible to extract the function name (as a tree or char *)  from a CALL_INSN RTX? Is there a #define or a series of #defines that can accomplish this? 
       
       The tried to find this information by stepping through the print_rtx function using gdb and the information (as a char *) is currently stored in the following location of a CALL_INSN: "insn->u.fld[4]->rt_rtx->u.fld[1]->rt_rtx->u.fld[0]->rt_rtx->u.fld[0]->rt_rtx->u.fld[0]->rt_str "

      Does anyone know of a #define or a function I can call to retrieve this information? I would prefer to use functions or #defines rather than absolute locations for future compatibility.

Any help is greatly appreciated!

Thanks,

Balaji V. Iyer.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-18 13:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-18  8:21 Function Name from CALL_INSN RTX Iyer, Balaji V
2011-10-18  8:23 ` Ian Lance Taylor
2011-10-18 15:00   ` Iyer, Balaji V
2011-10-18 15:12     ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).