Lines Matching refs:CmpRHS

4434     Value *CmpLHS, *CmpRHS;  in computeKnownFPClass()  local
4435 if (F && match(Cond, m_FCmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS)))) { in computeKnownFPClass()
4443 fcmpToClassTest(Pred, *F, CmpLHS, CmpRHS, LookThroughFAbsFNeg); in computeKnownFPClass()
7357 Value *CmpLHS, Value *CmpRHS, in matchFastFloatClamp() argument
7366 if (CmpRHS == FalseVal) { in matchFastFloatClamp()
7376 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp()
7411 Value *CmpLHS, Value *CmpRHS, in matchClamp() argument
7414 if (CmpRHS != TrueVal) { in matchClamp()
7419 if (CmpRHS == TrueVal && match(CmpRHS, m_APInt(C1))) { in matchClamp()
7447 Value *CmpLHS, Value *CmpRHS, in matchMinMaxOfMinMax() argument
7470 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
7478 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
7486 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
7494 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
7510 if ((CmpLHS == A && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
7511 match(A, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
7517 if ((CmpLHS == A && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
7518 match(A, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
7524 if ((CmpLHS == B && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
7525 match(B, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
7531 if ((CmpLHS == B && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
7532 match(B, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
7556 Value *CmpLHS, Value *CmpRHS, in matchMinMax() argument
7564 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax()
7568 SPR = matchMinMaxOfMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, Depth); in matchMinMax()
7575 if (CmpLHS == getNotValue(TrueVal) && CmpRHS == getNotValue(FalseVal)) { in matchMinMax()
7587 if (CmpLHS == getNotValue(FalseVal) && CmpRHS == getNotValue(TrueVal)) { in matchMinMax()
7601 if (!match(CmpRHS, m_APInt(C1))) in matchMinMax()
7647 Value *CmpLHS, Value *CmpRHS, in matchSelectPattern() argument
7670 if (match(CmpRHS, m_AnyZeroFP()) && CmpRHS != OutputZeroVal) { in matchSelectPattern()
7672 CmpRHS = OutputZeroVal; in matchSelectPattern()
7678 RHS = CmpRHS; in matchSelectPattern()
7695 !isKnownNonZero(CmpRHS)) in matchSelectPattern()
7709 bool RHSSafe = isKnownNonNaN(CmpRHS, FMF); in matchSelectPattern()
7741 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchSelectPattern()
7742 std::swap(CmpLHS, CmpRHS); in matchSelectPattern()
7752 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { in matchSelectPattern()
7791 if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, ZeroOrAllOnes)) in matchSelectPattern()
7795 if (Pred == ICmpInst::ICMP_SGE && match(CmpRHS, ZeroOrOne)) in matchSelectPattern()
7800 if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, ZeroOrOne)) in matchSelectPattern()
7813 if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, ZeroOrAllOnes)) in matchSelectPattern()
7818 if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, ZeroOrOne)) in matchSelectPattern()
7824 return matchMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS, Depth); in matchSelectPattern()
7831 !isKnownNonZero(CmpRHS))) in matchSelectPattern()
7834 return matchFastFloatClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS); in matchSelectPattern()
7970 Value *CmpRHS = CmpI->getOperand(1); in matchDecomposedSelectPattern() local
7986 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchDecomposedSelectPattern()
7995 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchDecomposedSelectPattern()
8000 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()