Lines Matching refs:TrueVal

7358                                                Value *TrueVal, Value *FalseVal,  in matchFastFloatClamp()  argument
7367 std::swap(TrueVal, FalseVal); in matchFastFloatClamp()
7372 LHS = TrueVal; in matchFastFloatClamp()
7376 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp()
7412 Value *TrueVal, Value *FalseVal) { in matchClamp() argument
7414 if (CmpRHS != TrueVal) { in matchClamp()
7416 std::swap(TrueVal, FalseVal); in matchClamp()
7419 if (CmpRHS == TrueVal && match(CmpRHS, m_APInt(C1))) { in matchClamp()
7557 Value *TrueVal, Value *FalseVal, in matchMinMax() argument
7561 LHS = TrueVal; 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()
7612 return {CmpLHS == TrueVal ? 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()
7659 !cast<Constant>(TrueVal)->containsUndefOrPoisonElement()) in matchSelectPattern()
7660 OutputZeroVal = TrueVal; in matchSelectPattern()
7661 else if (match(FalseVal, m_AnyZeroFP()) && !match(TrueVal, m_AnyZeroFP()) && 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()
7781 if (match(TrueVal, MaybeSExtCmpLHS)) { in matchSelectPattern()
7784 LHS = TrueVal; in matchSelectPattern()
7807 RHS = TrueVal; in matchSelectPattern()
7808 if (match(CmpLHS, m_Neg(m_Specific(TrueVal)))) 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()
7958 Value *TrueVal = SI->getTrueValue(); 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
7980 if (CastOp && CmpLHS->getType() != TrueVal->getType()) { in matchDecomposedSelectPattern()
7981 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchDecomposedSelectPattern()
7987 cast<CastInst>(TrueVal)->getOperand(0), C, in matchDecomposedSelectPattern()
7990 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) { in matchDecomposedSelectPattern()
8000 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()