• Home
  • Raw
  • Download

Lines Matching refs:CmpRHS

5267                                                Value *CmpLHS, Value *CmpRHS,  in matchFastFloatClamp()  argument
5276 if (CmpRHS == FalseVal) { in matchFastFloatClamp()
5286 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp()
5321 Value *CmpLHS, Value *CmpRHS, in matchClamp() argument
5324 if (CmpRHS != TrueVal) { in matchClamp()
5329 if (CmpRHS == TrueVal && match(CmpRHS, m_APInt(C1))) { in matchClamp()
5357 Value *CmpLHS, Value *CmpRHS, in matchMinMaxOfMinMax() argument
5380 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
5388 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
5396 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
5404 std::swap(CmpLHS, CmpRHS); in matchMinMaxOfMinMax()
5420 if ((CmpLHS == A && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
5421 match(A, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
5427 if ((CmpLHS == A && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
5428 match(A, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
5434 if ((CmpLHS == B && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
5435 match(B, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
5441 if ((CmpLHS == B && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
5442 match(B, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
5466 Value *CmpLHS, Value *CmpRHS, in matchMinMax() argument
5474 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax()
5478 SPR = matchMinMaxOfMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, Depth); in matchMinMax()
5485 if (CmpLHS == getNotValue(TrueVal) && CmpRHS == getNotValue(FalseVal)) { in matchMinMax()
5497 if (CmpLHS == getNotValue(FalseVal) && CmpRHS == getNotValue(TrueVal)) { in matchMinMax()
5514 match(FalseVal, m_NSWSub(m_Specific(CmpLHS), m_Specific(CmpRHS)))) in matchMinMax()
5521 match(TrueVal, m_NSWSub(m_Specific(CmpLHS), m_Specific(CmpRHS)))) in matchMinMax()
5525 if (!match(CmpRHS, m_APInt(C1))) in matchMinMax()
5573 Value *CmpLHS, Value *CmpRHS, in matchSelectPattern() argument
5593 if (match(CmpRHS, m_AnyZeroFP())) in matchSelectPattern()
5594 CmpRHS = OutputZeroVal; in matchSelectPattern()
5599 RHS = CmpRHS; in matchSelectPattern()
5612 !isKnownNonZero(CmpRHS)) in matchSelectPattern()
5626 bool RHSSafe = isKnownNonNaN(CmpRHS, FMF); in matchSelectPattern()
5658 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchSelectPattern()
5659 std::swap(CmpLHS, CmpRHS); in matchSelectPattern()
5669 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { in matchSelectPattern()
5708 if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, ZeroOrAllOnes)) in matchSelectPattern()
5712 if (Pred == ICmpInst::ICMP_SGE && match(CmpRHS, ZeroOrOne)) in matchSelectPattern()
5717 if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, ZeroOrOne)) in matchSelectPattern()
5730 if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, ZeroOrAllOnes)) in matchSelectPattern()
5735 if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, ZeroOrOne)) in matchSelectPattern()
5741 return matchMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS, Depth); in matchSelectPattern()
5748 !isKnownNonZero(CmpRHS))) in matchSelectPattern()
5751 return matchFastFloatClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS); in matchSelectPattern()
5885 Value *CmpRHS = CmpI->getOperand(1); in matchDecomposedSelectPattern() local
5901 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchDecomposedSelectPattern()
5910 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, in matchDecomposedSelectPattern()
5915 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()