Lines Matching refs:getTrueValue
125 if (!match(Sel.getTrueValue(), m_APInt(SelTC)) || in foldSelectICmpAnd()
821 Value *T = Sel.getTrueValue(); in foldSetClearBits()
860 auto *TrueVal = SI.getTrueValue(); in foldSelectZeroOrMul()
1292 Value *TrueVal = Sel.getTrueValue(), *FalseVal = Sel.getFalseValue(); in foldSelectValueEquivalence()
1396 Value *X = Sel0.getTrueValue(); in canonicalizeClampLike()
1677 Value *TVal = SI.getTrueValue(); in foldSelectInstWithICmpConst()
1723 Value *TrueVal = SI.getTrueValue(); in foldSelectICmpEq()
1827 canonicalizeSPF(*ICI, SI.getTrueValue(), SI.getFalseValue(), *this)) in foldSelectInstWithICmp()
1845 Value *TrueVal = SI.getTrueValue(); in foldSelectInstWithICmp()
2026 Value *TrueVal = SI.getTrueValue(); in foldAddSubSelect()
2101 Value *TrueVal = SI.getTrueValue(); in foldOverflowingAddSubSelect()
2215 if (!match(Sel.getTrueValue(), m_Constant(C)) && in foldSelectExtConst()
2220 if (!match(Sel.getTrueValue(), m_Instruction(ExtInst)) && in foldSelectExtConst()
2290 return new ShuffleVectorInst(SI.getTrueValue(), SI.getFalseValue(), Mask); in canonicalizeSelectToShuffle()
2321 Value *TVal = Sel.getTrueValue(); in foldSelectCmpBitcasts()
2404 if (Select->getFalseValue() == SI.getTrueValue() || in foldSelectCmpXchg()
2405 Select->getTrueValue() == SI.getFalseValue()) in foldSelectCmpXchg()
2416 if (auto *X = isExtractFromCmpXchg(SI.getTrueValue(), 0)) in foldSelectCmpXchg()
2424 if (X == CmpXchg && X->getCompareOperand() == SI.getTrueValue()) in foldSelectCmpXchg()
2481 Value *TVal = Sel.getTrueValue(); in foldSelectFunnelShift()
2512 Value *TVal = Sel.getTrueValue(); in foldSelectToCopysign()
2557 Value *TVal = Sel.getTrueValue(); in foldVectorSelect()
2653 IfTrue = Sel.getTrueValue(); in foldSelectToPhiImpl()
2659 IfFalse = Sel.getTrueValue(); in foldSelectToPhiImpl()
2722 Value *TrueVal = SI.getTrueValue(); in foldSelectWithSRem()
2774 Value *TrueVal = Sel.getTrueValue(), *FalseVal = Sel.getFalseValue(); in foldSelectWithFrozenICmp()
2800 Value *InnerTrueVal = SI.getTrueValue(); in simplifyNestedSelectsUsingImpliedCond()
2831 Value *TrueVal = SI.getTrueValue(); in foldSelectWithFCmpToFabs()
2907 Value *TrueVal = SI.getTrueValue(); in foldSelectWithFCmpToFabs()
2954 Value *X = SI.getTrueValue(); in foldRoundUpIntegerWithPow2Alignment()
3124 Value *TrueVal = SI.getTrueValue(); in foldSelectOfBools()
3367 match(SelFVal->getTrueValue(), in foldSelectOfBools()
3368 m_Not(m_Specific(SelCond->getTrueValue()))); in foldSelectOfBools()
3383 match(SelCond->getTrueValue(), in foldSelectOfBools()
3384 m_Not(m_Specific(SelFVal->getTrueValue()))); in foldSelectOfBools()
3495 Value *TrueVal = SI.getTrueValue(); in foldBitCeil()
3586 Value *TrueVal = SI.getTrueValue(); in visitSelectInst()
3866 replaceOperand(SI, 1, TrueSI->getTrueValue()); in visitSelectInst()
3880 if (FalseSI->getTrueValue() == TrueVal && FalseSI->hasOneUse()) { in visitSelectInst()
3899 replaceOperand(*TrueBO, 0, TrueBOSI->getTrueValue()); in visitSelectInst()
3906 replaceOperand(*TrueBO, 1, TrueBOSI->getTrueValue()); in visitSelectInst()