Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp90 Value *&ShAmt) { in foldGuardedFunnelShift()
125 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp544 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 DInstCombineCasts.cpp589 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 DInstCombineAddSub.cpp952 unsigned ShAmt = 0; in foldAddWithConstant() local
1264 Value *X, *Y, *ShAmt; in factorizeMathWithShlOps() local
2076 const APInt *ShAmt; in visitSub() local
H A DInstCombineCompares.cpp4328 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 DInstCombineAndOrXor.cpp2199 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width); in matchFunnelShift() local
3219 const APInt *ShAmt; in canonicalizeAbs() local
H A DInstCombineVectorOps.cpp241 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.h50 bool selectShiftMaskXLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskXLen()
53 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32()
H A DRISCVISelDAGToDAG.cpp411 uint64_t ShAmt = N1C->getZExtValue(); in Select() local
1221 SDValue &ShAmt) { in selectShiftMask()
H A DRISCVISelLowering.cpp2015 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 DAMDGPULateCodeGenPrepare.cpp175 unsigned ShAmt = Adjust * 8; in visitLoadInst() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPExpressions.cpp723 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp762 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 DDAGCombiner.cpp2229 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 DX86InstrInfo.cpp1180 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 DX86ISelDAGToDAG.cpp3749 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 DLanaiISelLowering.cpp1243 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 DConstantFold.cpp273 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
296 APInt ShAmt = Amt->getValue(); in ExtractConstantBytes() local
H A DConstantRange.cpp282 ConstantRange ShAmt = Other.intersectWith( in makeGuaranteedNoWrapRegion() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp528 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 DARMBaseInstrInfo.cpp4175 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 DNVPTXISelLowering.cpp1954 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 DAPInt.cpp2014 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 DSROA.cpp2145 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 DConstantFolding.cpp2813 unsigned ShAmt = C2->urem(BitWidth); in ConstantFoldScalarCall3() local

12