Lines Matching refs:NewBW
7316 unsigned NewBW = NextPowerOf2(MSB - ShAmt);
7317 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW);
7318 while (NewBW < BitWidth &&
7321 NewBW = NextPowerOf2(NewBW);
7322 NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW);
7324 if (NewBW >= BitWidth)
7329 if (ShAmt % NewBW)
7330 ShAmt = (((ShAmt + NewBW - 1) / NewBW) * NewBW) - NewBW;
7331 APInt Mask = APInt::getBitsSet(BitWidth, ShAmt, ShAmt + NewBW);
7333 APInt NewImm = (Imm & Mask).lshr(ShAmt).trunc(NewBW);
7335 NewImm ^= APInt::getAllOnesValue(NewBW);
7340 PtrOff = (BitWidth + 7 - NewBW) / 8 - PtrOff;