pub struct LiveInterval {
pub vreg: VirtualReg,
pub start: usize,
pub end: usize,
pub weight: u64,
}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.
weight: u64Estimated execution frequency summed over uses and definitions.
Trait Implementations§
Source§impl Clone for LiveInterval
impl Clone for LiveInterval
Source§impl Debug for LiveInterval
impl Debug for LiveInterval
impl Eq for LiveInterval
Source§impl PartialEq for LiveInterval
impl PartialEq 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