Lines Matching refs:IndVar
180 static Value *findFinalIVValue(const Loop &L, const PHINode &IndVar, in findFinalIVValue() argument
188 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue()
191 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue()
198 PHINode &IndVar, in getBounds() argument
201 if (!InductionDescriptor::isInductionPHI(&IndVar, &L, &SE, IndDesc)) in getBounds()
218 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst); in getBounds()
284 if (PHINode *IndVar = getInductionVariable(SE)) in getBounds() local
285 return LoopBounds::getBounds(*this, *IndVar, SE); in getBounds()
303 for (PHINode &IndVar : Header->phis()) { in getInductionVariable()
305 if (!InductionDescriptor::isInductionPHI(&IndVar, this, &SE, IndDesc)) in getInductionVariable()
309 Value *StepInst = IndVar.getIncomingValueForBlock(Latch); in getInductionVariable()
316 return &IndVar; in getInductionVariable()
322 if (&IndVar == LatchCmpOp0 || &IndVar == LatchCmpOp1) in getInductionVariable()
323 return &IndVar; in getInductionVariable()
331 if (PHINode *IndVar = getInductionVariable(SE)) in getInductionDescriptor() local
332 return InductionDescriptor::isInductionPHI(IndVar, this, &SE, IndDesc); in getInductionDescriptor()