Tree representation in GCC Front End
Paul Brook
paul@codesourcery.com
Sun May 23 11:31:00 GMT 2004
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
More information about the Gcc
mailing list