Lines Matching full:apint
81 static bool MultiplyOverflows(const APInt &C1, const APInt &C2, APInt &Product,
93 static bool IsMultiple(const APInt &C1, const APInt &C2, APInt &Quotient,
98 APInt Remainder(C1.getBitWidth(), /*Val=*/0ULL, IsSigned);
100 APInt::sdivrem(C1, C2, Quotient, Remainder);
102 APInt::udivrem(C1, C2, Quotient, Remainder);
113 const APInt *IVal;
193 const APInt *IVal;
237 const APInt & Val = CI->getValue();
238 const APInt &PosVal = Val.abs();
363 APInt Negative2(I.getType()->getPrimitiveSizeInBits(), (uint64_t)-2, true);
794 const APInt *C2;
797 const APInt *C1;
803 APInt Product(C1->getBitWidth(), /*Val=*/0ULL, IsSigned);
811 APInt Quotient(C1->getBitWidth(), /*Val=*/0ULL, IsSigned);
837 APInt Quotient(C1->getBitWidth(), /*Val=*/0ULL, IsSigned);
838 APInt C1Shifted = APInt::getOneBitSet(
952 const APInt &C = cast<Constant>(Op1)->getUniqueInteger();
976 const APInt &CI =
1048 const APInt *C1, *C2;
1052 APInt C2ShlC1 = C2->ushl_ov(*C1, Overflow);
1149 APInt Mask(APInt::getSignBit(I.getType()->getPrimitiveSizeInBits()));
1418 const APInt *Y;
1430 APInt Mask(APInt::getSignBit(I.getType()->getPrimitiveSizeInBits()));