/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchISelDAGToDAG.h | 48 bool selectShiftMaskGRLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskGRLen() 51 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
|
H A D | LoongArchOptWInstrs.cpp | 190 unsigned ShAmt = UserMI->getOperand(2).getImm(); in hasAllNBitUsers() local
|
H A D | LoongArchISelDAGToDAG.cpp | 233 SDValue &ShAmt) { in selectShiftMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 510 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift() local 605 if (Constant *ShAmt = ConstantFoldIntegerCast(C, A->getType(), in narrowBinOp() local 799 Constant *ShAmt = ConstantFoldSelectInstruction(Cmp, C, MaxAmt); in visitTrunc() local 806 Constant *ShAmt = GetNewShAmt(DestWidth); in visitTrunc() local 814 Constant *ShAmt = GetNewShAmt(AWidth); in visitTrunc() local 961 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp() local 992 Value *X, *ShAmt; in transformZExtICmp() local 1465 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local 1481 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize); in visitSExt() local
|
H A D | InstCombineNegator.cpp | 264 Constant *ShAmt; in visitImpl() local
|
H A D | InstCombineShifts.cpp | 638 auto NewInnerShift = [&](unsigned ShAmt) { in foldShiftedShift() 923 const unsigned ShAmt = ShAmtAPInt->getZExtValue(); in foldLShrOverflowBit() local 1683 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitAShr() local
|
H A D | InstCombineAddSub.cpp | 963 unsigned ShAmt = 0; in foldAddWithConstant() local 1422 Value *X, *Y, *ShAmt; in factorizeMathWithShlOps() local 2564 const APInt *ShAmt; in visitSub() local
|
H A D | InstCombineVectorOps.cpp | 291 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() local 1578 uint64_t ShAmt; in foldTruncInsEltPair() local
|
H A D | InstCombineAndOrXor.cpp | 2169 Value *ShAmt; in foldBinOpOfDisplacedShifts() local 2951 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width); in convertOrOfShiftsToFunnelShift() local 4319 const APInt *ShAmt; in canonicalizeAbs() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelDAGToDAG.h | 88 bool selectShiftMaskXLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskXLen() 91 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
|
H A D | RISCVISelDAGToDAG.cpp | 645 uint64_t ShAmt = ShlCst->getZExtValue(); in tryShrinkShlLogicImm() local 1080 unsigned ShAmt = N1C->getZExtValue(); in Select() local 1109 unsigned ShAmt = N1C->getZExtValue(); in Select() local 1193 unsigned ShAmt = N1C->getZExtValue(); in Select() local 2747 SDValue &ShAmt) { in selectShiftMask() 2932 bool RISCVDAGToDAGISel::selectSHXADDOp(SDValue N, unsigned ShAmt, in selectSHXADDOp() 3027 bool RISCVDAGToDAGISel::selectSHXADD_UWOp(SDValue N, unsigned ShAmt, in selectSHXADD_UWOp() 3205 unsigned ShAmt = User->getConstantOperandVal(1); in hasAllNBitUsers() local
|
H A D | RISCVMergeBaseOffset.cpp | 286 unsigned ShAmt; in foldShiftedOffset() local
|
H A D | RISCVOptWInstrs.cpp | 208 unsigned ShAmt = UserMI->getOperand(2).getImm(); in hasAllNBitUsers() local
|
H A D | RISCVTargetTransformInfo.cpp | 149 unsigned ShAmt = cast<ConstantInt>(BO->getOperand(1))->getZExtValue(); in canUseShiftPair() local
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 744 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULateCodeGenPrepare.cpp | 499 unsigned ShAmt = Adjust * 8; in visitLoadInst() local
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 802 unsigned ShAmt = *MaxSA; in SimplifyMultipleUseDemandedBits() local 1739 unsigned ShAmt = *KnownSA; in SimplifyDemandedBits() local 1919 unsigned ShAmt = *MaxSA; in SimplifyDemandedBits() local 1935 unsigned ShAmt = *KnownSA; in SimplifyDemandedBits() local 2041 unsigned ShAmt = *KnownSA; in SimplifyDemandedBits() local 2323 SDValue ShAmt = TLO.DAG.getShiftAmountConstant(ShiftAmount, VT, dl); in SimplifyDemandedBits() local 2704 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, VT); in SimplifyDemandedBits() local 2904 if (unsigned ShAmt = getShiftLeftAmt(Op0)) in SimplifyDemandedBits() local 2907 if (unsigned ShAmt = getShiftLeftAmt(Op1)) in SimplifyDemandedBits() local 2912 if (unsigned ShAmt = getShiftLeftAmt(Op1)) in SimplifyDemandedBits() local [all …]
|
H A D | LegalizeIntegerTypes.cpp | 587 SDValue ShAmt = DAG.getShiftAmountConstant(DiffBits, NVT, dl); in PromoteIntRes_BSWAP() local 615 SDValue ShAmt = DAG.getShiftAmountConstant(DiffBits, NVT, dl); in PromoteIntRes_BITREVERSE() local 2329 SDValue ShAmt = DAG.getShiftAmountConstant(Diff, VT, dl); in PromoteIntOp_VP_SIGN_EXTEND() local 4585 SDValue ShAmt = N->getOperand(1); in ExpandIntRes_ShiftThroughStack() local 4797 SDValue ShAmt = DAG.getZExtOrTrunc(N->getOperand(1), dl, ShAmtTy); in ExpandIntRes_Shift() local 5200 SDValue ShAmt = N->getOperand(2); in ExpandIntRes_FunnelShift() local
|
H A D | DAGCombiner.cpp | 2607 SDValue ShAmt = ShiftOp.getOperand(1); in foldAddSubOfSignBit() local 4071 SDValue ShAmt = N1.getOperand(1); in visitSUB() local 4439 unsigned ShAmt = in visitMUL() local 6456 unsigned ShAmt) { in isLegalNarrowLdSt() 7616 SDValue ShAmt = DAG.getShiftAmountConstant(16, VT, DL); in matchBSwapHWordOrAndAnd() local 7677 SDValue ShAmt = DAG.getShiftAmountConstant(16, VT, DL); in MatchBSwapHWord() local 10696 unsigned ShAmt = UnknownBits.countr_zero(); in visitSRL() local 10804 unsigned ShAmt = Cst->getZExtValue(); in visitFunnelShift() local 11051 auto *ShAmt = dyn_cast<ConstantSDNode>(N0.getOperand(1)); in visitBSWAP() local 11074 auto *ShAmt = dyn_cast<ConstantSDNode>(N0.getOperand(1)); in visitBSWAP() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 79 Value *&ShAmt) { in foldGuardedFunnelShift() argument 111 Value *ShVal0, *ShVal1, *ShAmt; foldGuardedFunnelShift() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | APInt.cpp | 1958 APInt APInt::sshl_ov(const APInt &ShAmt, bool &Overflow) const { in sshl_ov() argument 1962 APInt APInt::sshl_ov(unsigned ShAmt, bool &Overflow) const { in sshl_ov() 1975 APInt APInt::ushl_ov(const APInt &ShAmt, bool &Overflow) const { in ushl_ov() argument 1979 APInt APInt::ushl_ov(unsigned ShAmt, bool &Overflow) const { in ushl_ov()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelLowering.cpp | 1244 SDValue ShAmt = Op.getOperand(2); in LowerSHL_PARTS() local 1292 SDValue ShAmt = Op.getOperand(2); in LowerSRL_PARTS() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.cpp | 1032 inline static bool isTruncatedShiftCountForLEA(unsigned ShAmt) { in isTruncatedShiftCountForLEA() 1283 unsigned ShAmt = MI.getOperand(2).getImm(); in convertToThreeAddressWithLEA() local 1442 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 1462 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 1496 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 4954 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in isDefConvertible() local
|
H A D | X86ISelDAGToDAG.cpp | 2420 uint64_t ShAmt = AddSrc.getConstantOperandVal(1); in matchIndexRecursively() local 4206 SDValue ShAmt = CurDAG->getTargetConstant(Shift, dl, NVT); in matchBEXTRFromAndImm() local 4446 uint64_t ShAmt = ShlCst->getZExtValue(); in tryShrinkShlLogicImm() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelDAGToDAG.cpp | 551 unsigned ShAmt) { in isShifterOpProfitable() 743 unsigned ShAmt = Log2_32(RHSC); in SelectLdStSOReg() local 771 unsigned ShAmt = 0; in SelectLdStSOReg() local 850 unsigned ShAmt = 0; in SelectAddrMode2OffsetReg() local 1511 unsigned ShAmt = 0; in SelectT2AddrModeSoReg() local
|