Skip to main content

Module control_flow

Module control_flow 

Source
Expand description

Immutable control-flow projections over canonical compiler IR.

This product exposes only facts represented by IntermediateRepresentation. Its coverage markers prevent later analyses from mistaking absent exception, suspension, or unknown-call IR for a proven empty set.

Structs§

ControlFlowAccessV1
One IR-owned data access; kind prevents values and semantic slots sharing a textual ID from being conflated by later analyses.
ControlFlowBlockV1
A basic block with exact IR-visible reads and writes.
ControlFlowBranchEdgeV1
One directed conditional edge in canonical IR.
ControlFlowCoverageV1
Explicit fail-closed coverage for a function control-flow projection.
ControlFlowFunctionV1
Control-flow and data-access facts for one canonical IR function.
ControlFlowGraphV1
A deterministic, Presolve-owned per-function control-flow product.
ControlFlowLoopV1
Natural-loop facts already retained by canonical IR.
ControlFlowProvenanceV1
Serializable source provenance retained through the CFG projection.

Enums§

ControlFlowAccessKindV1
ControlFlowBranchArmV1
ControlFlowCoverageStatusV1
Whether a required analysis dimension is encoded by the current IR.

Constants§

CONTROL_FLOW_SCHEMA_VERSION

Functions§

build_control_flow_graph_v1
Projects all canonical IR functions into stable control-flow records.