Lines Matching refs:FalseVal

5768                                                Value *TrueVal, Value *FalseVal,  in matchFastFloatClamp()  argument
5776 if (CmpRHS == FalseVal) { in matchFastFloatClamp()
5777 std::swap(TrueVal, FalseVal); in matchFastFloatClamp()
5783 RHS = FalseVal; in matchFastFloatClamp()
5795 if (match(FalseVal, in matchFastFloatClamp()
5805 if (match(FalseVal, in matchFastFloatClamp()
5822 Value *TrueVal, Value *FalseVal) { in matchClamp() argument
5826 std::swap(TrueVal, FalseVal); in matchClamp()
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()
5967 Value *TrueVal, Value *FalseVal, in matchMinMax() argument
5972 RHS = FalseVal; in matchMinMax()
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()
6028 return {CmpLHS == FalseVal ? SPF_UMAX : SPF_UMIN, SPNB_NA, false}; in matchMinMax()
6058 Value *TrueVal, Value *FalseVal, in matchSelectPattern() argument
6067 if (match(TrueVal, m_AnyZeroFP()) && !match(FalseVal, m_AnyZeroFP()) && in matchSelectPattern()
6070 else if (match(FalseVal, m_AnyZeroFP()) && !match(TrueVal, m_AnyZeroFP()) && in matchSelectPattern()
6071 !cast<Constant>(FalseVal)->containsUndefOrPoisonElement()) in matchSelectPattern()
6072 OutputZeroVal = FalseVal; in matchSelectPattern()
6142 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchSelectPattern()
6153 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { in matchSelectPattern()
6175 if (isKnownNegation(TrueVal, FalseVal)) { in matchSelectPattern()
6186 RHS = FalseVal; in matchSelectPattern()
6187 if (match(CmpLHS, m_Neg(m_Specific(FalseVal)))) in matchSelectPattern()
6204 else if (match(FalseVal, MaybeSExtCmpLHS)) { in matchSelectPattern()
6207 LHS = FalseVal; in matchSelectPattern()
6225 return matchMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS, Depth); in matchSelectPattern()
6235 return matchFastFloatClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS); in matchSelectPattern()
6358 Value *FalseVal = SI->getFalseValue(); in matchSelectPattern() local
6360 return llvm::matchDecomposedSelectPattern(CmpI, TrueVal, FalseVal, LHS, RHS, in matchSelectPattern()
6365 CmpInst *CmpI, Value *TrueVal, Value *FalseVal, Value *&LHS, Value *&RHS, in matchDecomposedSelectPattern() argument
6380 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchDecomposedSelectPattern()
6389 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) { in matchDecomposedSelectPattern()
6395 C, cast<CastInst>(FalseVal)->getOperand(0), in matchDecomposedSelectPattern()
6399 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()