Lines Matching refs:Cmp1
754 Value *Cmp1 = Cmp->getOperand(1); in canonicalizeSaturatedAdd() local
760 match(FVal, m_AllOnes()) && match(Cmp1, m_APInt(CmpC)) && *CmpC == ~*C) { in canonicalizeSaturatedAdd()
778 std::swap(Cmp0, Cmp1); in canonicalizeSaturatedAdd()
788 match(FVal, m_c_Add(m_Specific(X), m_Value(Y))) && Y == Cmp1) { in canonicalizeSaturatedAdd()
796 Y = Cmp1; in canonicalizeSaturatedAdd()
807 match(Cmp0, m_c_Add(m_Specific(Cmp1), m_Value(Y))) && in canonicalizeSaturatedAdd()
808 match(FVal, m_c_Add(m_Specific(Cmp1), m_Specific(Y)))) { in canonicalizeSaturatedAdd()
811 return Builder.CreateBinaryIntrinsic(Intrinsic::uadd_sat, Cmp1, Y); in canonicalizeSaturatedAdd()
1301 Value *Cmp1; in canonicalizeClampLike() local
1305 if (!match(Sel1, m_Select(m_Value(Cmp1), m_Value(ReplacementLow), in canonicalizeClampLike()
1307 !match(Cmp1, in canonicalizeClampLike()
1312 if (!Cmp1->hasOneUse() && (Cmp00 == X || !Cmp00->hasOneUse())) in canonicalizeClampLike()
2696 Value *Cmp0 = FCI->getOperand(0), *Cmp1 = FCI->getOperand(1); in visitSelectInst() local
2697 if ((Cmp0 == TrueVal && Cmp1 == FalseVal) || in visitSelectInst()
2698 (Cmp0 == FalseVal && Cmp1 == TrueVal)) { in visitSelectInst()
2709 Value *NewCond = Builder.CreateFCmp(InvPred, Cmp0, Cmp1, in visitSelectInst()