Lines Matching refs:CmpRHS
5010 Value *CmpLHS, *CmpRHS; in computeKnownFPClass() local
5011 if (F && match(Cond, m_FCmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS)))) { in computeKnownFPClass()
5019 fcmpImpliesClass(Pred, *F, CmpLHS, CmpRHS, LookThroughFAbsFNeg); in computeKnownFPClass()
8080 Value *CmpLHS, Value *CmpRHS, in matchFastFloatClamp() argument
8089 if (CmpRHS == FalseVal) { in matchFastFloatClamp()
8099 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp()
8134 Value *CmpLHS, Value *CmpRHS, in matchClamp() argument
8137 if (CmpRHS != TrueVal) { in matchClamp()
8142 if (CmpRHS == TrueVal && match(CmpRHS, m_APInt(C1))) { in matchClamp()
8170 Value *CmpLHS, Value *CmpRHS, in matchMinMaxOfMinMax() argument
8193 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
8201 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
8209 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
8217 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
8233 if ((CmpLHS == A && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
8234 match(A, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
8240 if ((CmpLHS == A && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
8241 match(A, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
8247 if ((CmpLHS == B && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
8248 match(B, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
8254 if ((CmpLHS == B && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
8255 match(B, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
8279 Value *CmpLHS, Value *CmpRHS, in matchMinMax() argument
8287 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax()
8291 SPR = matchMinMaxOfMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, Depth); in matchMinMax()
8298 if (CmpLHS == getNotValue(TrueVal) && CmpRHS == getNotValue(FalseVal)) { in matchMinMax()
8310 if (CmpLHS == getNotValue(FalseVal) && CmpRHS == getNotValue(TrueVal)) { in matchMinMax()
8324 if (!match(CmpRHS, m_APInt(C1))) in matchMinMax()
8402 Value *CmpLHS, Value *CmpRHS, in matchSelectPattern() argument
8425 if (match(CmpRHS, m_AnyZeroFP()) && CmpRHS != OutputZeroVal) { in matchSelectPattern()
8427 CmpRHS = OutputZeroVal; in matchSelectPattern()
8433 RHS = CmpRHS; in matchSelectPattern()
8450 !isKnownNonZero(CmpRHS)) in matchSelectPattern()
8464 bool RHSSafe = isKnownNonNaN(CmpRHS, FMF); in matchSelectPattern()
8496 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchSelectPattern()
8497 std::swap(CmpLHS, CmpRHS); in matchSelectPattern()
8507 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { in matchSelectPattern()
8546 if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, ZeroOrAllOnes)) in matchSelectPattern()
8550 if (Pred == ICmpInst::ICMP_SGE && match(CmpRHS, ZeroOrOne)) in matchSelectPattern()
8555 if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, ZeroOrOne)) in matchSelectPattern()
8568 if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, ZeroOrAllOnes)) in matchSelectPattern()
8573 if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, ZeroOrOne)) in matchSelectPattern()
8579 return matchMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS, Depth); in matchSelectPattern()
8586 !isKnownNonZero(CmpRHS))) in matchSelectPattern()
8589 return matchFastFloatClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS); in matchSelectPattern()
8725 Value *CmpRHS = CmpI->getOperand(1); in matchDecomposedSelectPattern() local
8741 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchDecomposedSelectPattern()
8750 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchDecomposedSelectPattern()
8755 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()