Lines Matching refs:FalseVal

7358                                                Value *TrueVal, Value *FalseVal,  in matchFastFloatClamp()  argument
7366 if (CmpRHS == FalseVal) { in matchFastFloatClamp()
7367 std::swap(TrueVal, FalseVal); in matchFastFloatClamp()
7373 RHS = FalseVal; in matchFastFloatClamp()
7385 if (match(FalseVal, in matchFastFloatClamp()
7395 if (match(FalseVal, in matchFastFloatClamp()
7412 Value *TrueVal, Value *FalseVal) { in matchClamp() argument
7416 std::swap(TrueVal, FalseVal); in matchClamp()
7422 if (match(FalseVal, m_SMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
7427 if (match(FalseVal, m_SMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
7432 if (match(FalseVal, m_UMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
7437 if (match(FalseVal, m_UMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
7557 Value *TrueVal, Value *FalseVal, in matchMinMax() argument
7562 RHS = FalseVal; in matchMinMax()
7564 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax()
7568 SPR = matchMinMaxOfMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, Depth); in matchMinMax()
7575 if (CmpLHS == getNotValue(TrueVal) && CmpRHS == getNotValue(FalseVal)) { in matchMinMax()
7587 if (CmpLHS == getNotValue(FalseVal) && CmpRHS == getNotValue(TrueVal)) { in matchMinMax()
7606 if ((CmpLHS == TrueVal && match(FalseVal, m_APInt(C2))) || in matchMinMax()
7607 (CmpLHS == FalseVal && match(TrueVal, m_APInt(C2)))) { in matchMinMax()
7618 return {CmpLHS == FalseVal ? SPF_UMAX : SPF_UMIN, SPNB_NA, false}; in matchMinMax()
7648 Value *TrueVal, Value *FalseVal, in matchSelectPattern() argument
7658 if (match(TrueVal, m_AnyZeroFP()) && !match(FalseVal, m_AnyZeroFP()) && in matchSelectPattern()
7661 else if (match(FalseVal, m_AnyZeroFP()) && !match(TrueVal, m_AnyZeroFP()) && in matchSelectPattern()
7662 !cast<Constant>(FalseVal)->containsUndefOrPoisonElement()) in matchSelectPattern()
7663 OutputZeroVal = FalseVal; in matchSelectPattern()
7741 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchSelectPattern()
7752 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { in matchSelectPattern()
7774 if (isKnownNegation(TrueVal, FalseVal)) { in matchSelectPattern()
7785 RHS = FalseVal; in matchSelectPattern()
7786 if (match(CmpLHS, m_Neg(m_Specific(FalseVal)))) in matchSelectPattern()
7803 else if (match(FalseVal, MaybeSExtCmpLHS)) { in matchSelectPattern()
7806 LHS = FalseVal; in matchSelectPattern()
7824 return matchMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS, Depth); in matchSelectPattern()
7834 return matchFastFloatClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS); in matchSelectPattern()
7959 Value *FalseVal = SI->getFalseValue(); in matchSelectPattern() local
7961 return llvm::matchDecomposedSelectPattern(CmpI, TrueVal, FalseVal, LHS, RHS, in matchSelectPattern()
7966 CmpInst *CmpI, Value *TrueVal, Value *FalseVal, Value *&LHS, Value *&RHS, in matchDecomposedSelectPattern() argument
7981 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchDecomposedSelectPattern()
7990 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) { in matchDecomposedSelectPattern()
7996 C, cast<CastInst>(FalseVal)->getOperand(0), in matchDecomposedSelectPattern()
8000 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()