LLVM 20.0.0git
|
#include "llvm/Transforms/Scalar/LoopPassManager.h"
Public Types | |
using | PassConceptT = detail::PassConcept< Loop, LoopAnalysisManager, LoopStandardAnalysisResults &, LPMUpdater & > |
Public Member Functions | |
FunctionToLoopPassAdaptor (std::unique_ptr< PassConceptT > Pass, bool UseMemorySSA=false, bool UseBlockFrequencyInfo=false, bool UseBranchProbabilityInfo=false, bool LoopNestMode=false) | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Runs the loop passes across every loop in the function. | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
bool | isLoopNestMode () const |
Public Member Functions inherited from llvm::PassInfoMixin< FunctionToLoopPassAdaptor > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< FunctionToLoopPassAdaptor > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Definition at line 401 of file LoopPassManager.h.
using llvm::FunctionToLoopPassAdaptor::PassConceptT = detail::PassConcept<Loop, LoopAnalysisManager, LoopStandardAnalysisResults &, LPMUpdater &> |
Definition at line 404 of file LoopPassManager.h.
|
inlineexplicit |
Definition at line 408 of file LoopPassManager.h.
References llvm::PassManager< IRUnitT, AnalysisManagerT, ExtraArgTs >::addPass().
|
inline |
Definition at line 428 of file LoopPassManager.h.
|
inlinestatic |
Definition at line 426 of file LoopPassManager.h.
void FunctionToLoopPassAdaptor::printPipeline | ( | raw_ostream & | OS, |
function_ref< StringRef(StringRef)> | MapClassName2PassName | ||
) |
Definition at line 192 of file LoopPassManager.cpp.
References OS.
PreservedAnalyses FunctionToLoopPassAdaptor::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Runs the loop passes across every loop in the function.
Definition at line 198 of file LoopPassManager.cpp.
References llvm::PreservedAnalyses::all(), llvm::appendLoopsToWorklist(), assert(), llvm::LoopStandardAnalysisResults::DT, llvm::PriorityWorklist< T, VectorT, MapT >::empty(), llvm::LoopInfoBase< BlockT, LoopT >::empty(), F, llvm::PreservedAnalyses::getChecker(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PriorityWorklist< T, VectorT, MapT >::insert(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::invalidate(), IR, llvm::isSpecialPass(), LAM, llvm::LoopStandardAnalysisResults::LI, llvm::LoopStandardAnalysisResults::MSSA, llvm::PriorityWorklist< T, VectorT, MapT >::pop_back_val(), llvm::PassInstrumentation::popBeforeNonSkippedPassCallback(), llvm::PassInstrumentation::pushBeforeNonSkippedPassCallback(), llvm::report_fatal_error(), llvm::PassManager< IRUnitT, AnalysisManagerT, ExtraArgTs >::run(), llvm::PassInstrumentation::runAfterPass(), llvm::PassInstrumentation::runAfterPassInvalidated(), llvm::PassInstrumentation::runBeforePass(), llvm::LoopStandardAnalysisResults::SE, llvm::LPMUpdater::skipCurrentLoop(), llvm::ScalarEvolution::verify(), llvm::LoopInfoBase< BlockT, LoopT >::verify(), llvm::DominatorTreeBase< NodeT, IsPostDom >::verify(), llvm::VerifyDomInfo, llvm::VerifyLoopInfo, llvm::MemorySSA::verifyMemorySSA(), llvm::VerifyMemorySSA, and llvm::VerifySCEV.