pub struct NaturalLoop {
pub header: u64,
pub latch: u64,
pub body: HashSet<u64>,
pub pre_header: HashSet<u64>,
}Expand description
A natural loop in the CFG
Fields§
§header: u64Loop header (entry point)
latch: u64Loop latch (node with back-edge to header)
body: HashSet<u64>All nodes in the loop body
pre_header: HashSet<u64>Predecessors outside the loop
Trait Implementations§
Source§impl Clone for NaturalLoop
impl Clone for NaturalLoop
Source§fn clone(&self) -> NaturalLoop
fn clone(&self) -> NaturalLoop
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NaturalLoop
impl RefUnwindSafe for NaturalLoop
impl Send for NaturalLoop
impl Sync for NaturalLoop
impl Unpin for NaturalLoop
impl UnsafeUnpin for NaturalLoop
impl UnwindSafe for NaturalLoop
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