Lines Matching refs:TrueVal

5571                                                Value *TrueVal, Value *FalseVal,  in matchFastFloatClamp()  argument
5580 std::swap(TrueVal, FalseVal); in matchFastFloatClamp()
5585 LHS = TrueVal; in matchFastFloatClamp()
5589 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite()) in matchFastFloatClamp()
5625 Value *TrueVal, Value *FalseVal) { in matchClamp() argument
5627 if (CmpRHS != TrueVal) { in matchClamp()
5629 std::swap(TrueVal, FalseVal); in matchClamp()
5632 if (CmpRHS == TrueVal && match(CmpRHS, m_APInt(C1))) { in matchClamp()
5770 Value *TrueVal, Value *FalseVal, in matchMinMax() argument
5774 LHS = TrueVal; in matchMinMax()
5777 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax()
5781 SPR = matchMinMaxOfMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, Depth); in matchMinMax()
5788 if (CmpLHS == getNotValue(TrueVal) && CmpRHS == getNotValue(FalseVal)) { in matchMinMax()
5800 if (CmpLHS == getNotValue(FalseVal) && CmpRHS == getNotValue(TrueVal)) { in matchMinMax()
5816 if (match(TrueVal, m_Zero()) && in matchMinMax()
5824 match(TrueVal, m_NSWSub(m_Specific(CmpLHS), m_Specific(CmpRHS)))) in matchMinMax()
5833 if ((CmpLHS == TrueVal && match(FalseVal, m_APInt(C2))) || in matchMinMax()
5834 (CmpLHS == FalseVal && match(TrueVal, m_APInt(C2)))) { in matchMinMax()
5840 return {CmpLHS == TrueVal ? SPF_UMAX : SPF_UMIN, SPNB_NA, false}; in matchMinMax()
5877 Value *TrueVal, Value *FalseVal, in matchSelectPattern() argument
5886 if (match(TrueVal, m_AnyZeroFP()) && !match(FalseVal, m_AnyZeroFP()) && in matchSelectPattern()
5887 !cast<Constant>(TrueVal)->containsUndefOrPoisonElement()) in matchSelectPattern()
5888 OutputZeroVal = TrueVal; in matchSelectPattern()
5889 else if (match(FalseVal, m_AnyZeroFP()) && !match(TrueVal, m_AnyZeroFP()) && in matchSelectPattern()
5961 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchSelectPattern()
5972 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { in matchSelectPattern()
5994 if (isKnownNegation(TrueVal, FalseVal)) { in matchSelectPattern()
6001 if (match(TrueVal, MaybeSExtCmpLHS)) { in matchSelectPattern()
6004 LHS = TrueVal; in matchSelectPattern()
6027 RHS = TrueVal; in matchSelectPattern()
6028 if (match(CmpLHS, m_Neg(m_Specific(TrueVal)))) in matchSelectPattern()
6044 return matchMinMax(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS, Depth); in matchSelectPattern()
6054 return matchFastFloatClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal, LHS, RHS); in matchSelectPattern()
6176 Value *TrueVal = SI->getTrueValue(); in matchSelectPattern() local
6179 return llvm::matchDecomposedSelectPattern(CmpI, TrueVal, FalseVal, LHS, RHS, in matchSelectPattern()
6184 CmpInst *CmpI, Value *TrueVal, Value *FalseVal, Value *&LHS, Value *&RHS, in matchDecomposedSelectPattern() argument
6198 if (CastOp && CmpLHS->getType() != TrueVal->getType()) { in matchDecomposedSelectPattern()
6199 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchDecomposedSelectPattern()
6205 cast<CastInst>(TrueVal)->getOperand(0), C, in matchDecomposedSelectPattern()
6208 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) { in matchDecomposedSelectPattern()
6218 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, TrueVal, FalseVal, in matchDecomposedSelectPattern()