Re: GIMPLE: obtaining informations about variables

2008-02-14 Thread Diego Novillo
On Thu, Feb 14, 2008 at 9:39 AM, Andrea Callia D'Iddio <[EMAIL PROTECTED]> wrote: > But how can I obtain the list of variables used by a function? (global > variables and also function local variables) Once you are in SSA form, the table REFERENCED_VARS contains all the symbols that are referen

GIMPLE: obtaining informations about variables

2008-02-14 Thread Andrea Callia D'Iddio
Hi all, I'm adding a new functionality to gcc for a university project. I know that, for each function, gcc creates a GIMPLE code that can be viewed as a control flow graph. I'm able to visit nodes (basic blocks), edges and statements of those graphs using some gcc macros. But how can I obtain the