- air: own<T>, own_array<T>, region, alloc_error; own.new/array/take/ free, region.create/new/array/reset/destroy; mem.alloc budget form; linear contents of owners gated by linear_aggregates - verifier: allocation types and capability kind (E1001, E3201), mem.alloc effect (E3101), ok/err counts; borrow-typed block params checked in the CFG stage with the region-allocation exception; linear owners and regions (E3002, E3001, E2001, E2002, E2101); region allocations as disjoint exclusive children of the shared region borrow; E2104 when reset/destroy would invalidate a live reference - interp: live-byte budgets charged along the narrowing chain, shared by copies, mandatory in the deterministic profile; heap cells; regions return quota only on reset/destroy - conformance: 25 heap/region tests including a 64 KiB region file copy; 4000 mutants without a crash
44 lines
1.3 KiB
Zig
44 lines
1.3 KiB
Zig
//! AIR — Aji Intermediate Representation (spec 07, spec 07a, RFC 0004).
|
|
//!
|
|
//! Text AIR is the canonical interchange until opcode numbering freezes
|
|
//! (RFC 0004 "Binary stability").
|
|
|
|
const module = @import("air/module.zig");
|
|
|
|
pub const format_version = module.format_version;
|
|
pub const lang_version = module.lang_version;
|
|
|
|
pub const Module = module.Module;
|
|
pub const Function = module.Function;
|
|
pub const Block = module.Block;
|
|
pub const Inst = module.Inst;
|
|
pub const Op = module.Op;
|
|
pub const Type = module.Type;
|
|
pub const IntType = module.IntType;
|
|
pub const TypeDecl = module.TypeDecl;
|
|
pub const ValueId = module.ValueId;
|
|
pub const Span = module.Span;
|
|
pub const Param = module.Param;
|
|
pub const Target = module.Target;
|
|
pub const ArithOp = module.ArithOp;
|
|
pub const ArithMode = module.ArithMode;
|
|
pub const BitOp = module.BitOp;
|
|
pub const CmpOp = module.CmpOp;
|
|
pub const CastMode = module.CastMode;
|
|
pub const forEachUse = module.forEachUse;
|
|
pub const successors = module.successors;
|
|
pub const allocTargets = module.allocTargets;
|
|
|
|
pub const parse = @import("air/parse.zig");
|
|
pub const print = @import("air/print.zig");
|
|
pub const features = @import("air/features.zig");
|
|
pub const authority = module.authority;
|
|
|
|
test {
|
|
_ = module;
|
|
_ = parse;
|
|
_ = print;
|
|
_ = features;
|
|
_ = authority;
|
|
}
|