|
LLVM
5.0.0
|
#include "llvm/Transforms/Scalar/LoopUnrollPass.h"
Public Member Functions | |
| PreservedAnalyses | run (Loop &L, LoopAnalysisManager &AM, LoopStandardAnalysisResults &AR, LPMUpdater &U) |
Static Public Member Functions | |
| static LoopUnrollPass | create (int OptLevel=2) |
| Create an instance of the loop unroll pass that will support both full and partial unrolling. More... | |
| static LoopUnrollPass | createFull (int OptLevel=2) |
| Create an instance of the loop unroll pass that only does full loop unrolling. More... | |
Static Public Member Functions inherited from llvm::PassInfoMixin< LoopUnrollPass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. More... | |
Definition at line 19 of file LoopUnrollPass.h.
|
inlinestatic |
Create an instance of the loop unroll pass that will support both full and partial unrolling.
This uses the target information (or flags) to control the thresholds for different unrolling stategies but supports all of them.
Definition at line 32 of file LoopUnrollPass.h.
Referenced by llvm::PassBuilder::buildModuleOptimizationPipeline().
|
inlinestatic |
Create an instance of the loop unroll pass that only does full loop unrolling.
This will disable any runtime or partial unrolling.
Definition at line 40 of file LoopUnrollPass.h.
Referenced by llvm::PassBuilder::buildFunctionSimplificationPipeline().
| PreservedAnalyses LoopUnrollPass::run | ( | Loop & | L, |
| LoopAnalysisManager & | AM, | ||
| LoopStandardAnalysisResults & | AR, | ||
| LPMUpdater & | U | ||
| ) |
Definition at line 1132 of file LoopUnrollPass.cpp.
References llvm::LoopStandardAnalysisResults::AC, llvm::LPMUpdater::addChildLoops(), llvm::LPMUpdater::addSiblingLoops(), llvm::PreservedAnalyses::all(), llvm::SmallVectorImpl< T >::append(), llvm::LoopBase< N, M >::begin(), llvm::LoopInfoBase< N, M >::begin(), llvm::SmallPtrSetImpl< PtrType >::count(), llvm::LoopStandardAnalysisResults::DT, llvm::LoopBase< N, M >::end(), llvm::LoopInfoBase< N, M >::end(), llvm::erase_if(), F, llvm::getLoopPassPreservedAnalyses(), llvm::AnalysisManager< T, TArgs >::getResult(), llvm::SmallPtrSetImpl< PtrType >::insert(), L, llvm::LoopStandardAnalysisResults::LI, llvm::LPMUpdater::markLoopAsDeleted(), llvm::None, llvm::report_fatal_error(), llvm::LoopStandardAnalysisResults::SE, tryToUnrollLoop(), llvm::LoopStandardAnalysisResults::TTI, UnrollRevisitChildLoops, and llvm::LoopBase< N, M >::verifyLoop().
1.8.6