From: Steven Bosscher <s.bosscher@student.tudelft.nl>
To: Matthieu Moy <Matthieu.Moy@imag.fr>
Cc: gcc@gcc.gnu.org
Subject: Re: Where can I get the output of the front-end.
Date: Thu, 03 Apr 2003 18:01:00 -0000 [thread overview]
Message-ID: <1049386407.757.12.camel@steven> (raw)
In-Reply-To: <vpqhe9fy340.fsf@ecrins.imag.fr>
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
next prev parent reply other threads:[~2003-04-03 16:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-03 17:36 Matthieu Moy
2003-04-03 18:01 ` Steven Bosscher [this message]
2003-04-04 18:12 ` Matthieu Moy
2003-04-04 19:07 ` Pop Sébastian
2003-04-03 18:50 ` Pop Sébastian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1049386407.757.12.camel@steven \
--to=s.bosscher@student.tudelft.nl \
--cc=Matthieu.Moy@imag.fr \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).