LLVM
8.0.1
|
Adaptor that maps from a SCC to its functions. More...
#include "llvm/Analysis/CGSCCPassManager.h"
Public Member Functions | |
CGSCCToFunctionPassAdaptor (FunctionPassT Pass) | |
CGSCCToFunctionPassAdaptor (const CGSCCToFunctionPassAdaptor &Arg) | |
CGSCCToFunctionPassAdaptor (CGSCCToFunctionPassAdaptor &&Arg) | |
CGSCCToFunctionPassAdaptor & | operator= (CGSCCToFunctionPassAdaptor RHS) |
PreservedAnalyses | run (LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, LazyCallGraph &CG, CGSCCUpdateResult &UR) |
Runs the function pass across every function in the module. More... | |
Friends | |
void | swap (CGSCCToFunctionPassAdaptor &LHS, CGSCCToFunctionPassAdaptor &RHS) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< CGSCCToFunctionPassAdaptor< FunctionPassT > > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
Adaptor that maps from a SCC to its functions.
Designed to allow composition of a FunctionPass(Manager) and a CGSCCPassManager. Note that if this pass is constructed with a pointer to a CGSCCAnalysisManager
it will run the FunctionAnalysisManagerCGSCCProxy
analysis prior to running the function pass over the SCC to enable a FunctionAnalysisManager
to be used within this run safely.
Definition at line 583 of file CGSCCPassManager.h.
|
inlineexplicit |
Definition at line 586 of file CGSCCPassManager.h.
|
inline |
Definition at line 591 of file CGSCCPassManager.h.
|
inline |
Definition at line 594 of file CGSCCPassManager.h.
|
inline |
Definition at line 602 of file CGSCCPassManager.h.
References std::swap().
|
inline |
Runs the function pass across every function in the module.
Definition at line 608 of file CGSCCPassManager.h.
References llvm::PreservedAnalyses::all(), assert(), C, llvm::dbgs(), F(), llvm::PreservedAnalyses::getChecker(), llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result::getManager(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PreservedAnalyses::intersect(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::invalidate(), LLVM_DEBUG, llvm::LazyCallGraph::lookupSCC(), N, Pass, llvm::PreservedAnalyses::preserve(), llvm::PreservedAnalyses::preserveSet(), llvm::SmallVectorTemplateBase< T >::push_back(), llvm::PassInstrumentation::runAfterPass(), llvm::PassInstrumentation::runBeforePass(), and llvm::updateCGAndAnalysisManagerForFunctionPass().
|
friend |
Definition at line 597 of file CGSCCPassManager.h.