/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/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 538 auto NewInnerShift = [&](unsigned ShAmt) { in foldShiftedShift() 701 Constant *ShAmt = ConstantExpr::getZExt(Op1, SrcTy); in FoldShiftByConstant() local 907 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitShl() local 1047 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitLShr() local 1252 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitAShr() local
|
D | InstCombineCasts.cpp | 583 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift() local 831 Constant *ShAmt = ConstantExpr::getUMin(C, MaxAmt); in visitTrunc() local 841 Constant *ShAmt = ConstantExpr::getUMin(C, MaxAmt); in visitTrunc() local 860 auto *ShAmt = ConstantExpr::getIntegerCast(C, A->getType(), true); in visitTrunc() local 987 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp() local 1486 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local 1498 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize); in visitSExt() local
|
D | InstCombineAddSub.cpp | 945 unsigned ShAmt = 0; in foldAddWithConstant() local 1257 Value *X, *Y, *ShAmt; in factorizeMathWithShlOps() local 2038 const APInt *ShAmt; in visitSub() 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/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombine.cpp | 87 Value *&ShAmt) { in foldGuardedRotateToFunnelShift() 120 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedRotateToFunnelShift() local
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULateCodeGenPrepare.cpp | 178 unsigned ShAmt = Adjust * 8; in visitLoadInst() 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/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/clang/lib/Lex/ |
D | PPExpressions.cpp | 673 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
|
/external/llvm-project/llvm/lib/Target/RISCV/ |
D | RISCVISelDAGToDAG.cpp | 133 uint64_t ShAmt = Node->getConstantOperandVal(1); in Select() local
|
/external/llvm-project/clang/lib/Lex/ |
D | PPExpressions.cpp | 715 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/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/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 745 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyMultipleUseDemandedBits() local 1443 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 1535 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyDemandedBits() local 1551 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 1617 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 1999 SDValue ShAmt = Src.getOperand(1); in SimplifyDemandedBits() local 2105 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, VT); in SimplifyDemandedBits() local 3501 const APInt &ShAmt = N0.getConstantOperandAPInt(1); in SimplifySetCC() local 6274 SDValue ShAmt, InvShAmt; in expandFunnelShift() local 6352 SDValue ShAmt = DAG.getNode(ISD::AND, DL, ShVT, Op1, BitWidthMinusOneC); in expandROT() local [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringARM32.cpp | 554 const int32_t ShAmt = (DestTy == IceType_i16) ? 16 : 24; in genTargetHelperCallFor() local 2798 const int32_t ShAmt = SrcsLo.getConstantValue() & 0x3F; in lowerInt64Arithmetic() local 2960 AggregationElement(AggregationOperation Op, uint32_t ShAmt) in AggregationElement() 2991 uint32_t ShAmt; member in Ice::ARM32::__anone162c0690c11::StrengthReduction::AggregationElement 3439 ConstantInteger32 *ShAmt = llvm::cast<ConstantInteger32>(Srcs.src1()); in lowerArithmetic() local 3463 ConstantInteger32 *ShAmt = llvm::cast<ConstantInteger32>(Srcs.src1()); in lowerArithmetic() local 3488 ConstantInteger32 *ShAmt = llvm::cast<ConstantInteger32>(Srcs.src1()); in lowerArithmetic() local 3904 ConstantInteger32 *ShAmt = nullptr; in lowerCast() local 4606 const int32_t ShAmt = 32 - getScalarIntBitWidth(Src0->getType()); in lowerInt8AndInt16IcmpCond() local 4713 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
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 1179 inline static bool isTruncatedShiftCountForLEA(unsigned ShAmt) { in isTruncatedShiftCountForLEA() 1293 unsigned ShAmt = MI.getOperand(2).getImm(); in convertToThreeAddressWithLEA() local 1408 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 1427 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 1459 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 3958 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in isDefConvertible() local
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 271 unsigned ShAmt = Amt->getZExtValue(); in ExtractConstantBytes() local 293 unsigned ShAmt = Amt->getZExtValue(); in ExtractConstantBytes() local
|
/external/llvm-project/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 1243 SDValue ShAmt = Op.getOperand(2); in LowerSHL_PARTS() local 1291 SDValue ShAmt = Op.getOperand(2); in LowerSRL_PARTS() local
|