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

#include <infix_internals.h>

Public Attributes

infix_arg_location_type type
 The classification of the argument's location.
 
uint8_t reg_index
 The index of the first register used (e.g., 0 for RCX/RDI/X0).
 
uint8_t reg_index2
 The index of the second register if the argument is split.
 
uint8_t num_regs
 The number of registers this argument occupies (e.g., for HFAs).
 
uint32_t stack_offset
 The byte offset from the stack pointer if passed on the stack.
 

Member Data Documentation

◆ num_regs

uint8_t infix_arg_location::num_regs

The number of registers this argument occupies (e.g., for HFAs).

◆ reg_index

uint8_t infix_arg_location::reg_index

The index of the first register used (e.g., 0 for RCX/RDI/X0).

◆ reg_index2

uint8_t infix_arg_location::reg_index2

The index of the second register if the argument is split.

◆ stack_offset

uint32_t infix_arg_location::stack_offset

The byte offset from the stack pointer if passed on the stack.

◆ 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: