Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.h50 bool selectShiftMaskGRLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskGRLen()
53 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
H A DLoongArchISelDAGToDAG.cpp228 SDValue &ShAmt) { in selectShiftMask()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp502 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift() local
597 if (Constant *ShAmt = ConstantFoldIntegerCast(C, A->getType(), in narrowBinOp() local
778 Constant *ShAmt = ConstantFoldSelectInstruction(Cmp, C, MaxAmt); in visitTrunc() local
785 Constant *ShAmt = GetNewShAmt(DestWidth); in visitTrunc() local
793 Constant *ShAmt = GetNewShAmt(AWidth); in visitTrunc() local
927 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp() local
958 Value *X, *ShAmt; in transformZExtICmp() local
1427 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local
1443 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize); in visitSExt() local
H A DInstCombineNegator.cpp259 Constant *ShAmt; in visitImpl() local
H A DInstCombineShifts.cpp628 auto NewInnerShift = [&](unsigned ShAmt) { in foldShiftedShift()
904 const unsigned ShAmt = ShAmtAPInt->getZExtValue(); in foldLShrOverflowBit() local
1580 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitAShr() local
H A DInstCombineAddSub.cpp950 unsigned ShAmt = 0; in foldAddWithConstant() local
1380 Value *X, *Y, *ShAmt; in factorizeMathWithShlOps() local
2554 const APInt *ShAmt; in visitSub() local
H A DInstCombineVectorOps.cpp291 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() local
1570 uint64_t ShAmt; in foldTruncInsEltPair() local
H A DInstCombineAndOrXor.cpp2088 Value *ShAmt; in foldBinOpOfDisplacedShifts() local
2831 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width); in matchFunnelShift() local
4188 const APInt *ShAmt; in canonicalizeAbs() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp180 unsigned ShAmt = Adjust * 8; in visitLoadInst() local
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.h88 bool selectShiftMaskXLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskXLen()
91 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
H A DRISCVISelDAGToDAG.cpp647 uint64_t ShAmt = ShlCst->getZExtValue(); in tryShrinkShlLogicImm() local
981 unsigned ShAmt = N1C->getZExtValue(); in Select() local
1010 unsigned ShAmt = N1C->getZExtValue(); in Select() local
1094 unsigned ShAmt = N1C->getZExtValue(); in Select() local
2546 SDValue &ShAmt) { in selectShiftMask()
2731 bool RISCVDAGToDAGISel::selectSHXADDOp(SDValue N, unsigned ShAmt, in selectSHXADDOp()
2826 bool RISCVDAGToDAGISel::selectSHXADD_UWOp(SDValue N, unsigned ShAmt, in selectSHXADD_UWOp()
3004 unsigned ShAmt = User->getConstantOperandVal(1); in hasAllNBitUsers() local
H A DRISCVMergeBaseOffset.cpp279 unsigned ShAmt; in foldShiftedOffset() local
H A DRISCVOptWInstrs.cpp197 unsigned ShAmt = UserMI->getOperand(2).getImm(); in hasAllNBitUsers() local
H A DRISCVTargetTransformInfo.cpp130 unsigned ShAmt = cast<ConstantInt>(BO->getOperand(1))->getZExtValue(); in canUseShiftPair() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp67 Value *&ShAmt) { in foldGuardedFunnelShift()
99 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp744 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp789 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyMultipleUseDemandedBits() local
1729 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local
1888 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyDemandedBits() local
1909 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local
2015 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local
2866 if (unsigned ShAmt = getShiftLeftAmt(Op0)) in SimplifyDemandedBits() local
2869 if (unsigned ShAmt = getShiftLeftAmt(Op1)) in SimplifyDemandedBits() local
4355 unsigned ShAmt = ShAmtC->getZExtValue(); in foldSetCCWithFunnelShift() local
7779 SDValue ShAmt, InvShAmt; in expandVPFunnelShift() local
7882 SDValue ShAmt, InvShAmt; in expandFunnelShift() local
[all …]
H A DLegalizeIntegerTypes.cpp537 SDValue ShAmt = DAG.getShiftAmountConstant(DiffBits, NVT, dl); in PromoteIntRes_BSWAP() local
565 SDValue ShAmt = DAG.getShiftAmountConstant(DiffBits, NVT, dl); in PromoteIntRes_BITREVERSE() local
2162 SDValue ShAmt = DAG.getShiftAmountConstant(Diff, VT, dl); in PromoteIntOp_VP_SIGN_EXTEND() local
4423 SDValue ShAmt = N->getOperand(1); in ExpandIntRes_ShiftThroughStack() local
4634 SDValue ShAmt = DAG.getZExtOrTrunc(N->getOperand(1), dl, ShAmtTy); in ExpandIntRes_Shift() local
5037 SDValue ShAmt = N->getOperand(2); in ExpandIntRes_FunnelShift() local
H A DDAGCombiner.cpp2685 SDValue ShAmt = ShiftOp.getOperand(1); in foldAddSubOfSignBit() local
4113 SDValue ShAmt = N1.getOperand(1); in visitSUB() local
4483 unsigned ShAmt = in visitMUL() local
6452 unsigned ShAmt) { in isLegalNarrowLdSt()
10682 unsigned ShAmt = UnknownBits.countr_zero(); in visitSRL() local
10793 unsigned ShAmt = Cst->getZExtValue(); in visitFunnelShift() local
13880 SDValue ShAmt = N0.getOperand(1); in visitZERO_EXTEND() local
14190 unsigned ShAmt = 0; in reduceLoadWidth() local
14343 auto AdjustBigEndianShift = [&](unsigned ShAmt) { in reduceLoadWidth()
19606 unsigned ShAmt = Imm.countr_zero(); in ReduceLoadOpStoreWidth() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp1994 APInt APInt::sshl_ov(const APInt &ShAmt, bool &Overflow) const { in sshl_ov() argument
1998 APInt APInt::sshl_ov(unsigned ShAmt, bool &Overflow) const { in sshl_ov()
2011 APInt APInt::ushl_ov(const APInt &ShAmt, bool &Overflow) const { in ushl_ov() argument
2015 APInt APInt::ushl_ov(unsigned ShAmt, bool &Overflow) const { in ushl_ov()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1245 SDValue ShAmt = Op.getOperand(2); in LowerSHL_PARTS() local
1293 SDValue ShAmt = Op.getOperand(2); in LowerSRL_PARTS() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp1009 inline static bool isTruncatedShiftCountForLEA(unsigned ShAmt) { in isTruncatedShiftCountForLEA()
1260 unsigned ShAmt = MI.getOperand(2).getImm(); in convertToThreeAddressWithLEA() local
1419 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local
1439 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local
1473 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local
4849 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in isDefConvertible() local
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp545 unsigned ShAmt) { in isShifterOpProfitable()
737 unsigned ShAmt = Log2_32(RHSC); in SelectLdStSOReg() local
765 unsigned ShAmt = 0; in SelectLdStSOReg() local
844 unsigned ShAmt = 0; in SelectAddrMode2OffsetReg() local
1505 unsigned ShAmt = 0; in SelectT2AddrModeSoReg() local
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp162 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2426 SDValue ShAmt = Op.getOperand(2); in LowerShiftRightParts() local
2487 SDValue ShAmt = Op.getOperand(2); in LowerShiftLeftParts() local

12