Lines Matching defs:Pred1
3925 static bool isImpliedTrueByMatchingCmp(CmpPredicate Pred1, CmpPredicate Pred2) {
3928 if (CmpPredicate::getMatching(Pred1, Pred2))
3931 if (Pred1.hasSameSign() && CmpInst::isSigned(Pred2))
3932 Pred1 = ICmpInst::getFlippedSignednessPredicate(Pred1);
3933 else if (Pred2.hasSameSign() && CmpInst::isSigned(Pred1))
3936 switch (Pred1) {
3955 static bool isImpliedFalseByMatchingCmp(CmpPredicate Pred1,
3957 return isImpliedTrueByMatchingCmp(Pred1,
3961 std::optional<bool> ICmpInst::isImpliedByMatchingCmp(CmpPredicate Pred1,
3963 if (isImpliedTrueByMatchingCmp(Pred1, Pred2))
3965 if (isImpliedFalseByMatchingCmp(Pred1, Pred2))