Lines Matching defs:Cmp1
977 Value *Cmp1 = Cmp->getOperand(1);
983 match(FVal, m_AllOnes()) && match(Cmp1, m_APInt(CmpC)) && *CmpC == ~*C) {
1001 std::swap(Cmp0, Cmp1);
1011 match(FVal, m_c_Add(m_Specific(X), m_Value(Y))) && Y == Cmp1) {
1019 Y = Cmp1;
1030 match(Cmp0, m_c_Add(m_Specific(Cmp1), m_Value(Y))) &&
1031 match(FVal, m_c_Add(m_Specific(Cmp1), m_Specific(Y)))) {
1034 return Builder.CreateBinaryIntrinsic(Intrinsic::uadd_sat, Cmp1, Y);
1464 Value *Cmp1;
1468 if (!match(Sel1, m_Select(m_Value(Cmp1), m_Value(ReplacementLow),
1470 !match(Cmp1,
1475 if (!Cmp1->hasOneUse() && (Cmp00 == X || !Cmp00->hasOneUse()))
1477 // FIXME: this restriction could be relaxed if Cmp1 can be reused as one of
1480 // Canonicalize Cmp1 into the form we expect.
3541 Value *Cmp1, Value *TrueVal,
3545 if (match(Cmp1, m_PosZeroFP()) &&
3656 Value *Cmp0 = FCmp->getOperand(0), *Cmp1 = FCmp->getOperand(1);
3658 if ((Cmp0 == TrueVal && Cmp1 == FalseVal) ||
3659 (Cmp0 == FalseVal && Cmp1 == TrueVal)) {
3670 Value *NewCond = Builder.CreateFCmp(InvPred, Cmp0, Cmp1,
3705 matchFMulByZeroIfResultEqZero(*this, Cmp0, Cmp1, MatchCmp1, MatchCmp0,