LLVM
8.0.1
|
Adaptor that maps from a function to its loops. More...
#include "llvm/Transforms/Scalar/LoopPassManager.h"
Public Member Functions | |
FunctionToLoopPassAdaptor (LoopPassT Pass, bool DebugLogging=false) | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Runs the loop passes across every loop in the function. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< FunctionToLoopPassAdaptor< LoopPassT > > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
Adaptor that maps from a function to its loops.
Designed to allow composition of a LoopPass(Manager) and a FunctionPassManager. Note that if this pass is constructed with a FunctionAnalysisManager
it will run the LoopAnalysisManagerFunctionProxy
analysis prior to running the loop passes over the function to enable a LoopAnalysisManager
to be used within this run safely.
Definition at line 139 of file LoopPassManager.h.
|
inlineexplicit |
Definition at line 267 of file LoopPassManager.h.
|
inline |
Runs the loop passes across every loop in the function.
Definition at line 274 of file LoopPassManager.h.
References llvm::PreservedAnalyses::all(), llvm::internal::appendLoopsToWorklist(), assert(), llvm::PriorityWorklist< T, SmallVector< T, N >, SmallDenseMap< T, ptrdiff_t > >::empty(), llvm::EnableMSSALoopDependency, F(), llvm::LoopBase< BlockT, LoopT >::getParentLoop(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::Loop::isRecursivelyLCSSAForm(), Pass, llvm::PriorityWorklist< T, SmallVector< T, N >, SmallDenseMap< T, ptrdiff_t > >::pop_back_val(), llvm::reverse(), llvm::PassInstrumentation::runAfterPass(), llvm::PassInstrumentation::runAfterPassInvalidated(), llvm::PassInstrumentation::runBeforePass(), llvm::LPMUpdater::skipCurrentLoop(), and llvm::LoopBase< BlockT, LoopT >::verifyLoop().