Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/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 DLoongArchISelDAGToDAG.cpp150 SDValue &ShAmt) { in selectShiftMask()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp638 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift() local
731 auto *ShAmt = ConstantExpr::getIntegerCast(C, A->getType(), true); in narrowBinOp() local
910 Constant *ShAmt = ConstantExpr::getUMin(C, MaxAmt); in visitTrunc() local
920 Constant *ShAmt = ConstantExpr::getUMin(C, MaxAmt); in visitTrunc() local
1061 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp() local
1087 Value *X, *ShAmt; in transformZExtICmp() local
1529 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local
1545 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize); in visitSExt() local
H A DInstCombineShifts.cpp594 auto NewInnerShift = [&](unsigned ShAmt) { in foldShiftedShift()
870 const unsigned ShAmt = ShAmtAPInt->getZExtValue(); in foldLShrOverflowBit() local
1495 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitAShr() local
H A DInstCombineNegator.cpp263 Constant *ShAmt; in visitImpl() local
H A DInstCombineAddSub.cpp944 unsigned ShAmt = 0; in foldAddWithConstant() local
1276 Value *X, *Y, *ShAmt; in factorizeMathWithShlOps() local
2305 const APInt *ShAmt; in visitSub() local
H A DInstCombineVectorOps.cpp288 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() local
1555 uint64_t ShAmt; in foldTruncInsEltPair() local
H A DInstCombineCompares.cpp4681 unsigned ShAmt = AP1->getLimitedValue(TypeBits); in foldICmpEquality() local
4696 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits); in foldICmpEquality() local
4708 uint64_t ShAmt = 0; in foldICmpEquality() local
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp640 uint64_t ShAmt = ShlCst->getZExtValue(); in tryShrinkShlLogicImm() local
723 unsigned ShAmt = N1C->getZExtValue(); in Select() local
752 unsigned ShAmt = N1C->getZExtValue(); in Select() local
832 unsigned ShAmt = N1C->getZExtValue(); in Select() local
2066 SDValue &ShAmt) { in selectShiftMask()
2168 bool RISCVDAGToDAGISel::selectSHXADDOp(SDValue N, unsigned ShAmt, in selectSHXADDOp()
2263 bool RISCVDAGToDAGISel::selectSHXADD_UWOp(SDValue N, unsigned ShAmt, in selectSHXADD_UWOp()
2402 unsigned ShAmt = User->getConstantOperandVal(1); in hasAllNBitUsers() local
H A DRISCVISelDAGToDAG.h56 bool selectShiftMaskXLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskXLen()
59 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
H A DRISCVMergeBaseOffset.cpp268 unsigned ShAmt; in foldShiftedOffset() local
H A DRISCVTargetTransformInfo.cpp86 unsigned ShAmt = cast<ConstantInt>(BO->getOperand(1))->getZExtValue(); in canUseShiftPair() local
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp175 unsigned ShAmt = Adjust * 8; in visitLoadInst() local
/openbsd/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp66 Value *&ShAmt) { in foldGuardedFunnelShift()
101 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp773 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyMultipleUseDemandedBits() local
1692 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local
1811 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyDemandedBits() local
1832 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local
1913 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local
2684 if (unsigned ShAmt = getShiftLeftAmt(Op0)) in SimplifyDemandedBits() local
2687 if (unsigned ShAmt = getShiftLeftAmt(Op1)) in SimplifyDemandedBits() local
4155 unsigned ShAmt = ShAmtC->getZExtValue(); in foldSetCCWithFunnelShift() local
7458 SDValue ShAmt, InvShAmt; in expandVPFunnelShift() local
7561 SDValue ShAmt, InvShAmt; in expandFunnelShift() local
[all …]
H A DDAGCombiner.cpp2394 SDValue ShAmt = ShiftOp.getOperand(1); in foldAddSubOfSignBit() local
3761 SDValue ShAmt = N1.getOperand(1); in visitSUB() local
4119 unsigned ShAmt = in visitMUL() local
5771 unsigned ShAmt) { in isLegalNarrowLdSt()
9915 unsigned ShAmt = UnknownBits.countTrailingZeros(); in visitSRL() local
10026 unsigned ShAmt = Cst->getZExtValue(); in visitFunnelShift() local
12960 SDValue ShAmt = N0.getOperand(1); in visitZERO_EXTEND() local
13262 unsigned ShAmt = 0; in reduceLoadWidth() local
13415 auto AdjustBigEndianShift = [&](unsigned ShAmt) { in reduceLoadWidth()
18314 unsigned ShAmt = Imm.countTrailingZeros(); in ReduceLoadOpStoreWidth() local
[all …]
/openbsd/gnu/llvm/clang/lib/Lex/
H A DPPExpressions.cpp742 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
/openbsd/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp272 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
295 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
H A DConstantRange.cpp335 ConstantRange ShAmt = Other.intersectWith( in makeGuaranteedNoWrapRegion() local
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp962 inline static bool isTruncatedShiftCountForLEA(unsigned ShAmt) { in isTruncatedShiftCountForLEA()
1188 unsigned ShAmt = MI.getOperand(2).getImm(); in convertToThreeAddressWithLEA() local
1348 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local
1367 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local
1401 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local
4164 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in isDefConvertible() local
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1243 SDValue ShAmt = Op.getOperand(2); in LowerSHL_PARTS() local
1291 SDValue ShAmt = Op.getOperand(2); in LowerSRL_PARTS() local
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp544 unsigned ShAmt) { in isShifterOpProfitable()
736 unsigned ShAmt = Log2_32(RHSC); in SelectLdStSOReg() local
764 unsigned ShAmt = 0; in SelectLdStSOReg() local
843 unsigned ShAmt = 0; in SelectAddrMode2OffsetReg() local
1506 unsigned ShAmt = 0; in SelectT2AddrModeSoReg() local
H A DARMBaseInstrInfo.cpp4223 unsigned ShAmt = DefMI.getOperand(3).getImm(); in adjustDefLatency() local
4254 unsigned ShAmt = DefMI.getOperand(3).getImm(); in adjustDefLatency() local
4530 unsigned ShAmt = in getOperandLatency() local
/openbsd/gnu/llvm/llvm/lib/Support/
H A DAPInt.cpp1986 APInt APInt::sshl_ov(const APInt &ShAmt, bool &Overflow) const { in sshl_ov() argument
1999 APInt APInt::ushl_ov(const APInt &ShAmt, bool &Overflow) const { in ushl_ov() argument
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2091 SDValue ShAmt = Op.getOperand(2); in LowerShiftRightParts() local
2152 SDValue ShAmt = Op.getOperand(2); in LowerShiftLeftParts() local

12