Home
last modified time | relevance | path

Searched refs:ShAmt (Results 1 – 25 of 105) sorted by relevance

12345

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp538 auto NewInnerShift = [&](unsigned ShAmt) { in foldShiftedShift() argument
539 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt)); in foldShiftedShift()
701 Constant *ShAmt = ConstantExpr::getZExt(Op1, SrcTy); in FoldShiftByConstant() local
703 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
717 MaskV = ConstantExpr::get(I.getOpcode(), MaskV, ShAmt); in FoldShiftByConstant()
907 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitShl() local
914 if (ShAmt < SrcWidth && in visitShl()
915 MaskedValueIsZero(X, APInt::getHighBitsSet(SrcWidth, ShAmt), 0, &I)) in visitShl()
916 return new ZExtInst(Builder.CreateShl(X, ShAmt), Ty); in visitShl()
921 APInt Mask(APInt::getHighBitsSet(BitWidth, BitWidth - ShAmt)); in visitShl()
[all …]
DInstCombineCasts.cpp583 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift() local
585 if (!ShAmt) { in narrowFunnelShift()
586 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
589 if (!ShAmt) in narrowFunnelShift()
604 Value *NarrowShAmt = Builder.CreateTrunc(ShAmt, DestTy); in narrowFunnelShift()
831 Constant *ShAmt = ConstantExpr::getUMin(C, MaxAmt); in visitTrunc() local
832 ShAmt = ConstantExpr::getTrunc(ShAmt, A->getType()); in visitTrunc()
833 ShAmt = Constant::mergeUndefsWith(ShAmt, C); in visitTrunc()
834 return IsExact ? BinaryOperator::CreateExactAShr(A, ShAmt) in visitTrunc()
835 : BinaryOperator::CreateAShr(A, ShAmt); in visitTrunc()
[all …]
DInstCombineAddSub.cpp945 unsigned ShAmt = 0; in foldAddWithConstant() local
947 ShAmt = BitWidth - C->logBase2() - 1; in foldAddWithConstant()
949 ShAmt = BitWidth - C2->logBase2() - 1; in foldAddWithConstant()
950 if (ShAmt && MaskedValueIsZero(X, APInt::getHighBitsSet(BitWidth, ShAmt), in foldAddWithConstant()
952 Constant *ShAmtC = ConstantInt::get(Ty, ShAmt); in foldAddWithConstant()
1257 Value *X, *Y, *ShAmt; in factorizeMathWithShlOps() local
1258 if (!match(Op0, m_Shl(m_Value(X), m_Value(ShAmt))) || in factorizeMathWithShlOps()
1259 !match(Op1, m_Shl(m_Value(Y), m_Specific(ShAmt)))) in factorizeMathWithShlOps()
1274 auto *NewShl = BinaryOperator::CreateShl(NewMath, ShAmt); in factorizeMathWithShlOps()
2038 const APInt *ShAmt; in visitSub() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp561 auto NewInnerShift = [&](unsigned ShAmt) { in foldShiftedShift() argument
562 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt)); in foldShiftedShift()
724 Constant *ShAmt = in FoldShiftByConstant() local
727 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
947 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitShl() local
954 if (ShAmt < SrcWidth && in visitShl()
955 MaskedValueIsZero(X, APInt::getHighBitsSet(SrcWidth, ShAmt), 0, &I)) in visitShl()
956 return new ZExtInst(Builder.CreateShl(X, ShAmt), Ty); in visitShl()
961 APInt Mask(APInt::getHighBitsSet(BitWidth, BitWidth - ShAmt)); in visitShl()
970 if (ShrAmt < ShAmt) { in visitShl()
[all …]
DInstCombineCasts.cpp548 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowRotate() local
550 if (!ShAmt) { in narrowRotate()
551 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowRotate()
554 if (!ShAmt) in narrowRotate()
568 Value *NarrowShAmt = Builder.CreateTrunc(ShAmt, DestTy); in narrowRotate()
902 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp() local
904 if (ShAmt) { in transformZExtICmp()
907 In = Builder.CreateLShr(In, ConstantInt::get(In->getType(), ShAmt), in transformZExtICmp()
1400 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local
1401 return BinaryOperator::CreateAShr(Builder.CreateShl(Res, ShAmt, "sext"), in visitSExt()
[all …]
DInstCombineAddSub.cpp1253 Constant *ShAmt = ConstantInt::get(Ty, ExtendAmt); in visitAdd() local
1254 Value *NewShl = Builder.CreateShl(XorLHS, ShAmt, "sext"); in visitAdd()
1255 return BinaryOperator::CreateAShr(NewShl, ShAmt); in visitAdd()
1790 const APInt *ShAmt; in visitSub() local
1793 match(Op1Wide, m_LShr(m_Value(X), m_APInt(ShAmt))) && in visitSub()
1794 *ShAmt == BitWidth - 1) { in visitSub()
1805 match(Op1Wide, m_AShr(m_Value(X), m_APInt(ShAmt))) && in visitSub()
1806 *ShAmt == BitWidth - 1) { in visitSub()
2080 const APInt *ShAmt; in visitSub() local
2082 if (match(Op1, m_AShr(m_Value(A), m_APInt(ShAmt))) && in visitSub()
[all …]
/external/llvm-project/llvm/test/CodeGen/Lanai/
Dlshift64.ll9 ; CHECK: sub %r[[T1]], %r[[ShAmt:[0-9]+]], %r[[T1]]
12 ; CHECK: sub.f %r[[ShAmt]], 0x0, %r0
14 ; CHECK: sh %r[[ShOpA:[0-9]+]], %r[[ShAmt]], %r[[T2:[0-9]+]]
16 ; CHECK: sub.f %r[[ShAmt]], 0x20, %r[[T1]]
18 ; CHECK: sh.mi %r[[ShOpB]], %r[[ShAmt]], %r[[T0]]
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp87 Value *&ShAmt) { in foldGuardedRotateToFunnelShift() argument
94 m_Shl(m_Value(ShVal0), m_Value(ShAmt)), in foldGuardedRotateToFunnelShift()
97 if (ShAmt == SubAmt) // TODO: Use m_Specific in foldGuardedRotateToFunnelShift()
106 m_LShr(m_Value(ShVal1), m_Value(ShAmt)))))) { in foldGuardedRotateToFunnelShift()
107 if (ShAmt == SubAmt) // TODO: Use m_Specific in foldGuardedRotateToFunnelShift()
120 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedRotateToFunnelShift() local
121 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedRotateToFunnelShift()
123 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedRotateToFunnelShift()
140 if (!match(TermI, m_Br(m_ICmp(Pred, m_Specific(ShAmt), m_ZeroInt()), in foldGuardedRotateToFunnelShift()
163 Phi.replaceAllUsesWith(Builder.CreateCall(F, {ShVal0, ShVal1, ShAmt})); in foldGuardedRotateToFunnelShift()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp661 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local
665 if (ShAmt >= BitWidth) in SimplifyDemandedBits()
673 if (ShAmt && (NewMask & APInt::getLowBitsSet(BitWidth, ShAmt)) == 0) { in SimplifyDemandedBits()
676 int Diff = ShAmt-C1; in SimplifyDemandedBits()
690 if (SimplifyDemandedBits(InOp, NewMask.lshr(ShAmt), in SimplifyDemandedBits()
700 if (ShAmt < InnerBits && NewMask.lshr(InnerBits) == 0 && in SimplifyDemandedBits()
703 if (!APInt(BitWidth, ShAmt).isIntN(ShTy.getSizeInBits())) in SimplifyDemandedBits()
707 TLO.DAG.getConstant(ShAmt, dl, ShTy)); in SimplifyDemandedBits()
724 if (InnerShAmt < ShAmt && in SimplifyDemandedBits()
726 NewMask.lshr(InnerBits - InnerShAmt + ShAmt) == 0 && in SimplifyDemandedBits()
[all …]
DLegalizeVectorOps.cpp577 SDValue Lo, Hi, ShAmt; in ExpandLoad() local
580 ShAmt = DAG.getConstant( in ExpandLoad()
582 Lo = DAG.getNode(ISD::SRL, dl, WideVT, LoadVals[WideIdx], ShAmt); in ExpandLoad()
591 ShAmt = DAG.getConstant( in ExpandLoad()
594 Hi = DAG.getNode(ISD::SHL, dl, WideVT, LoadVals[WideIdx], ShAmt); in ExpandLoad()
611 ShAmt = in ExpandLoad()
614 Lo = DAG.getNode(ISD::SHL, dl, WideVT, Lo, ShAmt); in ExpandLoad()
615 Lo = DAG.getNode(ISD::SRA, dl, WideVT, Lo, ShAmt); in ExpandLoad()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp381 Constant *ShAmt = ConstantExpr::getZExt(COp1, TrOp->getType()); in FoldShiftByConstant() local
383 Value *NSh = Builder->CreateBinOp(I.getOpcode(), TrOp, ShAmt,I.getName()); in FoldShiftByConstant()
709 unsigned ShAmt = Op1C->getZExtValue(); in visitShl() local
714 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt), 0, in visitShl()
722 ComputeNumSignBits(I.getOperand(0), 0, &I) > ShAmt) { in visitShl()
752 unsigned ShAmt = Op1C->getZExtValue(); in visitLShr() local
762 isPowerOf2_32(BitWidth) && Log2_32(BitWidth) == ShAmt) { in visitLShr()
772 MaskedValueIsZero(Op0, APInt::getLowBitsSet(Op1C->getBitWidth(), ShAmt), in visitLShr()
796 unsigned ShAmt = Op1C->getZExtValue(); in visitAShr() local
817 MaskedValueIsZero(Op0, APInt::getLowBitsSet(Op1C->getBitWidth(), ShAmt), in visitAShr()
DInstCombineCompares.cpp1343 ConstantInt *ShAmt) { in FoldICmpShrCst() argument
1350 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits); in FoldICmpShrCst()
1686 ConstantInt *ShAmt; in visitICmpInstWithInstAndIntCst() local
1687 ShAmt = Shift ? dyn_cast<ConstantInt>(Shift->getOperand(1)) : nullptr; in visitICmpInstWithInstAndIntCst()
1692 if (ShAmt) { in visitICmpInstWithInstAndIntCst()
1717 cast<ConstantInt>(ConstantExpr::getShl(AndCst, ShAmt)); in visitICmpInstWithInstAndIntCst()
1719 cast<ConstantInt>(ConstantExpr::getShl(RHS, ShAmt)); in visitICmpInstWithInstAndIntCst()
1729 NewCst = ConstantExpr::getLShr(RHS, ShAmt); in visitICmpInstWithInstAndIntCst()
1731 NewCst = ConstantExpr::getShl(RHS, ShAmt); in visitICmpInstWithInstAndIntCst()
1735 if (ConstantExpr::get(ShiftOpcode, NewCst, ShAmt) != RHS) { in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineCasts.cpp642 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp() local
644 if (ShAmt) { in transformZExtICmp()
647 In = Builder->CreateLShr(In, ConstantInt::get(In->getType(), ShAmt), in transformZExtICmp()
1164 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local
1165 return BinaryOperator::CreateAShr(Builder->CreateShl(Res, ShAmt, "sext"), in visitSExt()
1166 ShAmt); in visitSExt()
1177 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local
1178 Value *Res = Builder->CreateShl(TI->getOperand(0), ShAmt, "sext"); in visitSExt()
1179 return BinaryOperator::CreateAShr(Res, ShAmt); in visitSExt()
1206 unsigned ShAmt = CA->getZExtValue()+SrcDstSize-MidSize; in visitSExt() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelDAGToDAG.cpp148 uint64_t ShAmt = cast<ConstantSDNode>(Op1.getNode())->getZExtValue(); in Select() local
150 if ((Mask | maskTrailingOnes<uint64_t>(ShAmt)) == 0xffffffff) { in Select()
152 CurDAG->getTargetConstant(ShAmt, SDLoc(Node), XLenVT); in Select()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULateCodeGenPrepare.cpp178 unsigned ShAmt = Adjust * 8; in visitLoadInst() local
180 IRB.CreateTrunc(IRB.CreateLShr(NewLd, ShAmt), IntNTy), LI.getType()); in visitLoadInst()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp89 ARM_AM::ShiftOpc ShOpcVal, unsigned ShAmt);
465 unsigned ShAmt) { in isShifterOpProfitable() argument
472 (ShAmt == 2 || (Subtarget->isSwift() && ShAmt == 1)); in isShifterOpProfitable()
666 unsigned ShAmt = Log2_32(RHSC); in SelectLdStSOReg() local
668 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, in SelectLdStSOReg()
694 unsigned ShAmt = 0; in SelectLdStSOReg() local
704 ShAmt = Sh->getZExtValue(); in SelectLdStSOReg()
705 if (isShifterOpProfitable(Offset, ShOpcVal, ShAmt)) in SelectLdStSOReg()
708 ShAmt = 0; in SelectLdStSOReg()
726 ShAmt = Sh->getZExtValue(); in SelectLdStSOReg()
[all …]
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp745 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyMultipleUseDemandedBits() local
749 if (NumSignBits > ShAmt && (NumSignBits - ShAmt) >= (UpperDemandedBits)) in SimplifyMultipleUseDemandedBits()
1443 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local
1444 if (ShAmt == 0) in SimplifyDemandedBits()
1452 if (!DemandedBits.intersects(APInt::getLowBitsSet(BitWidth, ShAmt))) { in SimplifyDemandedBits()
1457 int Diff = ShAmt - C1; in SimplifyDemandedBits()
1476 if (ShAmt < InnerBits && DemandedBits.getActiveBits() <= InnerBits && in SimplifyDemandedBits()
1479 if (!APInt(BitWidth, ShAmt).isIntN(ShTy.getSizeInBits())) in SimplifyDemandedBits()
1483 TLO.DAG.getConstant(ShAmt, dl, ShTy)); in SimplifyDemandedBits()
1499 if (InnerShAmt < ShAmt && InnerShAmt < InnerBits && in SimplifyDemandedBits()
[all …]
/external/llvm-project/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp1243 SDValue ShAmt = Op.getOperand(2); in LowerSHL_PARTS() local
1253 DAG.getConstant(VTBits, dl, MVT::i32), ShAmt); in LowerSHL_PARTS()
1259 SDValue SetCC = DAG.getSetCC(dl, MVT::i32, ShAmt, Zero, ISD::SETEQ); in LowerSHL_PARTS()
1262 SDValue ExtraShAmt = DAG.getNode(ISD::SUB, dl, MVT::i32, ShAmt, in LowerSHL_PARTS()
1264 SDValue HiBitsForHi = DAG.getNode(ISD::SHL, dl, VT, ShOpHi, ShAmt); in LowerSHL_PARTS()
1276 SDValue LoForNormalShift = DAG.getNode(ISD::SHL, dl, VT, ShOpLo, ShAmt); in LowerSHL_PARTS()
1291 SDValue ShAmt = Op.getOperand(2); in LowerSRL_PARTS() local
1306 ISD::SUB, dl, MVT::i32, DAG.getConstant(VTBits, dl, MVT::i32), ShAmt); in LowerSRL_PARTS()
1309 SDValue Hi = DAG.getNode(ISD::SRL, dl, MVT::i32, ShOpHi, ShAmt); in LowerSRL_PARTS()
1312 SDValue Lo = DAG.getNode(ISD::SRL, dl, MVT::i32, ShOpLo, ShAmt); in LowerSRL_PARTS()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp1243 SDValue ShAmt = Op.getOperand(2); in LowerSHL_PARTS() local
1253 DAG.getConstant(VTBits, dl, MVT::i32), ShAmt); in LowerSHL_PARTS()
1259 SDValue SetCC = DAG.getSetCC(dl, MVT::i32, ShAmt, Zero, ISD::SETEQ); in LowerSHL_PARTS()
1262 SDValue ExtraShAmt = DAG.getNode(ISD::SUB, dl, MVT::i32, ShAmt, in LowerSHL_PARTS()
1264 SDValue HiBitsForHi = DAG.getNode(ISD::SHL, dl, VT, ShOpHi, ShAmt); in LowerSHL_PARTS()
1276 SDValue LoForNormalShift = DAG.getNode(ISD::SHL, dl, VT, ShOpLo, ShAmt); in LowerSHL_PARTS()
1291 SDValue ShAmt = Op.getOperand(2); in LowerSRL_PARTS() local
1306 ISD::SUB, dl, MVT::i32, DAG.getConstant(VTBits, dl, MVT::i32), ShAmt); in LowerSRL_PARTS()
1309 SDValue Hi = DAG.getNode(ISD::SRL, dl, MVT::i32, ShOpHi, ShAmt); in LowerSRL_PARTS()
1312 SDValue Lo = DAG.getNode(ISD::SRL, dl, MVT::i32, ShOpLo, ShAmt); in LowerSRL_PARTS()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp554 const int32_t ShAmt = (DestTy == IceType_i16) ? 16 : 24; in genTargetHelperCallFor() local
557 NewC &= ~(0x80000000l >> ShAmt); in genTargetHelperCallFor()
559 NewC = (NewC << ShAmt) >> ShAmt; in genTargetHelperCallFor()
2798 const int32_t ShAmt = SrcsLo.getConstantValue() & 0x3F; in lowerInt64Arithmetic() local
2799 if (ShAmt == 0) { in lowerInt64Arithmetic()
2805 if (ShAmt >= 32) { in lowerInt64Arithmetic()
2806 if (ShAmt == 32) { in lowerInt64Arithmetic()
2809 Operand *ShAmtImm = shAmtImm(ShAmt - 32); in lowerInt64Arithmetic()
2831 Operand *ShAmtImm = shAmtImm(ShAmt); in lowerInt64Arithmetic()
2832 Operand *ComplShAmtImm = shAmtImm(32 - ShAmt); in lowerInt64Arithmetic()
[all …]
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVISelDAGToDAG.cpp133 uint64_t ShAmt = Node->getConstantOperandVal(1); in Select() local
135 if ((Mask | maskTrailingOnes<uint64_t>(ShAmt)) == 0xffffffff) { in Select()
136 SDValue ShAmtVal = CurDAG->getTargetConstant(ShAmt, DL, XLenVT); in Select()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1329 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local
1330 if (ShAmt == 0) in SimplifyDemandedBits()
1338 if (!DemandedBits.intersects(APInt::getLowBitsSet(BitWidth, ShAmt))) { in SimplifyDemandedBits()
1344 int Diff = ShAmt - C1; in SimplifyDemandedBits()
1358 if (SimplifyDemandedBits(Op0, DemandedBits.lshr(ShAmt), DemandedElts, in SimplifyDemandedBits()
1364 if ((ShAmt < DemandedBits.getActiveBits()) && in SimplifyDemandedBits()
1374 if (ShAmt < InnerBits && DemandedBits.getActiveBits() <= InnerBits && in SimplifyDemandedBits()
1377 if (!APInt(BitWidth, ShAmt).isIntN(ShTy.getSizeInBits())) in SimplifyDemandedBits()
1381 TLO.DAG.getConstant(ShAmt, dl, ShTy)); in SimplifyDemandedBits()
1395 if (InnerShAmt < ShAmt && InnerShAmt < InnerBits && in SimplifyDemandedBits()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp271 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
273 if ((ShAmt & 7) != 0) in ExtractConstantBytes()
275 ShAmt.lshrInPlace(3); in ExtractConstantBytes()
278 if (ShAmt.uge(CSize - ByteStart)) in ExtractConstantBytes()
282 if (ShAmt.ule(CSize - (ByteStart + ByteSize))) in ExtractConstantBytes()
284 ByteStart + ShAmt.getZExtValue(), ByteSize); in ExtractConstantBytes()
294 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
296 if ((ShAmt & 7) != 0) in ExtractConstantBytes()
298 ShAmt.lshrInPlace(3); in ExtractConstantBytes()
301 if (ShAmt.uge(ByteStart + ByteSize)) in ExtractConstantBytes()
[all …]
/external/llvm/lib/IR/
DConstantFold.cpp271 unsigned ShAmt = Amt->getZExtValue(); in ExtractConstantBytes() local
273 if ((ShAmt & 7) != 0) in ExtractConstantBytes()
275 ShAmt >>= 3; in ExtractConstantBytes()
278 if (ByteStart >= CSize-ShAmt) in ExtractConstantBytes()
282 if (ByteStart+ByteSize+ShAmt <= CSize) in ExtractConstantBytes()
283 return ExtractConstantBytes(CE->getOperand(0), ByteStart+ShAmt, ByteSize); in ExtractConstantBytes()
293 unsigned ShAmt = Amt->getZExtValue(); in ExtractConstantBytes() local
295 if ((ShAmt & 7) != 0) in ExtractConstantBytes()
297 ShAmt >>= 3; in ExtractConstantBytes()
300 if (ByteStart+ByteSize <= ShAmt) in ExtractConstantBytes()
[all …]
/external/llvm-project/clang/lib/Lex/
DPPExpressions.cpp715 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
716 if (ShAmt >= LHS.getBitWidth()) { in EvaluateDirectiveSubExpr()
718 ShAmt = LHS.getBitWidth()-1; in EvaluateDirectiveSubExpr()
720 Res = LHS.Val >> ShAmt; in EvaluateDirectiveSubExpr()

12345