Module cfg

Module cfg 

Source

Structsยง

CfgBlock
Reusable CFG block structure shared by analyses built over MIR.
ControlFlowGraph
Generic MIR control-flow graph container.

Functionsยง

record_member_nodes ๐Ÿ”’
Record membership, exit edges, and back edges for all non-root SCC members.
record_root_exits ๐Ÿ”’
Record exits from the SCC root to blocks outside the SCC.
rerun_scc_in_isolation ๐Ÿ”’
Re-run SCC discovery with a temporarily reduced graph to discover nested SCCs.
scc_handler ๐Ÿ”’
Handle a newly discovered SCC: mark the root, collect membership and edge metadata, then re-run SCC discovery on an isolated subgraph to populate nested SCC structure.