Lines Matching defs:ShAmt

3032   SDValue ShAmt = DAG.getConstant(16, getShiftAmountTy(VT));
3034 return DAG.getNode(ISD::ROTL, N->getDebugLoc(), VT, BSwap, ShAmt);
3036 return DAG.getNode(ISD::ROTR, N->getDebugLoc(), VT, BSwap, ShAmt);
3038 DAG.getNode(ISD::SHL, N->getDebugLoc(), VT, BSwap, ShAmt),
3039 DAG.getNode(ISD::SRL, N->getDebugLoc(), VT, BSwap, ShAmt));
3899 uint64_t ShAmt = N1C->getZExtValue()+64-N0.getValueSizeInBits();
3901 DAG.getConstant(~0ULL >> ShAmt, VT));
3950 unsigned ShAmt = UnknownBits.countTrailingZeros();
3953 if (ShAmt) {
3955 DAG.getConstant(ShAmt, getShiftAmountTy(Op.getValueType())));
4843 SDValue ShAmt = N0.getOperand(1);
4844 unsigned ShAmtVal = cast<ConstantSDNode>(ShAmt)->getZExtValue();
4859 ShAmt = DAG.getNode(ISD::ZERO_EXTEND, DL, MVT::i32, ShAmt);
4863 ShAmt);
5107 unsigned ShAmt = 0;
5110 ShAmt = N01->getZExtValue();
5112 if ((ShAmt & (EVTBits-1)) == 0) {
5131 if (ShAmt >= cast<LoadSDNode>(N0)->getMemoryVT().getSizeInBits())
5139 if (ShAmt == 0 && N0.getOpcode() == ISD::SHL && N0.hasOneUse() &&
5180 ShAmt = LVTStoreBits - EVTStoreBits - ShAmt;
5183 uint64_t PtrOff = ShAmt / 8;
5279 if (ConstantSDNode *ShAmt = dyn_cast<ConstantSDNode>(N0.getOperand(1)))
5280 if (ShAmt->getZExtValue()+EVTBits <= VTBits) {
5284 if (VTBits-(ShAmt->getZExtValue()+EVTBits) < InSignBits)
7653 unsigned ShAmt = Imm.countTrailingZeros();
7655 unsigned NewBW = NextPowerOf2(MSB - ShAmt);
7668 if (ShAmt % NewBW)
7669 ShAmt = (((ShAmt + NewBW - 1) / NewBW) * NewBW) - NewBW;
7670 APInt Mask = APInt::getBitsSet(BitWidth, ShAmt,
7671 std::min(BitWidth, ShAmt + NewBW));
7673 APInt NewImm = (Imm & Mask).lshr(ShAmt).trunc(NewBW);
7676 uint64_t PtrOff = ShAmt / 8;