Where can I get the output of the front-end.
Steven Bosscher
s.bosscher@student.tudelft.nl
Thu Apr 3 18:01:00 GMT 2003
Op do 03-04-2003, om 18:09 schreef Matthieu Moy:
> Hi,
>
> I'm still trying to re-use the front-end of GCC to do some code
> analysis. (I'm using the tree-ssa branch)
>
> I begin to understand how the data structures are made, but I don't
> understand *where*, in the programm, they are generated.
>
> What I would like to do is
>
> C++ source -----> SSA tree ---(standard way)----> RTL
> \
> `---(my add-on)---> ...
>
> So, I thought of hacking the ssa -> rtl code, but I can't find which
> function is doing so in gcc !
>
> Any help appreciated, thanks,
Look at tree-optimize.c, or if you want to hook in after the SSA
optimizers are done, grep for TV_EXPAND in c-decl.c.
Greetz
Steven
More information about the Gcc
mailing list