Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:TypeBits

968   uint32_t TypeBits = CmpRHSV.getBitWidth();
969 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits);
970 if (ShAmtVal >= TypeBits || ShAmtVal == 0)
983 (!Shr->isExact() || ShAmtVal == TypeBits - 1))
990 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal));
1037 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal));
1358 uint32_t TypeBits = RHSV.getBitWidth();
1383 if (RHSLog2 == TypeBits-1) {
1401 ConstantInt::get(RHS->getType(), TypeBits-1));
1406 ConstantInt::get(RHS->getType(), TypeBits-1));
1412 ConstantInt::get(RHS->getType(), TypeBits-1));
1418 ConstantInt::get(RHS->getType(), TypeBits-1));
1436 if (ShAmt->uge(TypeBits))
1465 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits);
1466 Constant *Mask = Builder->getInt(APInt::getLowBitsSet(TypeBits,
1467 TypeBits - ShAmtVal));
1491 APInt::getOneBitSet(TypeBits,
1492 TypeBits-ShAmt->getZExtValue()-1));
1505 unsigned Amt = ShAmt->getLimitedValue(TypeBits-1);
1508 Type *NTy = IntegerType::get(ICI.getContext(), TypeBits - Amt);
3238 unsigned TypeBits = Cst1->getBitWidth();
3239 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits);
3240 if (ShAmt < TypeBits && ShAmt != 0) {
3245 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt);