Lines Matching refs:getCondition

62   if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C))))  in foldSelectBinOpIdentity()
277 Value *Cond = SI.getCondition(); in foldSelectOpOp()
540 Value *NewSel = Builder.CreateSelect(SI.getCondition(), Swapped ? C : OOp, in foldSelectIntoOp()
804 Value *Cond = Sel.getCondition(); in foldSetClearBits()
843 auto *CondVal = SI.getCondition(); in foldSelectZeroOrMul()
1839 const PHINode *CondPHI = cast<PHINode>(SI.getCondition()); in canSelectOperandBeMappingIntoPredBlock()
1881 Value *CondVal = SI.getCondition(); in foldAddSubSelect()
1956 Value *CondVal = SI.getCondition(); in foldOverflowingAddSubSelect()
2088 Value *Cond = Sel.getCondition(); in foldSelectExtConst()
2115 Value *CondVal = SI.getCondition(); in canonicalizeSelectToShuffle()
2160 Value *Cond = Sel.getCondition(); in canonicalizeScalarSelectOfVecs()
2176 Value *Cond = Sel.getCondition(); in foldSelectCmpBitcasts()
2259 if (Select->getCondition() == SI.getCondition()) in foldSelectCmpXchg()
2265 auto *CmpXchg = isExtractFromCmpXchg(SI.getCondition(), 1); in foldSelectCmpXchg()
2342 Value *Cond = Sel.getCondition(); in foldSelectFunnelShift()
2367 Value *Cond = Sel.getCondition(); in foldSelectToCopysign()
2415 Value *Cond = Sel.getCondition(); in foldVectorSelect()
2506 Value *Cond = Sel.getCondition(); in foldSelectToPhiImpl()
2580 Value *CondVal = SI.getCondition(); in foldSelectWithSRem()
2628 FreezeInst *FI = dyn_cast<FreezeInst>(Sel.getCondition()); in foldSelectWithFrozenICmp()
2656 Value *CondVal = SI.getCondition(); in foldAndOrOfSelectUsingImpliedCond()
2699 Value *CondVal = SI.getCondition(); in foldSelectWithFCmpToFabs()
2795 Value *Cond = SI.getCondition(); in foldRoundUpIntegerWithPow2Alignment()
2887 if (none_of(ArrayRef<Value *>({OuterSelVal.getCondition(), InnerSelVal}), in foldNestedSelects()
2938 Value *CondVal = SI.getCondition(); in foldSelectOfBools()
3305 if (!match(SI.getCondition(), m_ICmp(Pred, m_Value(Cond0), m_APInt(Cond1)))) in foldBitCeil()
3364 Value *CondVal = SI.getCondition(); in visitSelectInst()
3608 cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
3624 if (auto *PN = dyn_cast<PHINode>(SI.getCondition())) in visitSelectInst()
3632 if (TrueSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
3634 if (TrueSI->getCondition() == CondVal) { in visitSelectInst()
3644 Value *And = Builder.CreateLogicalAnd(CondVal, TrueSI->getCondition()); in visitSelectInst()
3652 if (FalseSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
3654 if (FalseSI->getCondition() == CondVal) { in visitSelectInst()
3661 Value *Or = Builder.CreateLogicalOr(CondVal, FalseSI->getCondition()); in visitSelectInst()
3678 if (TrueBOSI->getCondition() == CondVal) { in visitSelectInst()
3685 if (TrueBOSI->getCondition() == CondVal) { in visitSelectInst()
3697 if (FalseBOSI->getCondition() == CondVal) { in visitSelectInst()
3704 if (FalseBOSI->getCondition() == CondVal) { in visitSelectInst()