Re: The structure of tree type function declaration

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

 



Le Ton Chanh <letonchanh@xxxxxxxxx> writes:

> I want to know the details of the structure of tree type function
> declaration. Which documentation can help me to understand that? If I
> have a tree type variable, which is function declaration, can I know
> the number of local variables in this function, this function is a
> leaf function or not?

I assume you mean a function definition rather than a function
declaration.

There is no immediate access to information like the number of local
variables or whether a function is a leaf function.  You have to look at
the body of the function for that.  In the middle-end of the compiler
the body will be a list of GIMPLE statements.  GIMPLE is very lightly
documented in the internals manual.

Ian

[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