Lines Matching refs:CmpLHS

5010     Value *CmpLHS, *CmpRHS;  in computeKnownFPClass()  local
5011 if (F && match(Cond, m_FCmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS)))) { in computeKnownFPClass()
5017 bool LookThroughFAbsFNeg = CmpLHS != LHS && CmpLHS != RHS; in computeKnownFPClass()
5019 fcmpImpliesClass(Pred, *F, CmpLHS, CmpRHS, LookThroughFAbsFNeg); in computeKnownFPClass()
8080 Value *CmpLHS, Value *CmpRHS, in matchFastFloatClamp() argument
8109 m_CombineOr(m_OrdFMin(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
8110 m_UnordFMin(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
8119 m_CombineOr(m_OrdFMax(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
8120 m_UnordFMax(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
8134 Value *CmpLHS, Value *CmpRHS, in matchClamp() argument
8145 if (match(FalseVal, m_SMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
8150 if (match(FalseVal, m_SMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
8155 if (match(FalseVal, m_UMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
8160 if (match(FalseVal, m_UMax(m_Specific(CmpLHS), m_APInt(C2))) && 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()
8240 if ((CmpLHS == A && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
8247 if ((CmpLHS == B && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
8254 if ((CmpLHS == B && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) && 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()
8329 if ((CmpLHS == TrueVal && match(FalseVal, m_APInt(C2))) || in matchMinMax()
8330 (CmpLHS == FalseVal && match(TrueVal, m_APInt(C2)))) { in matchMinMax()
8335 return {CmpLHS == TrueVal ? SPF_UMAX : SPF_UMIN, SPNB_NA, false}; in matchMinMax()
8341 return {CmpLHS == FalseVal ? SPF_UMAX : SPF_UMIN, SPNB_NA, false}; in matchMinMax()
8402 Value *CmpLHS, Value *CmpRHS, in matchSelectPattern() argument
8421 if (match(CmpLHS, m_AnyZeroFP()) && CmpLHS != OutputZeroVal) { in matchSelectPattern()
8423 CmpLHS = OutputZeroVal; in matchSelectPattern()
8432 LHS = CmpLHS; in matchSelectPattern()
8449 if (!FMF.noSignedZeros() && !isKnownNonZero(CmpLHS) && in matchSelectPattern()
8463 bool LHSSafe = isKnownNonNaN(CmpLHS, 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()
8533 m_CombineOr(m_Specific(CmpLHS), m_SExt(m_Specific(CmpLHS))); in matchSelectPattern()
8541 if (match(CmpLHS, m_Neg(m_Specific(FalseVal)))) in matchSelectPattern()
8563 if (match(CmpLHS, m_Neg(m_Specific(TrueVal)))) in matchSelectPattern()
8579 return matchMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS, Depth); in matchSelectPattern()
8585 (!FMF.noSignedZeros() && !isKnownNonZero(CmpLHS) && in matchSelectPattern()
8589 return matchFastFloatClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS); in matchSelectPattern()
8724 Value *CmpLHS = CmpI->getOperand(0); in matchDecomposedSelectPattern() local
8735 if (CastOp && CmpLHS->getType() != TrueVal->getType()) { in matchDecomposedSelectPattern()
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()