10 #ifndef LLVM_TRANSFORMS_SCALAR_LOOPUNROLLPASS_H
11 #define LLVM_TRANSFORMS_SCALAR_LOOPUNROLLPASS_H
20 const bool AllowPartialUnrolling;
24 : AllowPartialUnrolling(AllowPartialUnrolling), OptLevel(OptLevel) {}
49 #endif // LLVM_TRANSFORMS_SCALAR_LOOPUNROLLPASS_H
This header provides classes for managing a pipeline of passes over loops in LLVM IR...
The adaptor from a function pass to a loop pass computes these analyses and makes them available to t...
A CRTP mix-in to automatically provide informational APIs needed for passes.
A set of analyses that are preserved following a run of a transformation pass.
This class provides an interface for updating the loop pass manager based on mutations to the loop ne...
static LoopUnrollPass create(int OptLevel=2)
Create an instance of the loop unroll pass that will support both full and partial unrolling...
Represents a single loop in the control flow graph.
PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM, LoopStandardAnalysisResults &AR, LPMUpdater &U)
static LoopUnrollPass createFull(int OptLevel=2)
Create an instance of the loop unroll pass that only does full loop unrolling.
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.