LLVM  15.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
Collaboration diagram for llvm::LICMPass:
Collaboration graph

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. More...

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 

Definition at line 70 of file LICM.h.

◆ LICMPass() [2/2]

llvm::LICMPass::LICMPass ( LICMOptions  Opts)

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 284 of file LICM.cpp.

References llvm::LICMOptions::AllowSpeculation.

◆ run()

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

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