This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[RTL] Generation?
- From: Andrew Haley <aph at redhat dot com>
- To: 王 逸 <cnnjuwy at hotmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 11 May 2004 15:52:02 +0100
- Subject: [RTL] Generation?
- References: <Sea1-F144MXNwjFWFQE0000c04e@hotmail.com>
õ Ý writes:
>
> I've read GCC internals and some other documents, trying to find which part
> of the source code is responsible for RTL generation.
>
> The GCC internals said that:
> The source files for RTL generation include stmt.c, calls.c, expr.c,
> explow.c, expmed.c, function.c, optabs.c and emit-rtl.c. Also, the file
> insn-emit.c, generated from the machine description by the program genemit,
> is used in this pass. The header file expr.h is used for communication
> within this pass.
>
> But I'd like to know where is the RTL generator's entry, and I would like
> to debug cc1 to trace the RTL generation progress, but first of all, I need
> to locate the breakpoint.
expand_expr_real is a good place to start.
Andrew.