infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
infix_arg_location Struct Reference

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 Description

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.

Member Data Documentation

◆ num_regs

uint8_t infix_arg_location::num_regs

The number of consecutive registers consumed (e.g., for HFAs).

◆ reg_index

uint8_t infix_arg_location::reg_index

The index of the primary register used.

◆ reg_index2

uint8_t infix_arg_location::reg_index2

The index of the second register (for pairs).

◆ stack_offset

uint32_t infix_arg_location::stack_offset

The byte offset from the stack pointer.

◆ type

infix_arg_location_type infix_arg_location::type

The classification of the argument's location.


The documentation for this struct was generated from the following file: