Searched refs:ShlAmt (Results 1 – 2 of 2) sorted by relevance
848 unsigned ShlAmt = cast<ConstantInt>(Shl->getOperand(1))->getZExtValue(); in SimplifyShrShlDemandedBits() local852 KnownZero = APInt::getBitsSet(KnownZero.getBitWidth(), 0, ShlAmt-1); in SimplifyShrShlDemandedBits()855 if (ShlAmt == 0 || ShrAmt == 0) in SimplifyShrShlDemandedBits()865 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : in SimplifyShrShlDemandedBits()866 (BitMask1.ashr(ShrAmt) << ShlAmt); in SimplifyShrShlDemandedBits()868 if (ShrAmt <= ShlAmt) { in SimplifyShrShlDemandedBits()869 BitMask2 <<= (ShlAmt - ShrAmt); in SimplifyShrShlDemandedBits()871 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in SimplifyShrShlDemandedBits()872 BitMask2.ashr(ShrAmt - ShlAmt); in SimplifyShrShlDemandedBits()877 if (ShrAmt == ShlAmt) in SimplifyShrShlDemandedBits()[all …]
9662 SDValue ShlAmt = in SimplifySelectCC() local9665 SDValue Shl = DAG.getNode(ISD::SHL, N0.getDebugLoc(), VT, AndLHS, ShlAmt); in SimplifySelectCC()