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

Class DominatorTreeNode

src/debug_utils/dominator_tree.rs:17–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16#[derive(Default, Clone)]
17struct DominatorTreeNode {
18 /// Parent node in the dominator tree.
19 parent: PackedOption<Block>,
20
21 /// First child node in the dominator tree.
22 child: PackedOption<Block>,
23
24 /// Next sibling node in the dominator tree.
25 sibling: PackedOption<Block>,
26
27 /// Sequence number in a pre-order traversal of the dominator tree.
28 pre_number: u32,
29
30 /// Maximum sequence number of this node and all its children.
31 pre_max: u32,
32}
33
34/// Dominator tree of the control flow graph.
35pub struct DominatorTree {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected