/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 90 Value *&ShAmt) { in foldGuardedFunnelShift() 125 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 544 auto NewInnerShift = [&](unsigned ShAmt) { in foldShiftedShift() 707 Constant *ShAmt = ConstantExpr::getZExt(Op1, SrcTy); in FoldShiftByConstant() local 913 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitShl() local 1053 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitLShr() local 1276 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitAShr() local
|
H A D | InstCombineCasts.cpp | 589 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift() local 836 Constant *ShAmt = ConstantExpr::getUMin(C, MaxAmt); in visitTrunc() local 846 Constant *ShAmt = ConstantExpr::getUMin(C, MaxAmt); in visitTrunc() local 865 auto *ShAmt = ConstantExpr::getIntegerCast(C, A->getType(), true); in visitTrunc() local 993 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp() local 1493 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() local 1505 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize); in visitSExt() local
|
H A D | InstCombineAddSub.cpp | 952 unsigned ShAmt = 0; in foldAddWithConstant() local 1264 Value *X, *Y, *ShAmt; in factorizeMathWithShlOps() local 2076 const APInt *ShAmt; in visitSub() local
|
H A D | InstCombineCompares.cpp | 4328 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits); in foldICmpEquality() local 4342 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits); in foldICmpEquality() local 4354 uint64_t ShAmt = 0; in foldICmpEquality() local
|
H A D | InstCombineAndOrXor.cpp | 2199 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width); in matchFunnelShift() local 3219 const APInt *ShAmt; in canonicalizeAbs() local
|
H A D | InstCombineVectorOps.cpp | 241 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
H A D | RISCVISelDAGToDAG.h | 50 bool selectShiftMaskXLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskXLen() 53 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
|
H A D | RISCVISelDAGToDAG.cpp | 411 uint64_t ShAmt = N1C->getZExtValue(); in Select() local 1221 SDValue &ShAmt) { in selectShiftMask()
|
H A D | RISCVISelLowering.cpp | 2015 SDValue ShAmt = DAG.getNode(ISD::AND, DL, VT, Op.getOperand(2), in LowerOperation() local 5103 unsigned ShAmt; member 5138 uint64_t ShAmt = Op.getConstantOperandVal(1); in matchRISCVBitmanipPat() local 5597 SDValue ShAmt = N->getOperand(2); in PerformDAGCombine() local 5614 SDValue ShAmt = N->getOperand(2); in PerformDAGCombine() local 5629 SDValue ShAmt = N->getOperand(1); in PerformDAGCombine() local 5660 SDValue ShAmt = N->getOperand(1); in PerformDAGCombine() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULateCodeGenPrepare.cpp | 175 unsigned ShAmt = Adjust * 8; in visitLoadInst() local
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 723 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 762 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyMultipleUseDemandedBits() local 1448 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 1540 unsigned ShAmt = MaxSA->getZExtValue(); in SimplifyDemandedBits() local 1556 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 1622 unsigned ShAmt = SA->getZExtValue(); in SimplifyDemandedBits() local 2137 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, VT); in SimplifyDemandedBits() local 3529 if (ConstantSDNode *ShAmt = isConstOrConstSplat(N0.getOperand(1))) { in SimplifySetCC() local 6506 SDValue ShAmt, InvShAmt; in expandFunnelShift() local 6584 SDValue ShAmt = DAG.getNode(ISD::AND, DL, ShVT, Op1, BitWidthMinusOneC); in expandROT() local 6592 SDValue ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Op1, BitWidthC); in expandROT() local [all …]
|
H A D | DAGCombiner.cpp | 2229 SDValue ShAmt = ShiftOp.getOperand(1); in foldAddSubOfSignBit() local 3557 SDValue ShAmt = N1.getOperand(1); in visitSUB() local 3859 unsigned ShAmt = in visitMUL() local 5230 unsigned ShAmt) { in isLegalNarrowLdSt() 6204 SDValue ShAmt = DAG.getConstant(16, DL, ShiftAmountTy); in matchBSwapHWordOrAndAnd() local 6266 SDValue ShAmt = DAG.getConstant(16, DL, getShiftAmountTy(VT)); in MatchBSwapHWord() local 8866 unsigned ShAmt = UnknownBits.countTrailingZeros(); in visitSRL() local 8970 unsigned ShAmt = Cst->getZExtValue(); in visitFunnelShift() local 11313 SDValue ShAmt = N0.getOperand(1); in visitZERO_EXTEND() local 11614 unsigned ShAmt = 0; in ReduceLoadWidth() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.cpp | 1180 inline static bool isTruncatedShiftCountForLEA(unsigned ShAmt) { in isTruncatedShiftCountForLEA() 1294 unsigned ShAmt = MI.getOperand(2).getImm(); in convertToThreeAddressWithLEA() local 1409 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 1428 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 1460 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local 3992 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in isDefConvertible() local
|
H A D | X86ISelDAGToDAG.cpp | 3749 SDValue ShAmt = CurDAG->getTargetConstant(Shift, dl, NVT); in matchBEXTRFromAndImm() local 3963 uint64_t ShAmt = ShlCst->getZExtValue(); in tryShrinkShlLogicImm() local
|
/netbsd-src/external/apache2/llvm/dist/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
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 273 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local 296 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
|
H A D | ConstantRange.cpp | 282 ConstantRange ShAmt = Other.intersectWith( in makeGuaranteedNoWrapRegion() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | ARMISelDAGToDAG.cpp | 528 unsigned ShAmt) { in isShifterOpProfitable() 720 unsigned ShAmt = Log2_32(RHSC); in SelectLdStSOReg() local 748 unsigned ShAmt = 0; in SelectLdStSOReg() local 827 unsigned ShAmt = 0; in SelectAddrMode2OffsetReg() local 1490 unsigned ShAmt = 0; in SelectT2AddrModeSoReg() local
|
H A D | ARMBaseInstrInfo.cpp | 4175 unsigned ShAmt = DefMI.getOperand(3).getImm(); in adjustDefLatency() local 4206 unsigned ShAmt = DefMI.getOperand(3).getImm(); in adjustDefLatency() local 4482 unsigned ShAmt = in getOperandLatency() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 1954 SDValue ShAmt = Op.getOperand(2); in LowerShiftRightParts() local 2015 SDValue ShAmt = Op.getOperand(2); in LowerShiftLeftParts() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | APInt.cpp | 2014 APInt APInt::sshl_ov(const APInt &ShAmt, bool &Overflow) const { in sshl_ov() argument 2027 APInt APInt::ushl_ov(const APInt &ShAmt, bool &Overflow) const { in ushl_ov() argument
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 2145 uint64_t ShAmt = 8 * Offset; in extractInteger() local 2176 uint64_t ShAmt = 8 * Offset; in insertInteger() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 2813 unsigned ShAmt = C2->urem(BitWidth); in ConstantFoldScalarCall3() local
|