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.h48 bool selectShiftMaskGRLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskGRLen()
51 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
H A DLoongArchOptWInstrs.cpp190 unsigned ShAmt = UserMI->getOperand(2).getImm(); in hasAllNBitUsers() local
H A DLoongArchISelDAGToDAG.cpp233 SDValue &ShAmt) { in selectShiftMask()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp510 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 DInstCombineNegator.cpp264 Constant *ShAmt; in visitImpl() local
H A DInstCombineShifts.cpp638 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 DInstCombineAddSub.cpp963 unsigned ShAmt = 0; in foldAddWithConstant() local
1422 Value *X, *Y, *ShAmt; in factorizeMathWithShlOps() local
2564 const APInt *ShAmt; in visitSub() local
H A DInstCombineVectorOps.cpp291 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() local
1578 uint64_t ShAmt; in foldTruncInsEltPair() local
H A DInstCombineAndOrXor.cpp2169 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 DRISCVISelDAGToDAG.h88 bool selectShiftMaskXLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskXLen()
91 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
H A DRISCVISelDAGToDAG.cpp645 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 DRISCVMergeBaseOffset.cpp286 unsigned ShAmt; in foldShiftedOffset() local
H A DRISCVOptWInstrs.cpp208 unsigned ShAmt = UserMI->getOperand(2).getImm(); in hasAllNBitUsers() local
H A DRISCVTargetTransformInfo.cpp149 unsigned ShAmt = cast<ConstantInt>(BO->getOperand(1))->getZExtValue(); in canUseShiftPair() 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/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp499 unsigned ShAmt = Adjust * 8; in visitLoadInst() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp802 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 DLegalizeIntegerTypes.cpp587 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 DDAGCombiner.cpp2607 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 DAggressiveInstCombine.cpp79 Value *&ShAmt) { in foldGuardedFunnelShift() argument
111 Value *ShVal0, *ShVal1, *ShAmt; foldGuardedFunnelShift() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp1958 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 DLanaiISelLowering.cpp1244 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 DX86InstrInfo.cpp1032 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 DX86ISelDAGToDAG.cpp2420 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 DARMISelDAGToDAG.cpp551 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

12