Returns the immediate dominator of `block`. `block_a` is said to *dominate* `block_b` if all control flow paths from the function entry to `block_b` must go through `block_a`. The *immediate dominator* is the dominator that is closest to `block`. All other dominators also dominate the immediate dominator. This returns `None` if `block` is not reachable from the entry block, or if it is the entr
(&self, block: Block)
| 235 | /// This returns `None` if `block` is not reachable from the entry block, or if it is the entry block |
| 236 | /// which has no dominators. |
| 237 | pub fn idom(&self, block: Block) -> Option<Block> { |
| 238 | self.nodes[block].idom.into() |
| 239 | } |
| 240 | |
| 241 | /// Returns `true` if `a` dominates `b`. |
| 242 | /// |
no outgoing calls