Skip to main content

Module context

Module context 

Source
Expand description

The central arena for all IR state: Context.

Structs§

Context
The central arena that owns all IR state.
FunctionIter
NameTable
A name → value reverse map with amortized unique-name minting.
Shared
Module-shared IR state: regimes 1–3 of the context-split design (see docs/plans/context-split/00-overview.md). Holds the frozen architecture (spaces, registers, memory image), the append-interned value arenas (literals, bytes, varnodes, types) inside values, and the phase-mutable module maps (names, truths, discoveries, call sites). Everything here is reachable through a frozen &Shared view; nothing per-function-body lives here.

Enums§

TargetOs
The operating system of a loaded binary, inferred from its container format. The enum now lives in the leaf wazabin_binary crate (next to the container parsers); re-exported here so qcode::context::TargetOs keeps resolving. The operating system of a loaded binary, inferred from its container format.