Lines Matching refs:ShlAmt
973 unsigned ShlAmt = ShlOp1.getZExtValue(); in simplifyShrShlDemandedBits() local
977 Known.Zero.setLowBits(ShlAmt - 1); in simplifyShrShlDemandedBits()
984 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : in simplifyShrShlDemandedBits()
985 (BitMask1.ashr(ShrAmt) << ShlAmt); in simplifyShrShlDemandedBits()
987 if (ShrAmt <= ShlAmt) { in simplifyShrShlDemandedBits()
988 BitMask2 <<= (ShlAmt - ShrAmt); in simplifyShrShlDemandedBits()
990 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in simplifyShrShlDemandedBits()
991 BitMask2.ashr(ShrAmt - ShlAmt); in simplifyShrShlDemandedBits()
996 if (ShrAmt == ShlAmt) in simplifyShrShlDemandedBits()
1003 if (ShrAmt < ShlAmt) { in simplifyShrShlDemandedBits()
1004 Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt); in simplifyShrShlDemandedBits()
1010 Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt); in simplifyShrShlDemandedBits()