Lines Matching refs:IndVar
185 static Value *findFinalIVValue(const Loop &L, const PHINode &IndVar, in findFinalIVValue() argument
193 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue()
196 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue()
203 Loop::LoopBounds::getBounds(const Loop &L, PHINode &IndVar, in getBounds() argument
206 if (!InductionDescriptor::isInductionPHI(&IndVar, &L, &SE, IndDesc)) in getBounds()
223 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst); in getBounds()
289 if (PHINode *IndVar = getInductionVariable(SE)) in getBounds() local
290 return LoopBounds::getBounds(*this, *IndVar, SE); in getBounds()
308 for (PHINode &IndVar : Header->phis()) { in getInductionVariable()
310 if (!InductionDescriptor::isInductionPHI(&IndVar, this, &SE, IndDesc)) in getInductionVariable()
314 Value *StepInst = IndVar.getIncomingValueForBlock(Latch); in getInductionVariable()
321 return &IndVar; in getInductionVariable()
327 if (&IndVar == LatchCmpOp0 || &IndVar == LatchCmpOp1) in getInductionVariable()
328 return &IndVar; in getInductionVariable()
336 if (PHINode *IndVar = getInductionVariable(SE)) in getInductionDescriptor() local
337 return InductionDescriptor::isInductionPHI(IndVar, this, &SE, IndDesc); in getInductionDescriptor()