pub struct ReuseLiveness {
pub live_in: HashMap<u32, HashSet<u32>>,
pub live_out: HashMap<u32, HashSet<u32>>,
}Expand description
Reuse analysis flow-sensitive liveness
Fields§
§live_in: HashMap<u32, HashSet<u32>>§live_out: HashMap<u32, HashSet<u32>>Implementations§
Source§impl ReuseLiveness
impl ReuseLiveness
pub fn new() -> Self
pub fn is_live_at(&self, block: u32, var: u32) -> bool
pub fn add_live_in(&mut self, block: u32, var: u32)
pub fn add_live_out(&mut self, block: u32, var: u32)
Trait Implementations§
Source§impl Debug for ReuseLiveness
impl Debug for ReuseLiveness
Source§impl Default for ReuseLiveness
impl Default for ReuseLiveness
Source§fn default() -> ReuseLiveness
fn default() -> ReuseLiveness
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReuseLiveness
impl RefUnwindSafe for ReuseLiveness
impl Send for ReuseLiveness
impl Sync for ReuseLiveness
impl Unpin for ReuseLiveness
impl UnsafeUnpin for ReuseLiveness
impl UnwindSafe for ReuseLiveness
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