14 #ifndef LLVM_TRANSFORMS_UTILS_LOOPROTATIONUTILS_H 15 #define LLVM_TRANSFORMS_UTILS_LOOPROTATIONUTILS_H 19 class AssumptionCache;
23 class ScalarEvolution;
25 class TargetTransformInfo;
33 bool LoopRotation(Loop *L, LoopInfo *LI,
const TargetTransformInfo *TTI,
34 AssumptionCache *AC, DominatorTree *DT, ScalarEvolution *SE,
35 const SimplifyQuery &SQ,
bool RotationOnly,
Compute iterated dominance frontiers using a linear time algorithm.
bool LoopRotation(Loop *L, LoopInfo *LI, const TargetTransformInfo *TTI, AssumptionCache *AC, DominatorTree *DT, ScalarEvolution *SE, const SimplifyQuery &SQ, bool RotationOnly, unsigned Threshold, bool IsUtilMode)
Convert a loop into a loop with bottom test.
static int const Threshold
TODO: Write a new FunctionPass AliasAnalysis so that it can keep a cache.