Dominator tree of the control flow graph.
| 33 | |
| 34 | /// Dominator tree of the control flow graph. |
| 35 | pub 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 | |
| 48 | impl DominatorTree { |
| 49 | /// Creates a new `DominatorTree`. |
nothing calls this directly
no outgoing calls
no test coverage detected