Return the eventual parent of a loop in the loop tree.
(&self, lp: Loop)
| 112 | |
| 113 | /// Return the eventual parent of a loop in the loop tree. |
| 114 | pub fn loop_parent(&self, lp: Loop) -> Option<Loop> { |
| 115 | self.loops[lp].parent.expand() |
| 116 | } |
| 117 | |
| 118 | /// Return the innermost loop for a given block. |
| 119 | pub fn innermost_loop(&self, block: Block) -> Option<Loop> { |