Lines Matching refs:FalseVal

5571                                                Value *TrueVal, Value *FalseVal,  in matchFastFloatClamp()  argument
5579 if (CmpRHS == FalseVal) { in matchFastFloatClamp()
5580 std::swap(TrueVal, FalseVal); in matchFastFloatClamp()
5586 RHS = FalseVal; in matchFastFloatClamp()
5598 if (match(FalseVal, in matchFastFloatClamp()
5608 if (match(FalseVal, in matchFastFloatClamp()
5625 Value *TrueVal, Value *FalseVal) { in matchClamp() argument
5629 std::swap(TrueVal, FalseVal); in matchClamp()
5635 if (match(FalseVal, m_SMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5640 if (match(FalseVal, m_SMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5645 if (match(FalseVal, m_UMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5650 if (match(FalseVal, m_UMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5770 Value *TrueVal, Value *FalseVal, in matchMinMax() argument
5775 RHS = FalseVal; in matchMinMax()
5777 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax()
5781 SPR = matchMinMaxOfMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, Depth); in matchMinMax()
5788 if (CmpLHS == getNotValue(TrueVal) && CmpRHS == getNotValue(FalseVal)) { in matchMinMax()
5800 if (CmpLHS == getNotValue(FalseVal) && CmpRHS == getNotValue(TrueVal)) { in matchMinMax()
5817 match(FalseVal, m_NSWSub(m_Specific(CmpLHS), m_Specific(CmpRHS)))) in matchMinMax()
5823 if (match(FalseVal, m_Zero()) && in matchMinMax()
5833 if ((CmpLHS == TrueVal && match(FalseVal, m_APInt(C2))) || in matchMinMax()
5834 (CmpLHS == FalseVal && match(TrueVal, m_APInt(C2)))) { in matchMinMax()
5847 return {CmpLHS == FalseVal ? SPF_UMAX : SPF_UMIN, SPNB_NA, false}; in matchMinMax()
5877 Value *TrueVal, Value *FalseVal, in matchSelectPattern() argument
5886 if (match(TrueVal, m_AnyZeroFP()) && !match(FalseVal, m_AnyZeroFP()) && in matchSelectPattern()
5889 else if (match(FalseVal, m_AnyZeroFP()) && !match(TrueVal, m_AnyZeroFP()) && in matchSelectPattern()
5890 !cast<Constant>(FalseVal)->containsUndefOrPoisonElement()) in matchSelectPattern()
5891 OutputZeroVal = FalseVal; in matchSelectPattern()
5961 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchSelectPattern()
5972 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { in matchSelectPattern()
5994 if (isKnownNegation(TrueVal, FalseVal)) { in matchSelectPattern()
6005 RHS = FalseVal; in matchSelectPattern()
6006 if (match(CmpLHS, m_Neg(m_Specific(FalseVal)))) in matchSelectPattern()
6023 else if (match(FalseVal, MaybeSExtCmpLHS)) { in matchSelectPattern()
6026 LHS = FalseVal; in matchSelectPattern()
6044 return matchMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS, Depth); in matchSelectPattern()
6054 return matchFastFloatClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS); in matchSelectPattern()
6177 Value *FalseVal = SI->getFalseValue(); in matchSelectPattern() local
6179 return llvm::matchDecomposedSelectPattern(CmpI, TrueVal, FalseVal, LHS, RHS, in matchSelectPattern()
6184 CmpInst *CmpI, Value *TrueVal, Value *FalseVal, Value *&LHS, Value *&RHS, in matchDecomposedSelectPattern() argument
6199 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchDecomposedSelectPattern()
6208 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) { in matchDecomposedSelectPattern()
6214 C, cast<CastInst>(FalseVal)->getOperand(0), in matchDecomposedSelectPattern()
6218 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()