Lines Matching refs:getCondition

62   if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C))))  in foldSelectBinOpIdentity()
276 Value *Cond = SI.getCondition(); in foldSelectOpOp()
471 SI.getCondition(), Swapped ? C : OOp, Swapped ? OOp : C); in foldSelectIntoOp()
694 Value *Cond = Sel.getCondition(); in foldSetClearBits()
733 auto *CondVal = SI.getCondition(); in foldSelectZeroOrMul()
1722 const PHINode *CondPHI = cast<PHINode>(SI.getCondition()); in canSelectOperandBeMappingIntoPredBlock()
1764 Value *CondVal = SI.getCondition(); in foldAddSubSelect()
1839 Value *CondVal = SI.getCondition(); in foldOverflowingAddSubSelect()
1971 Value *Cond = Sel.getCondition(); in foldSelectExtConst()
2016 Value *CondVal = SI.getCondition(); in canonicalizeSelectToShuffle()
2061 Value *Cond = Sel.getCondition(); in canonicalizeScalarSelectOfVecs()
2077 Value *Cond = Sel.getCondition(); in foldSelectCmpBitcasts()
2160 if (Select->getCondition() == SI.getCondition()) in foldSelectCmpXchg()
2166 auto *CmpXchg = isExtractFromCmpXchg(SI.getCondition(), 1); in foldSelectCmpXchg()
2243 Value *Cond = Sel.getCondition(); in foldSelectFunnelShift()
2268 Value *Cond = Sel.getCondition(); in foldSelectToCopysign()
2326 Value *Cond = Sel.getCondition(); in foldVectorSelect()
2373 Value *Cond = Sel.getCondition(); in foldSelectToPhiImpl()
2440 FreezeInst *FI = dyn_cast<FreezeInst>(Sel.getCondition()); in foldSelectWithFrozenICmp()
2468 Value *CondVal = SI.getCondition(); in foldAndOrOfSelectUsingImpliedCond()
2511 Value *CondVal = SI.getCondition(); in foldSelectWithFCmpToFabs()
2586 Value *Cond = SI.getCondition(); in foldRoundUpIntegerWithPow2Alignment()
2639 Value *CondVal = SI.getCondition(); in visitSelectInst()
2985 cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
3014 if (auto *PN = dyn_cast<PHINode>(SI.getCondition())) in visitSelectInst()
3022 if (TrueSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
3024 if (TrueSI->getCondition() == CondVal) { in visitSelectInst()
3034 Value *And = Builder.CreateLogicalAnd(CondVal, TrueSI->getCondition()); in visitSelectInst()
3042 if (FalseSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
3044 if (FalseSI->getCondition() == CondVal) { in visitSelectInst()
3051 Value *Or = Builder.CreateLogicalOr(CondVal, FalseSI->getCondition()); in visitSelectInst()
3079 if (TrueBOSI->getCondition() == CondVal) { in visitSelectInst()
3086 if (TrueBOSI->getCondition() == CondVal) { in visitSelectInst()
3099 if (FalseBOSI->getCondition() == CondVal) { in visitSelectInst()
3106 if (FalseBOSI->getCondition() == CondVal) { in visitSelectInst()