|
infix
A JIT-Powered FFI Library for C
|
Detailed location information for a single function argument. More...
#include <infix_internals.h>
Public Attributes | |
| infix_arg_location_type | type |
| uint8_t | reg_index |
| uint8_t | reg_index2 |
| uint8_t | num_regs |
| uint32_t | stack_offset |
Detailed location information for a single function argument.
This struct is the result of the ABI classification process for one argument. It provides all the information the code emitters need to generate the correct move/load/store instructions.
| uint8_t infix_arg_location::num_regs |
The number of consecutive registers consumed (e.g., for HFAs).
| uint8_t infix_arg_location::reg_index |
The index of the primary register used.
| uint8_t infix_arg_location::reg_index2 |
The index of the second register (for pairs).
| uint32_t infix_arg_location::stack_offset |
The byte offset from the stack pointer.
| infix_arg_location_type infix_arg_location::type |
The classification of the argument's location.