Re: Query regarding, RTL Macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Bhaskar  Reddy" <bhaskar@xxxxxxxxxxxxxx> writes:

> in rtl.c
> const char * const rtx_name[NUM_RTX_CODE] = {
> #include "rtl.def"              /* rtl expressions are documented here */
> };
> 
> it is referring rtl.def again. I cant find it in rtl.def either.

Please don't top-post.  Thanks.

I guess I don't understand the question.  I thought you were asking
where rtx_name is defined.  It's defined right there in the code that
you quote.  The contents of rtx_name are filled in by the #define of
DEF_RTL_EXPR which is just above the code that you quote, and the uses
of DEF_RTL_EXPR in rtl.def.

If that is not your question, can you explain further what you are
asking?

Ian

> > "BHASKAR G. REDDY" <bhaskar@xxxxxxxxxxxxxx> writes:
> >
> >> Hi Where can i see enumeration constant "rtx_names" which is used by
> >> macro GET_RTX_NAME to return the name of a RTX when given its code.
> >> grep'ed for it in gcc-4.1.1 source but i didnt find exact declaration
> >> and definition of above enum constant. Is it automatically generated?
> >
> > It's in rtl.c.
> >
> > You may have missed it because it's called "rtx_name", not
> > "rtx_names".
> >
> > Ian
> >
> 
> 
> -- 
> Bhaskar G. Reddy,
> Graduate Student,
> Department of CSE,
> IIT Bombay

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux