Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:ShlAmt

848   unsigned ShlAmt = ShlOp1.getZExtValue();
852 KnownZero = APInt::getBitsSet(KnownZero.getBitWidth(), 0, ShlAmt-1);
859 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) :
860 (BitMask1.ashr(ShrAmt) << ShlAmt);
862 if (ShrAmt <= ShlAmt) {
863 BitMask2 <<= (ShlAmt - ShrAmt);
865 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt):
866 BitMask2.ashr(ShrAmt - ShlAmt);
871 if (ShrAmt == ShlAmt)
878 if (ShrAmt < ShlAmt) {
879 Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt);
885 Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt);