Lines Matching refs:Sel
560 if (SelectInst *Sel = dyn_cast<SelectInst>(V)) in findSelectThroughCast() local
561 return Sel; in findSelectThroughCast()
564 if (SelectInst *Sel = dyn_cast<SelectInst>(Cast->getOperand(0))) in findSelectThroughCast() local
565 return Sel; in findSelectThroughCast()
580 SelectInst *Sel = findSelectThroughCast(BO.getOperand(0), CastOp); in foldBinOpIntoSelect() local
581 if (!Sel || !Sel->hasOneUse()) { in foldBinOpIntoSelect()
583 Sel = findSelectThroughCast(BO.getOperand(1), CastOp); in foldBinOpIntoSelect()
586 if (!Sel || !Sel->hasOneUse()) in foldBinOpIntoSelect()
589 Constant *CT = dyn_cast<Constant>(Sel->getTrueValue()); in foldBinOpIntoSelect()
590 Constant *CF = dyn_cast<Constant>(Sel->getFalseValue()); in foldBinOpIntoSelect()
621 Value *NewSelect = Builder.CreateSelect(Sel->getCondition(), in foldBinOpIntoSelect()
628 Sel->eraseFromParent(); in foldBinOpIntoSelect()