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

#include <infix_internals.h>

Collaboration diagram for infix_call_frame_layout:
[legend]

Public Attributes

size_t total_stack_alloc
 Total bytes for ABI-compliant stack arguments, 16-byte aligned.
 
uint8_t num_gpr_args
 The highest index of a GPR used for arguments.
 
uint8_t num_xmm_args
 The highest index of an XMM register used for arguments.
 
infix_arg_locationarg_locations
 An array detailing the location of each argument.
 
bool return_value_in_memory
 True if the return value is passed via a hidden pointer argument.
 
bool is_variadic
 True if the call is variadic, requiring special ABI handling.
 
size_t num_stack_args
 The number of arguments passed on the stack.
 
size_t num_args
 The total number of arguments.
 
void * target_fn
 If non-NULL, the target function for a bound trampoline.
 

Member Data Documentation

◆ arg_locations

infix_arg_location* infix_call_frame_layout::arg_locations

An array detailing the location of each argument.

◆ is_variadic

bool infix_call_frame_layout::is_variadic

True if the call is variadic, requiring special ABI handling.

◆ num_args

size_t infix_call_frame_layout::num_args

The total number of arguments.

◆ num_gpr_args

uint8_t infix_call_frame_layout::num_gpr_args

The highest index of a GPR used for arguments.

◆ num_stack_args

size_t infix_call_frame_layout::num_stack_args

The number of arguments passed on the stack.

◆ num_xmm_args

uint8_t infix_call_frame_layout::num_xmm_args

The highest index of an XMM register used for arguments.

◆ return_value_in_memory

bool infix_call_frame_layout::return_value_in_memory

True if the return value is passed via a hidden pointer argument.

◆ target_fn

void* infix_call_frame_layout::target_fn

If non-NULL, the target function for a bound trampoline.

◆ total_stack_alloc

size_t infix_call_frame_layout::total_stack_alloc

Total bytes for ABI-compliant stack arguments, 16-byte aligned.


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