Expand description
The communicating control-flow graph (Ccfg), the IR every backend reads.
A System is the project’s graphs: per program with processes an
system::Orchestration, one graph::Ccfg per bound Microkit
entry point, its guards and labels tast’s nodes, and each buffered
channel’s Ring and each typed Sync channel’s Message; [build]
builds it from tast, and the backends
read it.
Re-exports§
Modules§
- build
tast → ccfg: each program’s entry points flattened into its graphs (flatten.rs), each buffered channel’s ring sized (ring.rs), and each typedSyncchannel’s message (message.rs).- graph
- A graph and its labels: the object
fidus’sCcfg.leanformalises, - message
- Each typed
Syncchannel’s message (messages): its value, by copy, in the message registers of the protected procedure call. A lowering, like the rings, so it is sized here; a value that does not fit is an error. - ring
- Each buffered channel’s ring (
rings), sized as filib lays it out:HEADER, then as many payload-sized slots as fit. A lowering, not a type, so it is sized here; a region with no slot is an error. - system
- The project’s graphs: one
Orchestrationper program, by the program’s id. Declarations are not copied here: a label or guard names them bytast’s ids, and a backend reads them fromtast.