pub struct LiveVariableInfo {
pub live_after: HashMap<LcnfVarId, HashSet<LcnfVarId>>,
pub live_at_entry: HashSet<LcnfVarId>,
}Expand description
Liveness information: the set of variables live at each let-binding site (identified by the variable introduced at that site).
A variable x is live at a program point if there exists a path from
that point to a use of x that doesn’t first re-define x.
Fields§
§live_after: HashMap<LcnfVarId, HashSet<LcnfVarId>>live_after[x] = set of variables live after the binding of x.
live_at_entry: HashSet<LcnfVarId>Variables live at the entry of the function.
Implementations§
Trait Implementations§
Source§impl Debug for LiveVariableInfo
impl Debug for LiveVariableInfo
Source§impl Default for LiveVariableInfo
impl Default for LiveVariableInfo
Source§fn default() -> LiveVariableInfo
fn default() -> LiveVariableInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LiveVariableInfo
impl RefUnwindSafe for LiveVariableInfo
impl Send for LiveVariableInfo
impl Sync for LiveVariableInfo
impl Unpin for LiveVariableInfo
impl UnsafeUnpin for LiveVariableInfo
impl UnwindSafe for LiveVariableInfo
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