Skip to content

global dialect

← Dialect reference

Module-level state: constants, parameters, mutable state.

Property Value
Bytecode dialect ID 0x0b
Registered by default yes
Operations 6

Operations

Operation Summary
global.constant Immutable global value with an optional inline scalar initializer.
global.load Load a value from a global.
global.rodata.decl Declare a read-only executable data symbol whose payload is supplied by artifact emission or linking.
global.rodata.def Read-only executable data payload.
global.store Store a value to a global.
global.variable Mutable global value with an optional inline scalar default initializer.