Lines Matching refs:IndVarSimplify
1 //===- IndVarSimplify.cpp - Induction Variable Elimination ----------------===//
71 class IndVarSimplify : public LoopPass {
83 IndVarSimplify() : LoopPass(ID), LI(nullptr), SE(nullptr), DT(nullptr),
123 char IndVarSimplify::ID = 0;
124 INITIALIZE_PASS_BEGIN(IndVarSimplify, "indvars",
131 INITIALIZE_PASS_END(IndVarSimplify, "indvars",
135 return new IndVarSimplify();
142 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) {
245 void IndVarSimplify::HandleFloatingPointIV(Loop *L, PHINode *PN) {
443 void IndVarSimplify::RewriteNonIntegerIVs(Loop *L) {
477 /// This is mostly redundant with the regular IndVarSimplify activities that
481 void IndVarSimplify::RewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) {
1152 void IndVarSimplify::SimplifyAndExtend(Loop *L,
1611 Value *IndVarSimplify::
1713 void IndVarSimplify::SinkUnusedInvariants(Loop *L) {
1796 // IndVarSimplify driver. Manage several subpasses of IV simplification.
1799 bool IndVarSimplify::runOnLoop(Loop *L, LPPassManager &LPM) {