pub struct LiveInterval {
pub vreg: VirtualReg,
pub start: usize,
pub end: usize,
}Expand description
Live interval: the range [start, end] of instruction indices (0-based,
counting sequentially across all blocks in program order) during which
vreg must be kept alive.
Fields§
§vreg: VirtualReg§start: usizeIndex of the instruction that first defines vreg.
end: usizeIndex of the last instruction that uses vreg.
Trait Implementations§
Source§impl Clone for LiveInterval
impl Clone for LiveInterval
Source§fn clone(&self) -> LiveInterval
fn clone(&self) -> LiveInterval
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 Debug for LiveInterval
impl Debug for LiveInterval
Source§impl PartialEq for LiveInterval
impl PartialEq for LiveInterval
Source§fn eq(&self, other: &LiveInterval) -> bool
fn eq(&self, other: &LiveInterval) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LiveInterval
impl StructuralPartialEq for LiveInterval
Auto Trait Implementations§
impl Freeze for LiveInterval
impl RefUnwindSafe for LiveInterval
impl Send for LiveInterval
impl Sync for LiveInterval
impl Unpin for LiveInterval
impl UnsafeUnpin for LiveInterval
impl UnwindSafe for LiveInterval
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