MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / DominatorTree

Class DominatorTree

src/debug_utils/dominator_tree.rs:35–46  ·  view source on GitHub ↗

Dominator tree of the control flow graph.

Source from the content-addressed store, hash-verified

33
34/// Dominator tree of the control flow graph.
35pub struct DominatorTree {
36 nodes: SecondaryMap<Block, DominatorTreeNode>,
37
38 /// First child node of the internal virtual root.
39 virtual_root_child: PackedOption<Block>,
40
41 /// Blocks whose immediate dominator has been computed.
42 processed: EntitySet<Block>,
43
44 /// Stack for DFS traversal.
45 stack: Vec<Block>,
46}
47
48impl DominatorTree {
49 /// Creates a new `DominatorTree`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected