Module aggregate

Source

Structsยง

AggregateLayout ๐Ÿ”’
EnumLayout ๐Ÿ”’
EnumVariantLayout ๐Ÿ”’
FieldLayout ๐Ÿ”’

Enumsยง

CollectionLayout ๐Ÿ”’
Collection storage layout used by the backend runtime model.

Functionsยง

aggregate_field_index ๐Ÿ”’
Return one aggregate field index by tuple index or struct declaration order.
aggregate_field_layout ๐Ÿ”’
aggregate_field_offset ๐Ÿ”’
Return one aggregate field byte offset in payload layout order.
aggregate_field_ty ๐Ÿ”’
Return the type of one aggregate field.
aggregate_field_types ๐Ÿ”’
aggregate_layout ๐Ÿ”’
aggregate_payload_bytes ๐Ÿ”’
Return total aggregate payload bytes (excluding backend header space).
align_to ๐Ÿ”’
collection_layout ๐Ÿ”’
Resolve the backend layout used for collection-like values.
emit_aggregate_base_ptr ๐Ÿ”’
Load the current aggregate pointer used as the root for a field access or assignment.
emit_array_alloc ๐Ÿ”’
Allocate heap bytes and write array header with len/cap.
emit_array_store ๐Ÿ”’
Store a runtime local in an array slot with widening when required.
emit_read_aggregate_field_ptr ๐Ÿ”’
Read one aggregate field and leave the resulting pointer-like value on the stack.
emit_struct_base_ptr ๐Ÿ”’
Load the current struct pointer used as the root for a field assignment.
emit_tuple_base_ptr ๐Ÿ”’
Load the current tuple pointer used as the root for a tuple field access.
emit_write_aggregate_field ๐Ÿ”’
Write one aggregate field from a runtime local.
enum_field_layout ๐Ÿ”’
enum_layout ๐Ÿ”’
enum_payload_bytes ๐Ÿ”’
is_inline_aggregate_ty ๐Ÿ”’
is_tuple_base_ty ๐Ÿ”’
Return whether a local type can act as a tuple field base.
layout_from_field_tys ๐Ÿ”’
mir_type_expr_to_ty ๐Ÿ”’
Convert a concrete MIR field type back into checker type form.
root_aggregate_ty ๐Ÿ”’
Return the aggregate type reachable through a direct local or reference local.
scalar_layout ๐Ÿ”’
struct_field_index_by_name ๐Ÿ”’
Return one struct field index in declaration order.
value_layout ๐Ÿ”’