Lines Matching defs:BitWidth
371 uint32_t BitWidth = Ty->getScalarSizeInBits();
372 if (BitWidth < OrigBitWidth) {
373 APInt Mask = APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth);
386 uint32_t BitWidth = Ty->getScalarSizeInBits();
387 if (CI->getLimitedValue(BitWidth) < BitWidth)
397 uint32_t BitWidth = Ty->getScalarSizeInBits();
399 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) &&
400 CI->getLimitedValue(BitWidth) < BitWidth) {
551 uint32_t BitWidth = Op1C->getType()->getBitWidth();
552 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
595 uint32_t BitWidth = ITy->getBitWidth();
599 APInt KnownZeroLHS(BitWidth, 0), KnownOneLHS(BitWidth, 0);
600 APInt KnownZeroRHS(BitWidth, 0), KnownOneRHS(BitWidth, 0);
927 unsigned BitWidth = Op1C->getType()->getBitWidth();
928 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
958 // sext ((x & 2^n) != 0) -> (x << bitwidth-n) a>> bitwidth-1
959 // sext ((x & 2^n) == 2^n) -> (x << bitwidth-n) a>> bitwidth-1
968 BitWidth - 1), "sext");
1119 // extension from a smaller value. If we could trust arbitrary bitwidth