13 #ifndef LLVM_TRANSFORMS_UTILS_LOOPROTATIONUTILS_H 14 #define LLVM_TRANSFORMS_UTILS_LOOPROTATIONUTILS_H 18 class AssumptionCache;
22 class MemorySSAUpdater;
23 class ScalarEvolution;
25 class TargetTransformInfo;
33 bool LoopRotation(Loop *L, LoopInfo *LI,
const TargetTransformInfo *TTI,
34 AssumptionCache *AC, DominatorTree *DT, ScalarEvolution *SE,
35 MemorySSAUpdater *MSSAU,
const SimplifyQuery &SQ,
36 bool RotationOnly,
unsigned Threshold,
bool IsUtilMode);
This class represents lattice values for constants.
bool LoopRotation(Loop *L, LoopInfo *LI, const TargetTransformInfo *TTI, AssumptionCache *AC, DominatorTree *DT, ScalarEvolution *SE, MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ, bool RotationOnly, unsigned Threshold, bool IsUtilMode)
Convert a loop into a loop with bottom test.
static cl::opt< unsigned > Threshold("loop-unswitch-threshold", cl::desc("Max loop size to unswitch"), cl::init(100), cl::Hidden)