Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/tests_lit/assembler/arm32/
Dlsl.ll23 define internal i32 @ShlAmt(i32 %a) {
24 ; ASM-LABEL:ShlAmt:
25 ; DIS-LABEL:00000000 <ShlAmt>:
26 ; IASM-LABEL:ShlAmt:
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp848 unsigned ShlAmt = ShlOp1.getZExtValue(); in SimplifyShrShlDemandedBits() local
852 KnownZero = APInt::getBitsSet(KnownZero.getBitWidth(), 0, ShlAmt-1); in SimplifyShrShlDemandedBits()
859 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : in SimplifyShrShlDemandedBits()
860 (BitMask1.ashr(ShrAmt) << ShlAmt); in SimplifyShrShlDemandedBits()
862 if (ShrAmt <= ShlAmt) { in SimplifyShrShlDemandedBits()
863 BitMask2 <<= (ShlAmt - ShrAmt); in SimplifyShrShlDemandedBits()
865 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in SimplifyShrShlDemandedBits()
866 BitMask2.ashr(ShrAmt - ShlAmt); in SimplifyShrShlDemandedBits()
871 if (ShrAmt == ShlAmt) in SimplifyShrShlDemandedBits()
878 if (ShrAmt < ShlAmt) { in SimplifyShrShlDemandedBits()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4866 if (auto *ShlAmt = dyn_cast<ConstantSDNode>(Inner.getOperand(1))) { in combineSIGN_EXTEND() local
4869 unsigned NewShlAmt = ShlAmt->getZExtValue() + Extra; in combineSIGN_EXTEND()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7576 SDValue ShlAmt = in SimplifySelectCC() local
7579 SDValue Shl = DAG.getNode(ISD::SHL, N0.getDebugLoc(), VT, AndLHS, ShlAmt); in SimplifySelectCC()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp14310 SDValue ShlAmt = in SimplifySelectCC() local
14313 SDValue Shl = DAG.getNode(ISD::SHL, SDLoc(N0), VT, AndLHS, ShlAmt); in SimplifySelectCC()