Lines Matching full:bitwidth
368 uint32_t BitWidth = Ty->getScalarSizeInBits();
369 if (BitWidth < OrigBitWidth) {
370 APInt Mask = APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth);
383 uint32_t BitWidth = Ty->getScalarSizeInBits();
384 if (CI->getLimitedValue(BitWidth) < BitWidth)
394 uint32_t BitWidth = Ty->getScalarSizeInBits();
396 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth), 0, CxtI) &&
397 CI->getLimitedValue(BitWidth) < BitWidth) {
624 uint32_t BitWidth = Op1C->getType()->getBitWidth();
625 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
668 uint32_t BitWidth = ITy->getBitWidth();
672 APInt KnownZeroLHS(BitWidth, 0), KnownOneLHS(BitWidth, 0);
673 APInt KnownZeroRHS(BitWidth, 0), KnownOneRHS(BitWidth, 0);
999 unsigned BitWidth = Op1C->getType()->getBitWidth();
1000 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
1030 // sext ((x & 2^n) != 0) -> (x << bitwidth-n) a>> bitwidth-1
1031 // sext ((x & 2^n) == 2^n) -> (x << bitwidth-n) a>> bitwidth-1
1040 BitWidth - 1), "sext");
1186 // extension from a smaller value. If we could trust arbitrary bitwidth