soffset — LLVM 21.1.4 documentation

# soffset

An unsigned offset, which is added to the base address to get the memory address.

- If offset is specified as a register, it supplies an unsigned byte offset but 2 lsb’s are ignored.

- If offset is specified as an uimm32, it supplies a 32-bit unsigned byte offset but 2 lsb’s are ignored.

- If offset is specified as an uimm8, it supplies an 8-bit unsigned dword offset.

Size: 1 dword.

Operands: s, flat_scratch, vcc, trap, uimm8, uimm32