Re: cfg representation

2007-08-14 Thread Aldy Hernandez
Diego == Diego Novillo [EMAIL PROTECTED] writes: are gimplify.c for all the conversion to GIMPLE, tree-cfg.c for the building of the CFG and omp-low.c for the conversion into Low GIMPLE. Actually, gimple-low.c. omp-low.c is only for the OpenMP lowering.

cfg representation

2007-08-09 Thread Bob Rossi
Hi, I've been looking at the cfg that gcc dumps to a file. I'm noticing that the code is transformed in the cfg. Especially the short circuited expressions and the ternary operator for C/C++. Is there a particular algorithm gcc uses to transform the original AST into the modified version in the

Re: cfg representation

2007-08-09 Thread Diego Novillo
On 8/9/07 4:09 PM, Bob Rossi wrote: Does anyone know where the code is that does this transformation so I can look for myself? The conversion to GIMPLE does some of that, then the lowering into Low GIMPLE and the CFG cleanups do the rest. The files you want to look at are gimplify.c for all