Lines Matching refs:ICmpInst
717 static bool getValueFromFromCondition(Value *Val, ICmpInst *ICI,
739 if (ICmpInst *ICI = dyn_cast<ICmpInst>(C)) { in mergeAssumeBlockValueConstantRange()
835 bool getValueFromFromCondition(Value *Val, ICmpInst *ICI, in getValueFromFromCondition()
841 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) in getValueFromFromCondition()
851 if (ICI->getPredicate() == ICmpInst::ICMP_ULT) in getValueFromFromCondition()
901 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) in getEdgeValueLocal()
1199 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateResult()
1205 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateResult()
1215 ICmpInst::makeConstantRange((ICmpInst::Predicate)Pred, CI->getValue()); in getPredicateResult()
1226 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateResult()
1228 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateResult()
1233 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateResult()
1235 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateResult()