LLVM 20.0.0git
|
Performs Loop Invariant Code Motion Pass. More...
#include "llvm/Transforms/Scalar/LICM.h"
Public Member Functions | |
LICMPass (unsigned MssaOptCap, unsigned MssaNoAccForPromotionCap, bool AllowSpeculation) | |
LICMPass (LICMOptions Opts) | |
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< LICMPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< LICMPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
|
inline |
void LICMPass::printPipeline | ( | raw_ostream & | OS, |
function_ref< StringRef(StringRef)> | MapClassName2PassName | ||
) |
Definition at line 319 of file LICM.cpp.
References llvm::LICMOptions::AllowSpeculation, OS, and printPipeline().
Referenced by printPipeline().
PreservedAnalyses LICMPass::run | ( | Loop & | L, |
LoopAnalysisManager & | AM, | ||
LoopStandardAnalysisResults & | AR, | ||
LPMUpdater & | U | ||
) |
Definition at line 296 of file LICM.cpp.
References llvm::LoopStandardAnalysisResults::AA, llvm::LoopStandardAnalysisResults::AC, llvm::PreservedAnalyses::all(), llvm::LICMOptions::AllowSpeculation, llvm::LoopStandardAnalysisResults::DT, llvm::getLoopPassPreservedAnalyses(), llvm::LoopStandardAnalysisResults::LI, llvm::LoopStandardAnalysisResults::MSSA, llvm::LICMOptions::MssaNoAccForPromotionCap, llvm::LICMOptions::MssaOptCap, llvm::report_fatal_error(), llvm::LoopStandardAnalysisResults::SE, llvm::LoopStandardAnalysisResults::TLI, and llvm::LoopStandardAnalysisResults::TTI.