Lines Matching refs:SelectInst
883 return SelectInst::Create(X, InstCombiner::AddOne(Op1C), Op1);
887 return SelectInst::Create(X, InstCombiner::SubOne(Op1C), Op1);
2299 return SelectInst::Create(X, InstCombiner::SubOne(C), C);
2302 return SelectInst::Create(X, InstCombiner::AddOne(C), C);
2309 if (SelectInst *SI = dyn_cast<SelectInst>(Op1))
2456 return SelectInst::Create(C, Builder.CreateNeg(X), X);
2458 return SelectInst::Create(C, X, Builder.CreateNeg(X));
2493 SelectInst *NewSel =
2494 SelectInst::Create(Cond, OtherHandOfSubIsTrueVal ? Zero : NewSub,
2578 return SelectInst::Create(IsNeg, NegA, A);
2775 auto propagateSelectFMF = [&](SelectInst *S, bool CommonOperand) {
2777 if (auto *OldSel = dyn_cast<SelectInst>(Op)) {
2789 SelectInst *NewSel = SelectInst::Create(Cond, P, NegY);
2796 SelectInst *NewSel = SelectInst::Create(Cond, NegX, P);
2806 SelectInst *NewSel = SelectInst::Create(Cond, NegX, NegY);
2885 if (SelectInst *SI = dyn_cast<SelectInst>(Op1))