Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:TypeBits

1023   uint32_t TypeBits = CmpRHSV.getBitWidth();
1024 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits);
1025 if (ShAmtVal >= TypeBits || ShAmtVal == 0)
1038 (!Shr->isExact() || ShAmtVal == TypeBits - 1))
1045 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal));
1091 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal));
1597 uint32_t TypeBits = RHSV.getBitWidth();
1620 if (RHSLog2 == TypeBits-1) {
1634 ConstantInt::get(RHS->getType(), TypeBits-1));
1639 ConstantInt::get(RHS->getType(), TypeBits-1));
1645 ConstantInt::get(RHS->getType(), TypeBits-1));
1651 ConstantInt::get(RHS->getType(), TypeBits-1));
1665 if (ShAmt->uge(TypeBits))
1694 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits);
1695 Constant *Mask = Builder->getInt(APInt::getLowBitsSet(TypeBits,
1696 TypeBits - ShAmtVal));
1720 APInt::getOneBitSet(TypeBits,
1721 TypeBits-ShAmt->getZExtValue()-1));
1734 unsigned Amt = ShAmt->getLimitedValue(TypeBits-1);
1737 Type *NTy = IntegerType::get(ICI.getContext(), TypeBits - Amt);
3755 unsigned TypeBits = Cst1->getBitWidth();
3756 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits);
3757 if (ShAmt < TypeBits && ShAmt != 0) {
3762 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt);
3770 unsigned TypeBits = Cst1->getBitWidth();
3771 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits);
3772 if (ShAmt < TypeBits && ShAmt != 0) {
3774 APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt);