Lines Matching refs:ConstantInt
240 SumOfShAmts, ConstantInt::get(SumOfShAmts->getType()->getScalarType(),
273 ShAmtsDiff, ConstantInt::get(ShAmtsDiff->getType()->getScalarType(),
276 ConstantExpr::getSub(ConstantInt::get(ShAmtsDiff->getType(),
357 Constant *ShiftSumC = ConstantInt::get(Ty, *C0 + *C1);
409 Value *Rem = Builder.CreateAnd(A, ConstantInt::get(I.getType(), *B - 1),
487 ConstantInt *CI = nullptr;
561 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt));
590 ConstantInt::get(ShType, Mask));
715 isa<ConstantInt>(TrOp->getOperand(1))) {
743 ConstantInt::get(I.getContext(), MaskV),
755 ConstantInt *CC;
775 Constant *Mask = ConstantInt::get(I.getContext(), Bits);
810 Constant *Mask = ConstantInt::get(I.getContext(), Bits);
955 return BinaryOperator::CreateAnd(X, ConstantInt::get(Ty, Mask));
965 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShrAmt);
973 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmt);
986 return BinaryOperator::CreateShl(X, ConstantInt::get(Ty, AmtSum));
1007 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty);
1026 auto *NewC = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C1);
1027 return SelectInst::Create(X, NewC, ConstantInt::getNullValue(Ty));
1035 ConstantInt::get(Ty, APInt::getSignMask(BitWidth)), X);
1066 Constant *RHS = ConstantInt::getSigned(Ty, IsPop ? -1 : 0);
1076 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt);
1086 return BinaryOperator::CreateAnd(NewLShr, ConstantInt::get(Ty, Mask));
1090 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmt - ShAmt);
1100 return BinaryOperator::CreateAnd(NewShl, ConstantInt::get(Ty, Mask));
1105 return BinaryOperator::CreateAnd(X, ConstantInt::get(Ty, Mask));
1147 return BinaryOperator::CreateLShr(X, ConstantInt::get(Ty, AmtSum));
1161 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty);
1272 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt);
1279 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmt - ShAmt);
1292 return BinaryOperator::CreateAShr(X, ConstantInt::get(Ty, AmtSum));
1300 Value *NewSh = Builder.CreateAShr(X, ConstantInt::get(SrcTy, ShAmt));