Go to the documentation of this file.
32 #ifndef LLVM_TRANSFORMS_SCALAR_LICM_H
33 #define LLVM_TRANSFORMS_SCALAR_LICM_H
70 LICMPass(
unsigned MssaOptCap,
unsigned MssaNoAccForPromotionCap,
71 bool AllowSpeculation)
88 LNICMPass(
unsigned MssaOptCap,
unsigned MssaNoAccForPromotionCap,
89 bool AllowSpeculation)
102 #endif // LLVM_TRANSFORMS_SCALAR_LICM_H
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
LICMPass(LICMOptions Opts)
A CRTP mix-in to automatically provide informational APIs needed for passes.
Represents a single loop in the control flow graph.
cl::opt< unsigned > SetLicmMssaNoAccForPromotionCap
The adaptor from a function pass to a loop pass computes these analyses and makes them available to t...
LICMPass(unsigned MssaOptCap, unsigned MssaNoAccForPromotionCap, bool AllowSpeculation)
LNICMPass(unsigned MssaOptCap, unsigned MssaNoAccForPromotionCap, bool AllowSpeculation)
Performs Loop Invariant Code Motion Pass.
This class implements an extremely fast bulk output stream that can only output to a stream.
An efficient, type-erasing, non-owning reference to a callable.
This class provides an interface for updating the loop pass manager based on mutations to the loop ne...
PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &AM, LoopStandardAnalysisResults &AR, LPMUpdater &U)
void printPipeline(raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
LICMOptions(unsigned MssaOptCap, unsigned MssaNoAccForPromotionCap, bool AllowSpeculation)
StringRef - Represent a constant reference to a string, i.e.
void printPipeline(raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
unsigned MssaNoAccForPromotionCap
Performs LoopNest Invariant Code Motion Pass.
PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM, LoopStandardAnalysisResults &AR, LPMUpdater &U)
LNICMPass(LICMOptions Opts)
A container for analyses that lazily runs them and caches their results.
cl::opt< unsigned > SetLicmMssaOptCap
This class represents a loop nest and can be used to query its properties.