This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: dump after RTL expand
- From: Andrija Radicevic <andrija dot radicevic at gmail dot com>
- To: <gcc at gcc dot gnu dot org>
- Cc: "'Paul Brook'" <paul at codesourcery dot com>, "'Steven Bosscher'" <stevenb dot gcc at gmail dot com>
- Date: Fri, 12 Jan 2007 10:26:46 +0100
- Subject: RE: dump after RTL expand
- Reply-to: <andrija dot radicevic at zg dot t-com dot hr>
> -----Original Message-----
> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On Behalf Of
> Paul Brook
> Sent: Friday, January 12, 2007 12:34 AM
> To: gcc@gcc.gnu.org
> Cc: Steven Bosscher; Andrija Radicevic
> Subject: Re: dump after RTL expand
>
> On Thursday 11 January 2007 19:27, Steven Bosscher wrote:
> > On 1/11/07, Andrija Radicevic <andrija.radicevic@zg.t-com.hr> wrote:
> > > Hi,
> > > how could I find out from which patterns, in the md file, the
> 00.expand
> > > file was generated (i.e. to map the patterns in the expand file with
> the
> > > ones in the .md file)? Is there a compiler option/switch which would
> tell
> > > the compiler mark the patterns in the expand file with the insns names
> > > from the md file?
> >
> > There isn't.
> >
> > You would have to walk over the insn and make recog assign them an insn
> > code.
>
> That still wouldn't tell you what names were used to generate them. It's
> common to have a named expander that generates other (possibly anonymous
> insns).
>
Does that mean that the expand file isn't the dump after the initial rtl generation phase? According to internals manual, only the named define_insn and define_expand are used during rtl generation phase.
Regards
Andrija