This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: After GIMPLE...
- From: "Paulo J. Matos" <pocm at soton dot ac dot uk>
- To: "Diego Novillo" <dnovillo at redhat dot com>
- Cc: "Ian Lance Taylor" <iant at google dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 1 Feb 2007 09:37:57 +0000
- Subject: Re: After GIMPLE...
- References: <11b141710701290917p102e7126qf791ceebadae4382@mail.gmail.com> <m3veip62u0.fsf@localhost.localdomain> <11b141710701300711i599ba481ke97c2e36f4ae9c6e@mail.gmail.com> <45C0A33D.5040802@redhat.com> <11b141710701310826s7e49cc1bt982f4487c1a1d45f@mail.gmail.com> <45C10460.9050203@redhat.com>
On 1/31/07, Diego Novillo <dnovillo@redhat.com> wrote:
Paulo J. Matos wrote on 01/31/07 11:26:
> So, ideally, I would like just the gcc part until the first part of
> the middleend where you have a 'no optimizations', language
> independent AST of the source file.
>
OK, so you probably want to inject your pass right before pass_build_ssa
(in init_optimization_passes). All the facilities to traverse the IL
and flowgraph described in the Tree SSA section of the internals manual
should apply.
What can I do then to stop gcc to further process things? After
informing the user there's no more reason on my site to continue.
--
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK