LLVM 20.0.0git
Public Member Functions | List of all members
llvm::LICMPass Class Reference

Performs Loop Invariant Code Motion Pass. More...

#include "llvm/Transforms/Scalar/LICM.h"

Inheritance diagram for llvm::LICMPass:
Inheritance graph
[legend]

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.
 

Detailed Description

Performs Loop Invariant Code Motion Pass.

Definition at line 66 of file LICM.h.

Constructor & Destructor Documentation

◆ LICMPass() [1/2]

llvm::LICMPass::LICMPass ( unsigned  MssaOptCap,
unsigned  MssaNoAccForPromotionCap,
bool  AllowSpeculation 
)
inline

Definition at line 70 of file LICM.h.

◆ LICMPass() [2/2]

llvm::LICMPass::LICMPass ( LICMOptions  Opts)
inline

Definition at line 74 of file LICM.h.

Member Function Documentation

◆ printPipeline()

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().

◆ run()

PreservedAnalyses LICMPass::run ( Loop L,
LoopAnalysisManager AM,
LoopStandardAnalysisResults AR,
LPMUpdater U 
)

The documentation for this class was generated from the following files: