Lines Matching refs:CreateSelect
54 return Builder.CreateSelect(Builder.CreateICmp(Pred, A, B), A, B); in createMinMax()
312 Builder.CreateSelect(Cond, TI->getOperand(0), FI->getOperand(0), in foldSelectOpOp()
322 Value *NewSel = Builder.CreateSelect(Cond, X, Y, SI.getName() + ".v", &SI); in foldSelectOpOp()
372 Value *NewSI = Builder.CreateSelect(Cond, OtherOpT, OtherOpF, in foldSelectOpOp()
426 Value *NewSel = Builder.CreateSelect(SI.getCondition(), OOp, C); in foldSelectIntoOp()
458 Value *NewSel = Builder.CreateSelect(SI.getCondition(), C, OOp); in foldSelectIntoOp()
673 Value *NewSel = Builder.CreateSelect(Cond, Zero, OrC, "masksel", &Sel); in foldSetClearBits()
682 Value *NewSel = Builder.CreateSelect(Cond, OrC, Zero, "masksel", &Sel); in foldSetClearBits()
1365 Builder.CreateSelect(ShouldReplaceLow, ReplacementLow, X); in canonicalizeClampLike()
1674 Builder.CreateSelect(SI->getCondition(), SI->getFalseValue(), in foldSPFofSPF()
1783 Value *NewSel = Builder.CreateSelect(CondVal, NewTrueOp, NewFalseOp, in foldAddSubSelect()
1960 Value *NewSel = Builder.CreateSelect(Cond, X, TruncCVal, "narrow", &Sel); in foldSelectExtConst()
2079 NewSel = Builder.CreateSelect(Cond, A, B, "", &Sel); in foldSelectCmpBitcasts()
2083 NewSel = Builder.CreateSelect(Cond, B, A, "", &Sel); in foldSelectCmpBitcasts()
2466 Value *NewSel = Builder.CreateSelect(Cond, Y, X, "sel", &Sel); in foldVectorSelect()
2471 Value *NewSel = Builder.CreateSelect(Cond, X, Y, "sel", &Sel); in foldVectorSelect()
2480 Value *NewSel = Builder.CreateSelect(Cond, X, Y, "sel", &Sel); in foldVectorSelect()
2485 Value *NewSel = Builder.CreateSelect(Cond, Y, X, "sel", &Sel); in foldVectorSelect()
2711 Value *NewSel = Builder.CreateSelect(NewCond, FalseVal, TrueVal); in visitSelectInst()
2838 Value *NewSI = Builder.CreateSelect(Cmp, LHS, RHS, SI.getName(), &SI); in visitSelectInst()