Home
last modified time | relevance | path

Searched refs:ShlAmt (Results 1 – 11 of 11) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp729 unsigned ShlAmt = ShOp1->getZExtValue(); in visitLShr() local
730 if (ShlAmt < ShAmt) { in visitLShr()
731 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt); in visitLShr()
743 if (ShlAmt > ShAmt) { in visitLShr()
744 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmt - ShAmt); in visitLShr()
756 assert(ShlAmt == ShAmt); in visitLShr()
854 unsigned ShlAmt = ShOp1->getZExtValue(); in visitAShr() local
855 if (ShlAmt < ShAmt) { in visitAShr()
857 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt); in visitAShr()
862 if (ShlAmt > ShAmt) { in visitAShr()
[all …]
DInstCombineSimplifyDemanded.cpp873 unsigned ShlAmt = ShlOp1.getZExtValue(); in simplifyShrShlDemandedBits() local
877 Known.Zero.setLowBits(ShlAmt - 1); in simplifyShrShlDemandedBits()
884 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : in simplifyShrShlDemandedBits()
885 (BitMask1.ashr(ShrAmt) << ShlAmt); in simplifyShrShlDemandedBits()
887 if (ShrAmt <= ShlAmt) { in simplifyShrShlDemandedBits()
888 BitMask2 <<= (ShlAmt - ShrAmt); in simplifyShrShlDemandedBits()
890 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in simplifyShrShlDemandedBits()
891 BitMask2.ashr(ShrAmt - ShlAmt); in simplifyShrShlDemandedBits()
896 if (ShrAmt == ShlAmt) in simplifyShrShlDemandedBits()
903 if (ShrAmt < ShlAmt) { in simplifyShrShlDemandedBits()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp1800 int ShlAmt = VT.getSizeInBits() - 1 - IPM.Bit; in expandSelectBoolean() local
1803 CurDAG->getConstant(ShlAmt, DL, MVT::i32)); in expandSelectBoolean()
DSystemZISelLowering.cpp5309 if (auto *ShlAmt = dyn_cast<ConstantSDNode>(Inner.getOperand(1))) { in combineSIGN_EXTEND() local
5311 unsigned NewShlAmt = ShlAmt->getZExtValue() + Extra; in combineSIGN_EXTEND()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp6409 uint64_t ShlAmt = ShlAmtCI->getZExtValue(); in createSCEV() local
6410 if (ShlAmt > AShrAmt) { in createSCEV()
6416 ShlAmt - AShrAmt); in createSCEV()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp17913 SDValue ShlAmt = in SimplifySelectCC() local
17916 SDValue Shl = DAG.getNode(ISD::SHL, SDLoc(N0), VT, AndLHS, ShlAmt); in SimplifySelectCC()