* CFG
@ 2000-06-28 13:47 Marcio de Oliveira Buss
2000-06-28 14:15 ` CFG Jeffrey A Law
0 siblings, 1 reply; 4+ messages in thread
From: Marcio de Oliveira Buss @ 2000-06-28 13:47 UTC (permalink / raw)
To: gcc
Good Morning (afternoon) to all...
Could you please help me? I want to know if the CFG constructed
in the dataflow analysis is updated at each step subsequent steps of
the compilation, and, in turn, remains until the Final phase of the
compilation process. I want to transform the CFG into another structure
but only after all the optimizations have been made over it. I know
that the almost all optimizations are made over the RTL expressions,
but I don't know if some optimization touchs the CFG.
In other words, I would like to know if the CFG is destructed
after the dataflow analysis, i.e., after the informations provided
by the CFG are recorded for futures uses, or if the CFG remains
untouchable.
Thanks.
Best Regards,
Marcio.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CFG
2000-06-28 13:47 CFG Marcio de Oliveira Buss
@ 2000-06-28 14:15 ` Jeffrey A Law
2000-06-28 14:36 ` CFG Marcio de Oliveira Buss
0 siblings, 1 reply; 4+ messages in thread
From: Jeffrey A Law @ 2000-06-28 14:15 UTC (permalink / raw)
To: Marcio de Oliveira Buss; +Cc: gcc
In message < Pine.GSO.4.10.10006281746080.16817-100000@xingu.dcc.unicamp.br >yo
u write:
>
>
> Good Morning (afternoon) to all...
> Could you please help me? I want to know if the CFG constructed
> in the dataflow analysis is updated at each step subsequent steps of
> the compilation, and, in turn, remains until the Final phase of the
> compilation process. I want to transform the CFG into another structure
> but only after all the optimizations have been made over it. I know
> that the almost all optimizations are made over the RTL expressions,
> but I don't know if some optimization touchs the CFG.
> In other words, I would like to know if the CFG is destructed
>
> after the dataflow analysis, i.e., after the informations provided
> by the CFG are recorded for futures uses, or if the CFG remains
> untouchable.
Most of the time we [re]build the cfg when we need it (ie, we don't assume
it's valid, except in a few special cases). Most of the optimizers are
not using the cfg right now and do not keep it accurate.
jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CFG
2000-06-28 14:15 ` CFG Jeffrey A Law
@ 2000-06-28 14:36 ` Marcio de Oliveira Buss
2000-06-28 17:06 ` CFG Richard Henderson
0 siblings, 1 reply; 4+ messages in thread
From: Marcio de Oliveira Buss @ 2000-06-28 14:36 UTC (permalink / raw)
To: gcc
Thus, is there an answer for this question?
"what is the compilation point where I could take the most
optimized CFG for a function to build another structure based on that
CFG?" And which is the file representing this point.
Thanks.
On Wed, 28 Jun 2000, Jeffrey A Law wrote:
> > Could you please help me? I want to know if the CFG
> > constructed in the dataflow analysis is updated at each step
> > subsequent steps of the compilation, and, in turn, remains until
> > the Final phase of the compilation process. I want to transform
> > the CFG into another structure but only after all the optimizations
> > have been made over it. I know that the almost all optimizations
> > are made over the RTL expressions, but I don't know if some
> > optimization touchs the CFG.
> > In other words, I would like to know if the CFG is
> > destructed after the dataflow analysis, i.e., after the
> > informations provided by the CFG are recorded for futures uses, or
> > if the CFG remains untouchable.
> Most of the time we [re]build the cfg when we need it (ie, we don't assume
> it's valid, except in a few special cases). Most of the optimizers are
> not using the cfg right now and do not keep it accurate.
> jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CFG
2000-06-28 14:36 ` CFG Marcio de Oliveira Buss
@ 2000-06-28 17:06 ` Richard Henderson
0 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 2000-06-28 17:06 UTC (permalink / raw)
To: Marcio de Oliveira Buss; +Cc: gcc
On Wed, Jun 28, 2000 at 06:35:50PM -0300, Marcio de Oliveira Buss wrote:
> Thus, is there an answer for this question?
> "what is the compilation point where I could take the most
> optimized CFG for a function to build another structure based on that
> CFG?" And which is the file representing this point.
You can rebuild the CFG at almost any point before delayed-branch
scheduling. I.e. before dbr_schedule. Of course, what you have in
mind fror "build another structure" may also influence where things
may occur.
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-06-28 17:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-28 13:47 CFG Marcio de Oliveira Buss
2000-06-28 14:15 ` CFG Jeffrey A Law
2000-06-28 14:36 ` CFG Marcio de Oliveira Buss
2000-06-28 17:06 ` CFG Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).