Lines Matching refs:TrueVal

8081                                                Value *TrueVal, Value *FalseVal,  in matchFastFloatClamp()  argument
8090 std::swap(TrueVal, FalseVal); in matchFastFloatClamp()
8095 LHS = TrueVal; in matchFastFloatClamp()
8099 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp()
8135 Value *TrueVal, Value *FalseVal) { in matchClamp() argument
8137 if (CmpRHS != TrueVal) { in matchClamp()
8139 std::swap(TrueVal, FalseVal); in matchClamp()
8142 if (CmpRHS == TrueVal && match(CmpRHS, m_APInt(C1))) { in matchClamp()
8280 Value *TrueVal, Value *FalseVal, in matchMinMax() argument
8284 LHS = TrueVal; 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()
8335 return {CmpLHS == TrueVal ? 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()
8414 !cast<Constant>(TrueVal)->containsUndefOrPoisonElement()) in matchSelectPattern()
8415 OutputZeroVal = TrueVal; in matchSelectPattern()
8416 else if (match(FalseVal, m_AnyZeroFP()) && !match(TrueVal, m_AnyZeroFP()) && 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()
8536 if (match(TrueVal, MaybeSExtCmpLHS)) { in matchSelectPattern()
8539 LHS = TrueVal; in matchSelectPattern()
8562 RHS = TrueVal; in matchSelectPattern()
8563 if (match(CmpLHS, m_Neg(m_Specific(TrueVal)))) 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()
8713 Value *TrueVal = SI->getTrueValue(); 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
8735 if (CastOp && CmpLHS->getType() != TrueVal->getType()) { in matchDecomposedSelectPattern()
8736 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchDecomposedSelectPattern()
8742 cast<CastInst>(TrueVal)->getOperand(0), C, in matchDecomposedSelectPattern()
8745 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) { in matchDecomposedSelectPattern()
8755 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()