This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RTL] Generation?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]