Lines Matching defs:TypeBits
1991 unsigned TypeBits = C.getBitWidth();
2010 if (CLog2 == TypeBits - 1) {
2018 Constant *BitWidthMinusOne = ConstantInt::get(ShiftType, TypeBits - 1);
2059 unsigned TypeBits = C.getBitWidth();
2060 if (ShiftAmt->uge(TypeBits))
2126 APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue()));
2138 APInt::getOneBitSet(TypeBits, TypeBits - ShiftAmt->getZExtValue() - 1));
2171 unsigned Amt = ShiftAmt->getLimitedValue(TypeBits - 1);
2173 DL.isLegalInteger(TypeBits - Amt)) {
2174 Type *TruncTy = IntegerType::get(Cmp.getContext(), TypeBits - Amt);
2178 ConstantInt::get(TruncTy, C.ashr(*ShiftAmt).trunc(TypeBits - Amt));
2207 unsigned TypeBits = C.getBitWidth();
2208 unsigned ShAmtVal = ShiftAmt->getLimitedValue(TypeBits);
2209 if (ShAmtVal >= TypeBits || ShAmtVal == 0)
2270 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal));
4263 unsigned TypeBits = Cst1->getBitWidth();
4264 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits);
4265 if (ShAmt < TypeBits && ShAmt != 0) {
4269 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt);
4277 unsigned TypeBits = Cst1->getBitWidth();
4278 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits);
4279 if (ShAmt < TypeBits && ShAmt != 0) {
4281 APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt);