|
LLVM
3.7.0
|
The core module pass which does a post-order walk of the SCCs and runs a CGSCC pass over each one. More...
#include <CGSCCPassManager.h>
Public Member Functions | |
| ModuleToPostOrderCGSCCPassAdaptor (CGSCCPassT Pass) | |
| ModuleToPostOrderCGSCCPassAdaptor (const ModuleToPostOrderCGSCCPassAdaptor &Arg) | |
| ModuleToPostOrderCGSCCPassAdaptor (ModuleToPostOrderCGSCCPassAdaptor &&Arg) | |
| ModuleToPostOrderCGSCCPassAdaptor & | operator= (ModuleToPostOrderCGSCCPassAdaptor RHS) |
| PreservedAnalyses | run (Module &M, ModuleAnalysisManager *AM) |
| Runs the CGSCC pass across every SCC in the module. More... | |
Static Public Member Functions | |
| static StringRef | name () |
Friends | |
| void | swap (ModuleToPostOrderCGSCCPassAdaptor &LHS, ModuleToPostOrderCGSCCPassAdaptor &RHS) |
The core module pass which does a post-order walk of the SCCs and runs a CGSCC pass over each one.
Designed to allow composition of a CGSCCPass(Manager) and a ModulePassManager. Note that this pass must be run with a module analysis manager as it uses the LazyCallGraph analysis. It will also run the CGSCCAnalysisManagerModuleProxy analysis prior to running the CGSCC pass over the module to enable a FunctionAnalysisManager to be used within this run safely.
Definition at line 195 of file CGSCCPassManager.h.
|
inlineexplicit |
Definition at line 197 of file CGSCCPassManager.h.
|
inline |
Definition at line 201 of file CGSCCPassManager.h.
|
inline |
Definition at line 204 of file CGSCCPassManager.h.
|
inlinestatic |
Definition at line 255 of file CGSCCPassManager.h.
|
inline |
Definition at line 212 of file CGSCCPassManager.h.
References llvm::ModuleToPostOrderCGSCCPassAdaptor< CGSCCPassT >::swap.
|
inline |
Runs the CGSCC pass across every SCC in the module.
Definition at line 218 of file CGSCCPassManager.h.
References llvm::PreservedAnalyses::all(), llvm::C, llvm::detail::AnalysisManagerBase< DerivedT, IRUnitT >::getResult(), llvm::detail::AnalysisManagerBase< DerivedT, IRUnitT >::invalidate(), and llvm::LazyCallGraph::postorder_sccs().
|
friend |
Definition at line 206 of file CGSCCPassManager.h.
Referenced by llvm::ModuleToPostOrderCGSCCPassAdaptor< CGSCCPassT >::operator=().
1.8.6