Skip to main content

Crate parallax_pcir

Crate parallax_pcir 

Source
Expand description

Parallax Continuation IR (PCIR).

A portable control-flow subset used at Continuum safepoints. PCIR is not a full guest ISA — adapters lower only supported regions.

Distinct from PIR: PIR models values; PCIR models control.

Structs§

PcirBlock
A basic block of PCIR ops.
PcirFunction
A PCIR function.
PcirModule
Optional module grouping (for mixed-origin stacks).
PcirProgram
Top-level PCIR program.
ValueId
SSA-style temporary / register id within a function.

Enums§

BinaryOperator
Binary operators in the portable subset.
CompareOperator
Comparison operators.
Operand
Operand: a value id or an immediate JSON-encoded PIR leaf.
PcirOp
Portable control / data ops. Adapters lower only supported regions into these.
UnaryOperator
Unary operators.

Constants§

PCIR_SCHEMA_VERSION
Parallax Continuation IR (PCIR) schema version. Independent of PIR and UES.

Functions§

check_pcir_schema
Reject unknown / future PCIR schema majors.
from_json_bytes
Deserialize and validate a PCIR program.
to_json_bytes
Serialize a PCIR program to pretty JSON.
to_json_bytes_compact
Serialize a PCIR program to compact JSON.

Type Aliases§

Result
Result alias.