[cfe-dev] Where are the optimization passes invoked?

David Chisnall csdavec at swan.ac.uk
Tue Jun 21 08:11:34 PDT 2011


Look in CodeGen/BackendUtils.cpp.  The LLVM PassManagerBuilder class is responsible for providing standard sets of passes.

David

On 21 Jun 2011, at 15:22, Mattias Holm wrote:

> Hi,
> 
> I am trying to integrate a number of LLVM passes into clang. At the moment, I am quite lost as to where clang actually invokes the passes, I suppose there is a list of passes for the different optimization levels somewhere. Any hints of where to look?
> 
> / Mattias
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list