This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Tree representation in GCC Front End
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: srinivas koppadi <swamy12345in at yahoo dot co dot in>
- Date: Sun, 23 May 2004 12:29:53 +0100
- Subject: Re: Tree representation in GCC Front End
- Organization: CodeSourcery
- References: <20040523092205.38816.qmail@web8203.mail.in.yahoo.com>
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