| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | 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
|
| HD | 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
|
| HD | 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
|
| HD | 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
|
| HD | InstCombineMulDivRem.cpp | 1076 Value *ShAmt = ConstantInt::get(Op1->getType(), Op1C->exactLogBase2()); in visitSDiv() local
|
| HD | InstCombineCompares.cpp | 4249 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits); in foldICmpEquality() local 4263 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits); in foldICmpEquality() local 4275 uint64_t ShAmt = 0; in foldICmpEquality() local
|
| HD | InstCombineVectorOps.cpp | 225 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() local
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| HD | RISCVISelDAGToDAG.cpp | 148 uint64_t ShAmt = cast<ConstantSDNode>(Op1.getNode())->getZExtValue(); in Select() local
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/ |
| HD | PPExpressions.cpp | 695 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| HD | 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
|
| HD | X86ISelDAGToDAG.cpp | 3625 SDValue ShAmt = CurDAG->getTargetConstant(Shift, dl, NVT); in matchBEXTRFromAndImm() local 3824 uint64_t ShAmt = ShlCst->getZExtValue(); in tryShrinkShlLogicImm() local
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| HD | LanaiISelLowering.cpp | 1243 SDValue ShAmt = Op.getOperand(2); in LowerSHL_PARTS() local 1291 SDValue ShAmt = Op.getOperand(2); in LowerSRL_PARTS() local
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | ConstantFold.cpp | 271 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local 294 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
|
| HD | ConstantRange.cpp | 276 ConstantRange ShAmt = Other.intersectWith( in makeGuaranteedNoWrapRegion() local
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
| HD | ARMISelDAGToDAG.cpp | 502 unsigned ShAmt) { in isShifterOpProfitable() 694 unsigned ShAmt = Log2_32(RHSC); in SelectLdStSOReg() local 722 unsigned ShAmt = 0; in SelectLdStSOReg() local 801 unsigned ShAmt = 0; in SelectAddrMode2OffsetReg() local 1437 unsigned ShAmt = 0; in SelectT2AddrModeSoReg() local
|
| HD | ARMBaseInstrInfo.cpp | 4093 unsigned ShAmt = DefMI.getOperand(3).getImm(); in adjustDefLatency() local 4124 unsigned ShAmt = DefMI.getOperand(3).getImm(); in adjustDefLatency() local 4398 unsigned ShAmt = in getOperandLatency() local
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| HD | TargetLowering.cpp | 1329 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 1426 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 1492 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 1813 SDValue ShAmt = Src.getOperand(1); in SimplifyDemandedBits() local 1915 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, VT); in SimplifyDemandedBits() local 3158 const APInt &ShAmt = N0.getConstantOperandAPInt(1); in SimplifySetCC() local 5960 SDValue ShAmt; in expandFunnelShift() local
|
| HD | SelectionDAG.cpp | 2427 const APInt &ShAmt = SA->getAPIntValue(); in getValidShiftAmountConstant() local 2450 const APInt &ShAmt = SA->getAPIntValue(); in getValidMinimumShiftAmountConstant() local 2476 const APInt &ShAmt = SA->getAPIntValue(); in getValidMaximumShiftAmountConstant() local 2870 if (const APInt *ShAmt = getValidShiftAmountConstant(Op, DemandedElts)) { in computeKnownBits() local 2891 if (const APInt *ShAmt = getValidShiftAmountConstant(Op, DemandedElts)) { in computeKnownBits() local 2910 if (const APInt *ShAmt = getValidShiftAmountConstant(Op, DemandedElts)) { in computeKnownBits() local 3649 if (const APInt *ShAmt = getValidShiftAmountConstant(Op, DemandedElts)) in ComputeNumSignBits() local 3651 else if (const APInt *ShAmt = in ComputeNumSignBits() local 3656 if (const APInt *ShAmt = getValidShiftAmountConstant(Op, DemandedElts)) { in ComputeNumSignBits() local 3661 } else if (const APInt *ShAmt = in ComputeNumSignBits() local
|
| HD | LegalizeVectorOps.cpp | 786 SDValue ShAmt = DAG.getConstant( in ExpandLoad() local
|
| HD | DAGCombiner.cpp | 2071 SDValue ShAmt = ShiftOp.getOperand(1); in foldAddSubOfSignBit() local 3257 SDValue ShAmt = N1.getOperand(1); in visitSUB() local 3543 unsigned ShAmt = in visitMUL() local 4814 unsigned ShAmt) { in isLegalNarrowLdSt() 5712 SDValue ShAmt = DAG.getConstant(16, DL, getShiftAmountTy(VT)); in MatchBSwapHWord() local 8054 unsigned ShAmt = UnknownBits.countTrailingZeros(); in visitSRL() local 8154 unsigned ShAmt = Cst->getZExtValue(); in visitFunnelShift() local 10123 SDValue ShAmt = N0.getOperand(1); in visitZERO_EXTEND() local 10376 unsigned ShAmt = 0; in ReduceLoadWidth() local 10495 auto AdjustBigEndianShift = [&](unsigned ShAmt) { in ReduceLoadWidth() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| HD | NVPTXISelLowering.cpp | 1972 SDValue ShAmt = Op.getOperand(2); in LowerShiftRightParts() local 2033 SDValue ShAmt = Op.getOperand(2); in LowerShiftLeftParts() local
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
| HD | APInt.cpp | 2015 APInt APInt::sshl_ov(const APInt &ShAmt, bool &Overflow) const { in sshl_ov() argument 2028 APInt APInt::ushl_ov(const APInt &ShAmt, bool &Overflow) const { in ushl_ov() argument
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | IRBuilder.h | 2701 uint64_t ShAmt = 8 * Offset; in CreateExtractInteger() local
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | SROA.cpp | 2134 uint64_t ShAmt = 8 * Offset; in extractInteger() local 2163 uint64_t ShAmt = 8 * Offset; in insertInteger() local
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | ConstantFolding.cpp | 2356 unsigned ShAmt = C2->urem(BitWidth); in ConstantFoldScalarCall3() local
|