Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:ConstantInt

49     Value *Rem = Builder->CreateAnd(A, ConstantInt::get(I.getType(), *B-1),
83 ConstantInt *CI = nullptr;
119 CI = dyn_cast<ConstantInt>(I->getOperand(1));
143 CI = dyn_cast<ConstantInt>(I->getOperand(1));
218 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1));
227 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt));
238 ConstantInt::get(BO->getContext(), Mask));
249 BO->setOperand(1, ConstantInt::get(BO->getType(),
259 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1));
268 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt));
278 ConstantInt::get(BO->getContext(), Mask));
289 BO->setOperand(1, ConstantInt::get(BO->getType(),
318 ConstantInt *COp1 = nullptr;
320 COp1 = dyn_cast_or_null<ConstantInt>(CV->getSplatValue());
322 COp1 = dyn_cast_or_null<ConstantInt>(CV->getSplatValue());
324 COp1 = dyn_cast<ConstantInt>(Op1);
371 isa<ConstantInt>(TrOp->getOperand(1))) {
398 ConstantInt::get(I.getContext(), MaskV),
410 ConstantInt *CC;
430 Constant *Mask = ConstantInt::get(I.getContext(), Bits);
466 Constant *Mask = ConstantInt::get(I.getContext(), Bits);
493 if (ConstantInt *Op0C = dyn_cast<ConstantInt>(Op0BO->getOperand(1))) {
539 if (ShiftOp && isa<ConstantInt>(ShiftOp->getOperand(1))) {
553 ConstantInt *ShiftAmt1C = cast<ConstantInt>(ShiftOp->getOperand(1));
574 ConstantInt::get(Ty, AmtSum));
583 ConstantInt::get(I.getContext(), Mask));
596 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
607 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
619 ConstantInt::get(I.getContext(),Mask));
628 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
645 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
655 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
667 ConstantInt::get(I.getContext(),Mask));
676 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
700 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(I.getOperand(1))) {
742 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) {
755 Constant *RHS = ConstantInt::getSigned(Op0->getType(), isCtPop ? -1:0);
785 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) {