Lines Matching refs:FalseVal

8081                                                Value *TrueVal, Value *FalseVal,  in matchFastFloatClamp()  argument
8089 if (CmpRHS == FalseVal) { in matchFastFloatClamp()
8090 std::swap(TrueVal, FalseVal); in matchFastFloatClamp()
8096 RHS = FalseVal; in matchFastFloatClamp()
8108 if (match(FalseVal, in matchFastFloatClamp()
8118 if (match(FalseVal, in matchFastFloatClamp()
8135 Value *TrueVal, Value *FalseVal) { in matchClamp() argument
8139 std::swap(TrueVal, FalseVal); in matchClamp()
8145 if (match(FalseVal, m_SMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
8150 if (match(FalseVal, m_SMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
8155 if (match(FalseVal, m_UMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
8160 if (match(FalseVal, m_UMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
8280 Value *TrueVal, Value *FalseVal, in matchMinMax() argument
8285 RHS = FalseVal; in matchMinMax()
8287 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax()
8291 SPR = matchMinMaxOfMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, Depth); in matchMinMax()
8298 if (CmpLHS == getNotValue(TrueVal) && CmpRHS == getNotValue(FalseVal)) { in matchMinMax()
8310 if (CmpLHS == getNotValue(FalseVal) && CmpRHS == getNotValue(TrueVal)) { in matchMinMax()
8329 if ((CmpLHS == TrueVal && match(FalseVal, m_APInt(C2))) || in matchMinMax()
8330 (CmpLHS == FalseVal && match(TrueVal, m_APInt(C2)))) { in matchMinMax()
8341 return {CmpLHS == FalseVal ? SPF_UMAX : SPF_UMIN, SPNB_NA, false}; in matchMinMax()
8403 Value *TrueVal, Value *FalseVal, in matchSelectPattern() argument
8413 if (match(TrueVal, m_AnyZeroFP()) && !match(FalseVal, m_AnyZeroFP()) && in matchSelectPattern()
8416 else if (match(FalseVal, m_AnyZeroFP()) && !match(TrueVal, m_AnyZeroFP()) && in matchSelectPattern()
8417 !cast<Constant>(FalseVal)->containsUndefOrPoisonElement()) in matchSelectPattern()
8418 OutputZeroVal = FalseVal; in matchSelectPattern()
8496 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchSelectPattern()
8507 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { in matchSelectPattern()
8529 if (isKnownNegation(TrueVal, FalseVal)) { in matchSelectPattern()
8540 RHS = FalseVal; in matchSelectPattern()
8541 if (match(CmpLHS, m_Neg(m_Specific(FalseVal)))) in matchSelectPattern()
8558 else if (match(FalseVal, MaybeSExtCmpLHS)) { in matchSelectPattern()
8561 LHS = FalseVal; in matchSelectPattern()
8579 return matchMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS, Depth); in matchSelectPattern()
8589 return matchFastFloatClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS); in matchSelectPattern()
8714 Value *FalseVal = SI->getFalseValue(); in matchSelectPattern() local
8716 return llvm::matchDecomposedSelectPattern(CmpI, TrueVal, FalseVal, LHS, RHS, in matchSelectPattern()
8721 CmpInst *CmpI, Value *TrueVal, Value *FalseVal, Value *&LHS, Value *&RHS, in matchDecomposedSelectPattern() argument
8736 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchDecomposedSelectPattern()
8745 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) { in matchDecomposedSelectPattern()
8751 C, cast<CastInst>(FalseVal)->getOperand(0), in matchDecomposedSelectPattern()
8755 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()