/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/LoongArch/ |
D | LoongArchISelDAGToDAG.h | 48 bool selectShiftMaskGRLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskGRLen() 51 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
|
D | LoongArchISelDAGToDAG.cpp | 150 SDValue &ShAmt) { in selectShiftMask()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 381 Constant *ShAmt = ConstantExpr::getZExt(COp1, TrOp->getType()); in FoldShiftByConstant() local 709 unsigned ShAmt = Op1C->getZExtValue(); in visitShl() local 752 unsigned ShAmt = Op1C->getZExtValue(); in visitLShr() local 796 unsigned ShAmt = Op1C->getZExtValue(); in visitAShr() local
|
D | InstCombineCasts.cpp | 642 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp() local 1164 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local 1177 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local 1206 unsigned ShAmt = CA->getZExtValue()+SrcDstSize-MidSize; in visitSExt() local
|
D | InstCombineCompares.cpp | 1343 ConstantInt *ShAmt) { in FoldICmpShrCst() 1686 ConstantInt *ShAmt; in visitICmpInstWithInstAndIntCst() local 1923 ConstantInt *ShAmt = dyn_cast<ConstantInt>(LHSI->getOperand(1)); in visitICmpInstWithInstAndIntCst() local 2079 if (ConstantInt *ShAmt = dyn_cast<ConstantInt>(LHSI->getOperand(1))) { in visitICmpInstWithInstAndIntCst() local 4215 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits); in visitICmpInst() local 4230 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits); in visitICmpInst() local 4243 uint64_t ShAmt = 0; in visitICmpInst() local
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 561 auto NewInnerShift = [&](unsigned ShAmt) { in foldShiftedShift() 724 Constant *ShAmt = in FoldShiftByConstant() local 947 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitShl() local 1062 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitLShr() local 1261 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitAShr() local
|
D | InstCombineCasts.cpp | 548 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowRotate() local 902 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp() local 1400 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local 1412 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize); in visitSExt() local 1440 unsigned ShAmt = CA->getZExtValue()+SrcDstSize-MidSize; in visitSExt() local
|
D | InstCombineAddSub.cpp | 1253 Constant *ShAmt = ConstantInt::get(Ty, ExtendAmt); in visitAdd() local 1790 const APInt *ShAmt; in visitSub() local 2080 const APInt *ShAmt; in visitSub() local
|
D | InstCombineAndOrXor.cpp | 1965 const APInt *ShAmt; in visitAnd() local 2073 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width); in matchRotate() local 2716 const APInt *ShAmt; in visitOr() local 3223 const APInt *ShAmt; in visitXor() local
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULateCodeGenPrepare.cpp | 175 unsigned ShAmt = Adjust * 8; in visitLoadInst() local
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/ |
D | RISCVISelDAGToDAG.cpp | 640 uint64_t ShAmt = ShlCst->getZExtValue(); in tryShrinkShlLogicImm() local 723 unsigned ShAmt = N1C->getZExtValue(); in Select() local 752 unsigned ShAmt = N1C->getZExtValue(); in Select() local 832 unsigned ShAmt = N1C->getZExtValue(); in Select() local 2066 SDValue &ShAmt) { in selectShiftMask() 2168 bool RISCVDAGToDAGISel::selectSHXADDOp(SDValue N, unsigned ShAmt, in selectSHXADDOp() 2263 bool RISCVDAGToDAGISel::selectSHXADD_UWOp(SDValue N, unsigned ShAmt, in selectSHXADD_UWOp() 2402 unsigned ShAmt = User->getConstantOperandVal(1); in hasAllNBitUsers() local
|
D | RISCVISelDAGToDAG.h | 56 bool selectShiftMaskXLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskXLen() 59 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
|
D | RISCVMergeBaseOffset.cpp | 268 unsigned ShAmt; in foldShiftedOffset() local
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 638 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift() local 731 auto *ShAmt = ConstantExpr::getIntegerCast(C, A->getType(), true); in narrowBinOp() local 910 Constant *ShAmt = ConstantExpr::getUMin(C, MaxAmt); in visitTrunc() local 920 Constant *ShAmt = ConstantExpr::getUMin(C, MaxAmt); in visitTrunc() local 1061 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp() local 1087 Value *X, *ShAmt; in transformZExtICmp() local 1529 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local 1545 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize); in visitSExt() local
|
D | InstCombineNegator.cpp | 263 Constant *ShAmt; in visitImpl() local
|
D | InstCombineShifts.cpp | 594 auto NewInnerShift = [&](unsigned ShAmt) { in foldShiftedShift() 870 const unsigned ShAmt = ShAmtAPInt->getZExtValue(); in foldLShrOverflowBit() local 1495 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitAShr() local
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 661 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 749 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 809 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 869 unsigned ShAmt = ExVT.getScalarType().getSizeInBits(); in SimplifyDemandedBits() local 1060 ConstantSDNode *ShAmt = dyn_cast<ConstantSDNode>(In.getOperand(1)); in SimplifyDemandedBits() local 1127 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, Op.getValueType()); in SimplifyDemandedBits() local 1380 const APInt &ShAmt in SimplifySetCC() local 2793 unsigned ShAmt = d.countTrailingZeros(); in BuildExactSDIV() local
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVISelDAGToDAG.cpp | 148 uint64_t ShAmt = cast<ConstantSDNode>(Op1.getNode())->getZExtValue(); in Select() local
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombine.cpp | 66 Value *&ShAmt) { in foldGuardedFunnelShift() 101 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local
|
/external/clang/lib/Lex/ |
D | PPExpressions.cpp | 673 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelDAGToDAG.cpp | 465 unsigned ShAmt) { in isShifterOpProfitable() 666 unsigned ShAmt = Log2_32(RHSC); in SelectLdStSOReg() local 694 unsigned ShAmt = 0; in SelectLdStSOReg() local 777 unsigned ShAmt = Log2_32(RHSC); in SelectAddrMode2Worker() local 848 unsigned ShAmt = 0; in SelectAddrMode2Worker() local 913 unsigned ShAmt = 0; in SelectAddrMode2OffsetReg() local 1394 unsigned ShAmt = 0; in SelectT2AddrModeSoReg() local
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 773 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyMultipleUseDemandedBits() local 1692 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 1814 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyDemandedBits() local 1835 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 1916 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 2139 SDValue ShAmt = TLO.DAG.getConstant(ShiftAmount, dl, ShiftAmtTy); in SimplifyDemandedBits() local 2502 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, VT); in SimplifyDemandedBits() local 2687 if (unsigned ShAmt = getShiftLeftAmt(Op0)) in SimplifyDemandedBits() local 2690 if (unsigned ShAmt = getShiftLeftAmt(Op1)) in SimplifyDemandedBits() local 2695 if (unsigned ShAmt = getShiftLeftAmt(Op1)) in SimplifyDemandedBits() local [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 2556 inline static bool isTruncatedShiftCountForLEA(unsigned ShAmt) { in isTruncatedShiftCountForLEA() 2676 unsigned ShAmt = MI.getOperand(2).getImm(); in convertToThreeAddressWithLEA() local 2777 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 2797 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 2826 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 4951 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in isDefConvertible() local
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringARM32.cpp | 545 const int32_t ShAmt = (DestTy == IceType_i16) ? 16 : 24; in genTargetHelperCallFor() local 2614 const int32_t ShAmt = SrcsLo.getConstantValue() & 0x3F; in lowerInt64Arithmetic() local 2776 AggregationElement(AggregationOperation Op, uint32_t ShAmt) in AggregationElement() 2807 uint32_t ShAmt; member in Ice::ARM32::__anonae599a580b11::StrengthReduction::AggregationElement 3255 ConstantInteger32 *ShAmt = llvm::cast<ConstantInteger32>(Srcs.src1()); in lowerArithmetic() local 3279 ConstantInteger32 *ShAmt = llvm::cast<ConstantInteger32>(Srcs.src1()); in lowerArithmetic() local 3304 ConstantInteger32 *ShAmt = llvm::cast<ConstantInteger32>(Srcs.src1()); in lowerArithmetic() local 3719 ConstantInteger32 *ShAmt = nullptr; in lowerCast() local 4421 const int32_t ShAmt = 32 - getScalarIntBitWidth(Src0->getType()); in lowerInt8AndInt16IcmpCond() local 4528 SizeT ShAmt; in lowerIcmp() local
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 694 inline static bool isTruncatedShiftCountForLEA(unsigned ShAmt) { in isTruncatedShiftCountForLEA() 809 unsigned ShAmt = MI.getOperand(2).getImm(); in convertToThreeAddressWithLEA() local 924 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 944 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 976 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 3409 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in isDefConvertible() local
|