Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:BitWidth

262     unsigned BitWidth = VT->getElementType()->getPrimitiveSizeInBits();
263 assert((64 % BitWidth) == 0 && "Unexpected packed shift size");
264 unsigned NumSubElts = 64 / BitWidth;
270 Count = Count.shl(BitWidth);
281 unsigned BitWidth = SVT->getPrimitiveSizeInBits();
287 // Handle cases when Shift >= BitWidth.
288 if (Count.uge(BitWidth)) {
293 // If ArithmeticShift - clamp Shift to (BitWidth - 1).
294 Count = APInt(64, BitWidth - 1);
298 auto ShiftAmt = ConstantInt::get(SVT, Count.zextOrTrunc(BitWidth));
821 uint32_t BitWidth = IT->getBitWidth();
822 APInt KnownZero(BitWidth, 0);
823 APInt KnownOne(BitWidth, 0);
826 APInt Mask(APInt::getLowBitsSet(BitWidth, TrailingZeros));
829 APInt(BitWidth, TrailingZeros)));
839 uint32_t BitWidth = IT->getBitWidth();
840 APInt KnownZero(BitWidth, 0);
841 APInt KnownOne(BitWidth, 0);
844 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros));
847 APInt(BitWidth, LeadingZeros)));
1367 unsigned BitWidth =
1371 assert((BitWidth == 64 || BitWidth == 32 || BitWidth == 8) &&
1377 if (BitWidth == 8)
1381 Selectors.push_back(ConstantInt::get(Tyi1, Selector >> (BitWidth - 1)));