Lines Matching defs:OffsetSize
4488 const unsigned OffsetSize = 24;
4489 if (!isIntN(OffsetSize, Op.getImm())) {
4491 Twine("expected a ") + Twine(OffsetSize) + "-bit signed offset");
4495 const unsigned OffsetSize = 16;
4496 if (!isUIntN(OffsetSize, Op.getImm())) {
4498 Twine("expected a ") + Twine(OffsetSize) + "-bit unsigned offset");
4524 unsigned OffsetSize = AMDGPU::getNumFlatOffsetBits(getSTI());
4528 if (!isIntN(OffsetSize, Op.getImm()) || (!AllowNegative && Op.getImm() < 0)) {
4531 (AllowNegative ? Twine(OffsetSize) + "-bit signed offset"
4532 : Twine(OffsetSize - 1) + "-bit unsigned offset"));