31 dbgs() <<
"Starting Loop pass manager run.\n";
33 for (
auto &
Pass : Passes) {
35 dbgs() <<
"Running pass: " <<
Pass->name() <<
" on " <<
L;
70 dbgs() <<
"Finished Loop pass manager run.\n";
78 : OS(OS), Banner(Banner) {}
Pass interface - Implemented by all 'passes'.
This header provides classes for managing a pipeline of passes over loops in LLVM IR...
void intersect(const PreservedAnalyses &Arg)
Intersect this set with another in place.
The adaptor from a function pass to a loop pass computes these analyses and makes them available to t...
AnalysisManager< Loop, LoopStandardAnalysisResults & > LoopAnalysisManager
The loop analysis manager.
A set of analyses that are preserved following a run of a transformation pass.
static PreservedAnalyses all()
Construct a special preserved set that preserves all passes.
This class provides an interface for updating the loop pass manager based on mutations to the loop ne...
void invalidate(IRUnitT &IR)
Invalidate a specific analysis pass for an IR module.
PreservedAnalyses run(Loop &L, LoopAnalysisManager &, LoopStandardAnalysisResults &, LPMUpdater &)
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
Manages a sequence of passes over a particular unit of IR.
Represents a single loop in the control flow graph.
void preserveSet()
Mark an analysis set as preserved.
bool skipCurrentLoop() const
This can be queried by loop passes which run other loop passes (like pass managers) to know whether t...
This templated class represents "all analyses that operate over \<a particular IR unit\>" (e...
This class implements an extremely fast bulk output stream that can only output to a stream...
A container for analyses that lazily runs them and caches their results.
void printLoop(Loop &L, raw_ostream &OS, const std::string &Banner="")
Function to print a loop's contents as LLVM's text IR assembly.