[RTL] Generation?

Andrew Haley aph@redhat.com
Tue May 11 14:54:00 GMT 2004


õ Ý 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.



More information about the Gcc mailing list