Structs
! Associated metadata attached mostly to values.
!
! Each value (instruction, function argument or constant) has associated metadata which helps
! describe properties which aren’t required for code generation, but help with other
! introspective tools (e.g., the debugger) or compiler error messages.
!
! The metadata themselves are opaque to sway-ir
and are represented with simple value types;
! integers, strings, symbols (tags) and lists.
Enums
Functions
Combine two metadata indices into one.