Lines Matching refs:getCondition

65   if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C))))  in foldSelectBinOpIdentity()
303 Type *CondTy = SI.getCondition()->getType(); in foldSelectOpOp()
330 Builder.CreateSelect(SI.getCondition(), TI->getOperand(0), in foldSelectOpOp()
377 if (SI.getCondition()->getType()->isVectorTy() && in foldSelectOpOp()
383 Value *NewSI = Builder.CreateSelect(SI.getCondition(), OtherOpT, OtherOpF, in foldSelectOpOp()
436 Value *NewSel = Builder.CreateSelect(SI.getCondition(), OOp, C); in foldSelectIntoOp()
467 Value *NewSel = Builder.CreateSelect(SI.getCondition(), C, OOp); in foldSelectIntoOp()
1073 const PHINode *CondPHI = cast<PHINode>(SI.getCondition()); in canSelectOperandBeMappingIntoPredBlock()
1154 Builder.CreateSelect(SI->getCondition(), SI->getFalseValue(), in foldSPFofSPF()
1213 Value *CondVal = SI.getCondition(); in foldAddSubSelect()
1300 Value *Cond = Sel.getCondition(); in foldSelectExtConst()
1345 Value *CondVal = SI.getCondition(); in canonicalizeSelectToShuffle()
1385 Value *Cond = Sel.getCondition(); in foldSelectCmpBitcasts()
1468 if (Select->getCondition() == SI.getCondition()) in foldSelectCmpXchg()
1474 auto *CmpXchg = isExtractFromCmpXchg(SI.getCondition(), 1); in foldSelectCmpXchg()
1595 Value *Cond = Sel.getCondition(); in foldSelectRotate()
1611 Value *CondVal = SI.getCondition(); in visitSelectInst()
1853 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
1904 if (auto *PN = dyn_cast<PHINode>(SI.getCondition())) in visitSelectInst()
1912 if (TrueSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
1914 if (TrueSI->getCondition() == CondVal) { in visitSelectInst()
1924 Value *And = Builder.CreateAnd(CondVal, TrueSI->getCondition()); in visitSelectInst()
1932 if (FalseSI->getCondition()->getType() == CondVal->getType()) { in visitSelectInst()
1934 if (FalseSI->getCondition() == CondVal) { in visitSelectInst()
1942 Value *Or = Builder.CreateOr(CondVal, FalseSI->getCondition()); in visitSelectInst()
1970 if (TrueBOSI->getCondition() == CondVal) { in visitSelectInst()
1977 if (TrueBOSI->getCondition() == CondVal) { in visitSelectInst()
1990 if (FalseBOSI->getCondition() == CondVal) { in visitSelectInst()
1997 if (FalseBOSI->getCondition() == CondVal) { in visitSelectInst()