/openbsd/gnu/llvm/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 | LoongArchISelDAGToDAG.cpp | 150 SDValue &ShAmt) { in selectShiftMask()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 638 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 D | InstCombineShifts.cpp | 594 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 D | InstCombineNegator.cpp | 263 Constant *ShAmt; in visitImpl() local
|
H A D | InstCombineAddSub.cpp | 944 unsigned ShAmt = 0; in foldAddWithConstant() local 1276 Value *X, *Y, *ShAmt; in factorizeMathWithShlOps() local 2305 const APInt *ShAmt; in visitSub() local
|
H A D | InstCombineVectorOps.cpp | 288 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() local 1555 uint64_t ShAmt; in foldTruncInsEltPair() local
|
H A D | InstCombineCompares.cpp | 4681 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 D | RISCVISelDAGToDAG.cpp | 640 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 D | RISCVISelDAGToDAG.h | 56 bool selectShiftMaskXLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskXLen() 59 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
|
H A D | RISCVMergeBaseOffset.cpp | 268 unsigned ShAmt; in foldShiftedOffset() local
|
H A D | RISCVTargetTransformInfo.cpp | 86 unsigned ShAmt = cast<ConstantInt>(BO->getOperand(1))->getZExtValue(); in canUseShiftPair() local
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULateCodeGenPrepare.cpp | 175 unsigned ShAmt = Adjust * 8; in visitLoadInst() local
|
/openbsd/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 66 Value *&ShAmt) { in foldGuardedFunnelShift() 101 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 773 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 D | DAGCombiner.cpp | 2394 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 D | PPExpressions.cpp | 742 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 272 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local 295 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
|
H A D | ConstantRange.cpp | 335 ConstantRange ShAmt = Other.intersectWith( in makeGuaranteedNoWrapRegion() local
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.cpp | 962 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 D | LanaiISelLowering.cpp | 1243 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 D | ARMISelDAGToDAG.cpp | 544 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 D | ARMBaseInstrInfo.cpp | 4223 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 D | APInt.cpp | 1986 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 D | NVPTXISelLowering.cpp | 2091 SDValue ShAmt = Op.getOperand(2); in LowerShiftRightParts() local 2152 SDValue ShAmt = Op.getOperand(2); in LowerShiftLeftParts() local
|