Home
last modified time | relevance | path

Searched refs:ShlAmt (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp818 unsigned ShlAmt = ShlOp1.getZExtValue(); in SimplifyShrShlDemandedBits() local
822 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 …]
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4692 if (auto *ShlAmt = dyn_cast<ConstantSDNode>(Inner.getOperand(1))) { in PerformDAGCombine() local
4695 unsigned NewShlAmt = ShlAmt->getZExtValue() + Extra; in PerformDAGCombine()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp14126 SDValue ShlAmt = in SimplifySelectCC() local
14129 SDValue Shl = DAG.getNode(ISD::SHL, SDLoc(N0), VT, AndLHS, ShlAmt); in SimplifySelectCC()