pub struct AliasSet {
pub representative: Option<LcnfVarId>,
pub members: HashSet<LcnfVarId>,
pub has_heap: bool,
pub has_stack: bool,
pub has_global: bool,
}Expand description
A set of variable IDs that may alias each other.
All variables in an alias set may point to the same memory location.
Fields§
§representative: Option<LcnfVarId>The representative (canonical) variable of this set.
members: HashSet<LcnfVarId>All variables in this alias set.
has_heap: boolWhether this set contains any heap-allocated variables.
has_stack: boolWhether this set contains any stack-allocated variables.
has_global: boolWhether this set contains any global variables.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AliasSet
impl RefUnwindSafe for AliasSet
impl Send for AliasSet
impl Sync for AliasSet
impl Unpin for AliasSet
impl UnsafeUnpin for AliasSet
impl UnwindSafe for AliasSet
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