Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:ShAmt

3358   SDValue ShAmt = DAG.getConstant(16, getShiftAmountTy(VT));
3360 return DAG.getNode(ISD::ROTL, SDLoc(N), VT, BSwap, ShAmt);
3362 return DAG.getNode(ISD::ROTR, SDLoc(N), VT, BSwap, ShAmt);
3364 DAG.getNode(ISD::SHL, SDLoc(N), VT, BSwap, ShAmt),
3365 DAG.getNode(ISD::SRL, SDLoc(N), VT, BSwap, ShAmt));
4536 uint64_t ShAmt = N1C->getZExtValue() + 64 - BitSize;
4538 DAG.getConstant(~0ULL >> ShAmt, VT));
4591 unsigned ShAmt = UnknownBits.countTrailingZeros();
4594 if (ShAmt) {
4596 DAG.getConstant(ShAmt, getShiftAmountTy(Op.getValueType())));
5325 unsigned ShAmt = VTBits - EVTBits;
5340 Elts.push_back(DAG.getConstant(C.shl(ShAmt).ashr(ShAmt).getZExtValue(),
5343 Elts.push_back(DAG.getConstant(C.shl(ShAmt).lshr(ShAmt).getZExtValue(),
6040 SDValue ShAmt = N0.getOperand(1);
6041 unsigned ShAmtVal = cast<ConstantSDNode>(ShAmt)->getZExtValue();
6056 ShAmt = DAG.getNode(ISD::ZERO_EXTEND, DL, MVT::i32, ShAmt);
6060 ShAmt);
6301 unsigned ShAmt = 0;
6304 ShAmt = N01->getZExtValue();
6306 if ((ShAmt & (EVTBits-1)) == 0) {
6325 if (ShAmt >= cast<LoadSDNode>(N0)->getMemoryVT().getSizeInBits())
6333 if (ShAmt == 0 && N0.getOpcode() == ISD::SHL && N0.hasOneUse() &&
6367 LN0->getMemoryVT().getSizeInBits() < ExtVT.getSizeInBits() + ShAmt)
6384 ShAmt = LVTStoreBits - EVTStoreBits - ShAmt;
6387 uint64_t PtrOff = ShAmt / 8;
6482 if (ConstantSDNode *ShAmt = dyn_cast<ConstantSDNode>(N0.getOperand(1)))
6483 if (ShAmt->getZExtValue()+EVTBits <= VTBits) {
6487 if (VTBits-(ShAmt->getZExtValue()+EVTBits) < InSignBits)
6539 unsigned ShAmt = VTBits - EVTBits;
6550 Elts.push_back(DAG.getConstant(C.shl(ShAmt).ashr(ShAmt).getZExtValue(),
9845 unsigned ShAmt = Imm.countTrailingZeros();
9847 unsigned NewBW = NextPowerOf2(MSB - ShAmt);
9863 if (ShAmt % NewBW)
9864 ShAmt = (((ShAmt + NewBW - 1) / NewBW) * NewBW) - NewBW;
9865 APInt Mask = APInt::getBitsSet(BitWidth, ShAmt,
9866 std::min(BitWidth, ShAmt + NewBW));
9868 APInt NewImm = (Imm & Mask).lshr(ShAmt).trunc(NewBW);
9871 uint64_t PtrOff = ShAmt / 8;