|
LLVM
4.0.0
|
Adaptor that maps from a function to its loops. More...
#include <LoopPassManager.h>
Public Member Functions | |
| FunctionToLoopPassAdaptor (LoopPassT Pass) | |
| 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 137 of file LoopPassManager.h.
|
inlineexplicit |
Definition at line 251 of file LoopPassManager.h.
|
inline |
Runs the loop passes across every loop in the function.
Definition at line 254 of file LoopPassManager.h.
References llvm::PreservedAnalyses::all(), llvm::internal::appendLoopsToWorklist(), llvm::PriorityWorklist< T, SmallVector< T, N >, SmallDenseMap< T, ptrdiff_t > >::empty(), llvm::LoopInfoBase< N, M >::empty(), F, llvm::LoopBase< N, M >::getParentLoop(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::invalidate(), L, llvm::PriorityWorklist< T, SmallVector< T, N >, SmallDenseMap< T, ptrdiff_t > >::pop_back_val(), llvm::reverse(), and llvm::LPMUpdater::skipCurrentLoop().
1.8.6