Lines Matching refs:CmpLHS

5767                                                Value *CmpLHS, Value *CmpRHS,  in matchFastFloatClamp()  argument
5796 m_CombineOr(m_OrdFMin(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
5797 m_UnordFMin(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
5806 m_CombineOr(m_OrdFMax(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
5807 m_UnordFMax(m_Specific(CmpLHS), m_APFloat(FC2)))) && in matchFastFloatClamp()
5821 Value *CmpLHS, Value *CmpRHS, in matchClamp() argument
5832 if (match(FalseVal, m_SMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5837 if (match(FalseVal, m_SMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5842 if (match(FalseVal, m_UMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5847 if (match(FalseVal, m_UMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5857 Value *CmpLHS, Value *CmpRHS, in matchMinMaxOfMinMax() argument
5880 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
5888 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
5896 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
5904 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
5920 if ((CmpLHS == A && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
5927 if ((CmpLHS == A && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
5934 if ((CmpLHS == B && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
5941 if ((CmpLHS == B && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
5966 Value *CmpLHS, Value *CmpRHS, in matchMinMax() argument
5974 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax()
5978 SPR = matchMinMaxOfMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, Depth); in matchMinMax()
5985 if (CmpLHS == getNotValue(TrueVal) && CmpRHS == getNotValue(FalseVal)) { in matchMinMax()
5997 if (CmpLHS == getNotValue(FalseVal) && CmpRHS == getNotValue(TrueVal)) { in matchMinMax()
6016 if ((CmpLHS == TrueVal && match(FalseVal, m_APInt(C2))) || in matchMinMax()
6017 (CmpLHS == FalseVal && match(TrueVal, m_APInt(C2)))) { in matchMinMax()
6022 return {CmpLHS == TrueVal ? SPF_UMAX : SPF_UMIN, SPNB_NA, false}; in matchMinMax()
6028 return {CmpLHS == FalseVal ? SPF_UMAX : SPF_UMIN, SPNB_NA, false}; in matchMinMax()
6057 Value *CmpLHS, Value *CmpRHS, in matchSelectPattern() argument
6075 if (match(CmpLHS, m_AnyZeroFP())) in matchSelectPattern()
6076 CmpLHS = OutputZeroVal; in matchSelectPattern()
6082 LHS = CmpLHS; in matchSelectPattern()
6095 if (!FMF.noSignedZeros() && !isKnownNonZero(CmpLHS) && in matchSelectPattern()
6109 bool LHSSafe = isKnownNonNaN(CmpLHS, FMF); in matchSelectPattern()
6142 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchSelectPattern()
6143 std::swap(CmpLHS, CmpRHS); in matchSelectPattern()
6153 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { in matchSelectPattern()
6179 m_CombineOr(m_Specific(CmpLHS), m_SExt(m_Specific(CmpLHS))); in matchSelectPattern()
6187 if (match(CmpLHS, m_Neg(m_Specific(FalseVal)))) in matchSelectPattern()
6209 if (match(CmpLHS, m_Neg(m_Specific(TrueVal)))) in matchSelectPattern()
6225 return matchMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS, Depth); in matchSelectPattern()
6231 (!FMF.noSignedZeros() && !isKnownNonZero(CmpLHS) && in matchSelectPattern()
6235 return matchFastFloatClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS); in matchSelectPattern()
6368 Value *CmpLHS = CmpI->getOperand(0); in matchDecomposedSelectPattern() local
6379 if (CastOp && CmpLHS->getType() != TrueVal->getType()) { in matchDecomposedSelectPattern()
6385 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchDecomposedSelectPattern()
6394 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchDecomposedSelectPattern()
6399 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()