pub struct PostDomTree { /* private fields */ }
Implementations§
Source§impl PostDomTree
impl PostDomTree
pub fn compute(func: &FunctionBody) -> Self
pub fn post_idom(&self, block: BasicBlockId) -> PostIDom
Sourcepub fn is_reachable(&self, block: BasicBlockId) -> bool
pub fn is_reachable(&self, block: BasicBlockId) -> bool
Returns true
if block is reachable from the exit blocks.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PostDomTree
impl RefUnwindSafe for PostDomTree
impl Send for PostDomTree
impl Sync for PostDomTree
impl Unpin for PostDomTree
impl UnwindSafe for PostDomTree
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