Home
last modified time | relevance | path

Searched defs:ShAmt (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineShifts.cpp561 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
HDInstCombineCasts.cpp548 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
HDInstCombineAddSub.cpp1253 Constant *ShAmt = ConstantInt::get(Ty, ExtendAmt); in visitAdd() local
1790 const APInt *ShAmt; in visitSub() local
2080 const APInt *ShAmt; in visitSub() local
HDInstCombineAndOrXor.cpp1965 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
HDInstCombineMulDivRem.cpp1076 Value *ShAmt = ConstantInt::get(Op1->getType(), Op1C->exactLogBase2()); in visitSDiv() local
HDInstCombineCompares.cpp4249 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
HDInstCombineVectorOps.cpp225 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
HDRISCVISelDAGToDAG.cpp148 uint64_t ShAmt = cast<ConstantSDNode>(Op1.getNode())->getZExtValue(); in Select() local
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
HDPPExpressions.cpp695 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86InstrInfo.cpp694 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
HDX86ISelDAGToDAG.cpp3625 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/
HDLanaiISelLowering.cpp1243 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/
HDConstantFold.cpp271 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
294 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
HDConstantRange.cpp276 ConstantRange ShAmt = Other.intersectWith( in makeGuaranteedNoWrapRegion() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
HDARMISelDAGToDAG.cpp502 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
HDARMBaseInstrInfo.cpp4093 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/
HDTargetLowering.cpp1329 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
HDSelectionDAG.cpp2427 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
HDLegalizeVectorOps.cpp786 SDValue ShAmt = DAG.getConstant( in ExpandLoad() local
HDDAGCombiner.cpp2071 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/
HDNVPTXISelLowering.cpp1972 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/
HDAPInt.cpp2015 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/
HDIRBuilder.h2701 uint64_t ShAmt = 8 * Offset; in CreateExtractInteger() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDSROA.cpp2134 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/
HDConstantFolding.cpp2356 unsigned ShAmt = C2->urem(BitWidth); in ConstantFoldScalarCall3() local

12