LLVM 20.0.0git
|
A simple loop rotation transformation. More...
#include "llvm/Transforms/Scalar/LoopRotation.h"
Public Member Functions | |
LoopRotatePass (bool EnableHeaderDuplication=true, bool PrepareForLTO=false) | |
PreservedAnalyses | run (Loop &L, LoopAnalysisManager &AM, LoopStandardAnalysisResults &AR, LPMUpdater &U) |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Public Member Functions inherited from llvm::PassInfoMixin< LoopRotatePass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< LoopRotatePass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
A simple loop rotation transformation.
Definition at line 24 of file LoopRotation.h.
Definition at line 42 of file LoopRotation.cpp.
void LoopRotatePass::printPipeline | ( | raw_ostream & | OS, |
function_ref< StringRef(StringRef)> | MapClassName2PassName | ||
) |
Definition at line 46 of file LoopRotation.cpp.
References OS, and printPipeline().
Referenced by printPipeline().
PreservedAnalyses LoopRotatePass::run | ( | Loop & | L, |
LoopAnalysisManager & | AM, | ||
LoopStandardAnalysisResults & | AR, | ||
LPMUpdater & | U | ||
) |
Definition at line 61 of file LoopRotation.cpp.
References llvm::LoopStandardAnalysisResults::AC, llvm::PreservedAnalyses::all(), DefaultRotationThreshold, DL, llvm::LoopStandardAnalysisResults::DT, llvm::getBestSimplifyQuery(), llvm::getLoopPassPreservedAnalyses(), llvm::hasVectorizeTransformation(), llvm::LoopStandardAnalysisResults::LI, llvm::LoopRotation(), llvm::LoopStandardAnalysisResults::MSSA, PrepareForLTOOption, llvm::LoopStandardAnalysisResults::SE, llvm::TM_ForcedByUser, llvm::LoopStandardAnalysisResults::TTI, llvm::MemorySSA::verifyMemorySSA(), and llvm::VerifyMemorySSA.