Lines Matching refs:getCondition

67   if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C))))  in foldSelectBinOpIdentity()
277 Value *Cond = SI.getCondition(); in foldSelectOpOp()
455 Value *NewSel = Builder.CreateSelect(SI.getCondition(), OOp, C); in foldSelectIntoOp()
487 Value *NewSel = Builder.CreateSelect(SI.getCondition(), C, OOp); in foldSelectIntoOp()
690 Value *Cond = Sel.getCondition(); in foldSetClearBits()
1572 const PHINode *CondPHI = cast<PHINode>(SI.getCondition()); in canSelectOperandBeMappingIntoPredBlock()
1663 Builder.CreateSelect(SI->getCondition(), SI->getFalseValue(), in foldSPFofSPF()
1722 Value *CondVal = SI.getCondition(); in foldAddSubSelect()
1797 Value *CondVal = SI.getCondition(); in foldOverflowingAddSubSelect()
1931 Value *Cond = Sel.getCondition(); in foldSelectExtConst()
1976 Value *CondVal = SI.getCondition(); in canonicalizeSelectToShuffle()
2021 Value *Cond = Sel.getCondition(); in canonicalizeScalarSelectOfVecs()
2037 Value *Cond = Sel.getCondition(); in foldSelectCmpBitcasts()
2120 if (Select->getCondition() == SI.getCondition()) in foldSelectCmpXchg()
2126 auto *CmpXchg = isExtractFromCmpXchg(SI.getCondition(), 1); in foldSelectCmpXchg()
2362 Value *Cond = Sel.getCondition(); in foldSelectFunnelShift()
2387 Value *Cond = Sel.getCondition(); in foldSelectToCopysign()
2445 Value *Cond = Sel.getCondition(); in foldVectorSelect()
2492 Value *Cond = Sel.getCondition(); in foldSelectToPhiImpl()
2559 FreezeInst *FI = dyn_cast<FreezeInst>(Sel.getCondition()); in foldSelectWithFrozenICmp()
2587 Value *CondVal = SI.getCondition(); in foldAndOrOfSelectUsingImpliedCond()
2627 Value *CondVal = SI.getCondition(); in visitSelectInst()
3002 cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
3071 if (auto *PN = dyn_cast<PHINode>(SI.getCondition())) in visitSelectInst()
3079 if (TrueSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
3081 if (TrueSI->getCondition() == CondVal) { in visitSelectInst()
3091 Value *And = Builder.CreateLogicalAnd(CondVal, TrueSI->getCondition()); in visitSelectInst()
3099 if (FalseSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
3101 if (FalseSI->getCondition() == CondVal) { in visitSelectInst()
3108 Value *Or = Builder.CreateLogicalOr(CondVal, FalseSI->getCondition()); in visitSelectInst()
3136 if (TrueBOSI->getCondition() == CondVal) { in visitSelectInst()
3143 if (TrueBOSI->getCondition() == CondVal) { in visitSelectInst()
3156 if (FalseBOSI->getCondition() == CondVal) { in visitSelectInst()
3163 if (FalseBOSI->getCondition() == CondVal) { in visitSelectInst()