pub struct ElixirX2Liveness {
pub live_in: Vec<Vec<usize>>,
pub live_out: Vec<Vec<usize>>,
pub defs: Vec<Vec<usize>>,
pub uses: Vec<Vec<usize>>,
}Expand description
Liveness analysis for ElixirX2.
Fields§
§live_in: Vec<Vec<usize>>§live_out: Vec<Vec<usize>>§defs: Vec<Vec<usize>>§uses: Vec<Vec<usize>>Implementations§
Source§impl ElixirX2Liveness
impl ElixirX2Liveness
pub fn new(n: usize) -> Self
pub fn live_in(&self, b: usize, v: usize) -> bool
pub fn live_out(&self, b: usize, v: usize) -> bool
pub fn add_def(&mut self, b: usize, v: usize)
pub fn add_use(&mut self, b: usize, v: usize)
pub fn var_is_used_in_block(&self, b: usize, v: usize) -> bool
pub fn var_is_def_in_block(&self, b: usize, v: usize) -> bool
Trait Implementations§
Source§impl Clone for ElixirX2Liveness
impl Clone for ElixirX2Liveness
Source§fn clone(&self) -> ElixirX2Liveness
fn clone(&self) -> ElixirX2Liveness
Returns a duplicate of the value. Read more
1.0.0 · 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 ElixirX2Liveness
impl Debug for ElixirX2Liveness
Source§impl Default for ElixirX2Liveness
impl Default for ElixirX2Liveness
Source§fn default() -> ElixirX2Liveness
fn default() -> ElixirX2Liveness
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ElixirX2Liveness
impl RefUnwindSafe for ElixirX2Liveness
impl Send for ElixirX2Liveness
impl Sync for ElixirX2Liveness
impl Unpin for ElixirX2Liveness
impl UnsafeUnpin for ElixirX2Liveness
impl UnwindSafe for ElixirX2Liveness
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