Lines Matching refs:IndVar
184 static Value *findFinalIVValue(const Loop &L, const PHINode &IndVar, in findFinalIVValue() argument
192 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue()
195 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue()
202 PHINode &IndVar, in getBounds() argument
205 if (!InductionDescriptor::isInductionPHI(&IndVar, &L, &SE, IndDesc)) in getBounds()
222 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst); in getBounds()
288 if (PHINode *IndVar = getInductionVariable(SE)) in getBounds() local
289 return LoopBounds::getBounds(*this, *IndVar, SE); in getBounds()
307 for (PHINode &IndVar : Header->phis()) { in getInductionVariable()
309 if (!InductionDescriptor::isInductionPHI(&IndVar, this, &SE, IndDesc)) in getInductionVariable()
319 return &IndVar; in getInductionVariable()
325 if (&IndVar == LatchCmpOp0 || &IndVar == LatchCmpOp1) in getInductionVariable()
326 return &IndVar; in getInductionVariable()
334 if (PHINode *IndVar = getInductionVariable(SE)) in getInductionDescriptor() local
335 return InductionDescriptor::isInductionPHI(IndVar, this, &SE, IndDesc); in getInductionDescriptor()