Searched refs:ShlAmt (Results 1 – 3 of 3) sorted by relevance
818 unsigned ShlAmt = ShlOp1.getZExtValue(); in SimplifyShrShlDemandedBits() local822 KnownZero = APInt::getBitsSet(KnownZero.getBitWidth(), 0, ShlAmt-1); in SimplifyShrShlDemandedBits()829 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : in SimplifyShrShlDemandedBits()830 (BitMask1.ashr(ShrAmt) << ShlAmt); in SimplifyShrShlDemandedBits()832 if (ShrAmt <= ShlAmt) { in SimplifyShrShlDemandedBits()833 BitMask2 <<= (ShlAmt - ShrAmt); in SimplifyShrShlDemandedBits()835 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in SimplifyShrShlDemandedBits()836 BitMask2.ashr(ShrAmt - ShlAmt); in SimplifyShrShlDemandedBits()841 if (ShrAmt == ShlAmt) in SimplifyShrShlDemandedBits()848 if (ShrAmt < ShlAmt) { in SimplifyShrShlDemandedBits()[all …]
4692 if (auto *ShlAmt = dyn_cast<ConstantSDNode>(Inner.getOperand(1))) { in PerformDAGCombine() local4695 unsigned NewShlAmt = ShlAmt->getZExtValue() + Extra; in PerformDAGCombine()
14126 SDValue ShlAmt = in SimplifySelectCC() local14129 SDValue Shl = DAG.getNode(ISD::SHL, SDLoc(N0), VT, AndLHS, ShlAmt); in SimplifySelectCC()