Skip to content

#func.abi.c.type attribute

← Attribute reference

One postorder source object type node. Composite references name only preceding nodes.

kind is the compact positional parameter.

Parameters

Name Kind Cardinality Description
kind enum CAbiTypeKind required Source object kind.
byte_length i64 required Complete source object footprint.
byte_alignment i64 required Required source object alignment.
component_count i64 required Number of values in the flattened High projection.
bitwidth i64 optional Integer value bit width.
format enum CAbiFloatFormat optional Floating representation.
address_space i64 optional Source object-pointer address space; absent means generic.
element_type i64 optional Index of a preceding vector or array element type node.
element_count i64 optional Fixed vector lane or array element count.
element_stride i64 optional Array element stride in bytes.
name string optional Diagnostic record name.
fields parameterized_array #func.abi.c.field optional Declaration-order record fields.