Lines Matching refs:LatchCmpInst
187 ICmpInst *LatchCmpInst = L.getLatchCmpInst(); in findFinalIVValue() local
188 if (!LatchCmpInst) in findFinalIVValue()
191 Value *Op0 = LatchCmpInst->getOperand(0); in findFinalIVValue()
192 Value *Op1 = LatchCmpInst->getOperand(1); in findFinalIVValue()
240 ICmpInst *LatchCmpInst = dyn_cast<ICmpInst>(BI->getCondition()); in getCanonicalPredicate() local
241 assert(LatchCmpInst && in getCanonicalPredicate()
247 ? LatchCmpInst->getPredicate() in getCanonicalPredicate()
248 : LatchCmpInst->getInversePredicate(); in getCanonicalPredicate()
250 if (LatchCmpInst->getOperand(0) == &getFinalIVValue()) in getCanonicalPredicate()
255 if (LatchCmpInst->getOperand(0) == &getStepInst() || in getCanonicalPredicate()
256 LatchCmpInst->getOperand(1) == &getStepInst()) in getCanonicalPredicate()