Re: order of optimizations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-04-09 at 16:43 +0530, P. Pavan Kumar wrote:
> Hi,
> Does the order of optimizations effects the generated code ?

Of course, unless the optimization applications are idempotent.

> If i want to change the order of optimizations then how it would it be
> possible ? In which part of the gcc source code about the order of
> optimization passess are defined.

 

 You'd obviously need to worry about dependencies between passes.Look at
passes.c a.k.a the pass manager. 



http://gcc.gnu.org/onlinedocs/gccint/Pass-manager.html 




> I want to know, what are the optimizations can be done on the RTL level.
> Is there any way to control the order of those optimizations.
> In which source file of gcc they are defined.

info gccint gives you a list of passes and the order in which they are
run. It covers the order for the tree passes as well as the RTL
passes.  



~r

> Please help me.
> 
> Thanks in advance
> Pavan,
> Home: http://www.cse.iitb.ac.in/~pavankumar
> 
> 
> 
> 
> 
> 
-- 
Ramana Radhakrishnan <ramana.radhakrishnan@xxxxxxxxxx>
Codito Technologies Pvt. Ltd.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux