• Home
  • Raw
  • Download

Lines Matching refs:TVal

482                                          Value *TVal, Value *FVal,  in foldSelectICmpAndAnd()  argument
491 if (!match(TVal, m_OneUse(m_And(m_Value(B), m_One())))) in foldSelectICmpAndAnd()
747 static Value *canonicalizeSaturatedAdd(ICmpInst *Cmp, Value *TVal, Value *FVal, in canonicalizeSaturatedAdd() argument
759 match(TVal, m_Add(m_Value(X), m_APInt(C))) && X == Cmp0 && in canonicalizeSaturatedAdd()
770 std::swap(TVal, FVal); in canonicalizeSaturatedAdd()
773 if (!match(TVal, m_AllOnes())) in canonicalizeSaturatedAdd()
1071 Value *TVal = Sel.getTrueValue(); in canonicalizeAbsNabs() local
1073 assert(isKnownNegation(TVal, FVal) && in canonicalizeAbsNabs()
1078 bool CmpUsesNegatedOp = match(Cmp.getOperand(0), m_Neg(m_Specific(TVal))) || in canonicalizeAbsNabs()
1108 if (TVal == LHS) { in canonicalizeAbsNabs()
1115 TVal = RHS; in canonicalizeAbsNabs()
1121 if (TVal == LHS) in canonicalizeAbsNabs()
1127 assert(TVal == LHS && "Unexpected results from matchSelectPattern"); in canonicalizeAbsNabs()
2049 Value *TVal = Sel.getTrueValue(); in foldSelectCmpBitcasts() local
2059 if (TVal == A || TVal == B || FVal == A || FVal == B) in foldSelectCmpBitcasts()
2068 if (!match(TVal, m_BitCast(m_Value(TSrc))) || in foldSelectCmpBitcasts()
2368 Value *TVal = Sel.getTrueValue(); in foldSelectFunnelShift() local
2369 if ((IsFshl && TVal != SV0) || (!IsFshl && TVal != SV1)) in foldSelectFunnelShift()
2399 Value *TVal = Sel.getTrueValue(); in foldSelectToCopysign() local
2406 if (!match(TVal, m_APFloat(TC)) || !match(FVal, m_APFloat(FC)) || in foldSelectToCopysign()
2431 Value *MagArg = TC->isNegative() ? FVal : TVal; in foldSelectToCopysign()
2457 Value *TVal = Sel.getTrueValue(); in foldVectorSelect() local
2461 if (match(TVal, m_OneUse(m_Shuffle(m_Value(X), m_Value(Y), m_Mask(Mask)))) && in foldVectorSelect()
2463 cast<ShuffleVectorInst>(TVal)->isSelect()) { in foldVectorSelect()
2478 if (X == TVal) { in foldVectorSelect()
2483 if (Y == TVal) { in foldVectorSelect()