Skip to main content

Module abi

Module abi 

Source
Expand description

Native return-value ABI lowering for Cranelift.

Structsยง

ReturnAreaLayout ๐Ÿ”’
Layout of the explicit structure-return area.

Functionsยง

allocate_return_area ๐Ÿ”’
Allocate an explicit return area and return its address and layout.
bitcast ๐Ÿ”’
classify_returns ๐Ÿ”’
Classify return values for a target architecture.
load_sret ๐Ÿ”’
Load natural Wasm return values from an explicit return area.
natural_type ๐Ÿ”’
pack_pair ๐Ÿ”’
pack_register_returns ๐Ÿ”’
Pack natural Wasm values into native register-return carriers.
pack_slot ๐Ÿ”’
pair_type ๐Ÿ”’
return_area_layout ๐Ÿ”’
Compute the natural struct layout used for an explicit return area.
signature_to_ir ๐Ÿ”’
Lower a WebAssembly signature to the native signature described by ReturnAbi.
slot_type ๐Ÿ”’
store_sret ๐Ÿ”’
Store natural Wasm return values in an explicit return area.
type_size ๐Ÿ”’
unpack_register_returns ๐Ÿ”’
Unpack native register-return carriers into natural Wasm values.
unpack_slot ๐Ÿ”’