pub struct LiveInterval<V> {
pub value: V,
pub segments: Vec<LiveSegment>,
}Expand description
Sparse per-block live interval for one target-owned virtual register.
Fields§
§value: V§segments: Vec<LiveSegment>Implementations§
Source§impl<V> LiveInterval<V>
impl<V> LiveInterval<V>
pub fn segment_in_block(&self, block: usize) -> Option<LiveSegment>
pub fn interferes(&self, other: &Self) -> bool
Trait Implementations§
Source§impl<V: Clone> Clone for LiveInterval<V>
impl<V: Clone> Clone for LiveInterval<V>
Source§fn clone(&self) -> LiveInterval<V>
fn clone(&self) -> LiveInterval<V>
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 moreSource§impl<V: Debug> Debug for LiveInterval<V>
impl<V: Debug> Debug for LiveInterval<V>
impl<V: Eq> Eq for LiveInterval<V>
Source§impl<V: PartialEq> PartialEq for LiveInterval<V>
impl<V: PartialEq> PartialEq for LiveInterval<V>
impl<V: PartialEq> StructuralPartialEq for LiveInterval<V>
Auto Trait Implementations§
impl<V> Freeze for LiveInterval<V>where
V: Freeze,
impl<V> RefUnwindSafe for LiveInterval<V>where
V: RefUnwindSafe,
impl<V> Send for LiveInterval<V>where
V: Send,
impl<V> Sync for LiveInterval<V>where
V: Sync,
impl<V> Unpin for LiveInterval<V>where
V: Unpin,
impl<V> UnsafeUnpin for LiveInterval<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for LiveInterval<V>where
V: UnwindSafe,
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