pub struct DomTree {
pub idom: HashMap<BlockId, BlockId>,
pub children: HashMap<BlockId, Vec<BlockId>>,
pub frontiers: HashMap<BlockId, HashSet<BlockId>>,
}Expand description
Dominator tree for a CFG.
Fields§
§idom: HashMap<BlockId, BlockId>Immediate dominator of each block (entry has no idom).
children: HashMap<BlockId, Vec<BlockId>>Children in the dominator tree.
frontiers: HashMap<BlockId, HashSet<BlockId>>Dominance frontier for each block.
Implementations§
Auto Trait Implementations§
impl Freeze for DomTree
impl RefUnwindSafe for DomTree
impl Send for DomTree
impl Sync for DomTree
impl Unpin for DomTree
impl UnsafeUnpin for DomTree
impl UnwindSafe for DomTree
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more