This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tree representation in GCC Front End


On Sunday 23 May 2004 10:22, srinivas koppadi wrote:
> Hi All,
>  In gcc front end it converts every function in the
>  input file to its corresponding  tree repsesentation
> known as
>  Intermediate Tree Representationi(ITR).  Gcc Front
> End uses this information(ITR)
>  for a function to convert that into rtl form. Please
> let me know where this
>  tree representation  for a particular function is
> stored.
>  May be the ITR for each function in the input file is
> stored in a list as a global
>  variable. How can I find that global variable. Any
> clues please. I want the global variable which
> contains the ITR of each function. This may be a list.

Functions are passed from the frontend to the optimizers via 
tree_rest_of_compilation.

To find out more about the structure of these trees you should look at the 
relevant sections of the GCC internals manual, and gcc/tree.def.

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]