pub struct Nuutila<'tcx, T: IntervalArithmetic + Debug> {
pub variables: &'tcx VarNodes<'tcx, T>,
pub index: i32,
pub dfs: HashMap<&'tcx Place<'tcx>, i32>,
pub root: HashMap<&'tcx Place<'tcx>, &'tcx Place<'tcx>>,
pub in_component: HashSet<&'tcx Place<'tcx>>,
pub components: HashMap<&'tcx Place<'tcx>, HashSet<&'tcx Place<'tcx>>>,
pub worklist: VecDeque<&'tcx Place<'tcx>>,
}
Fields§
§variables: &'tcx VarNodes<'tcx, T>
§index: i32
§dfs: HashMap<&'tcx Place<'tcx>, i32>
§root: HashMap<&'tcx Place<'tcx>, &'tcx Place<'tcx>>
§in_component: HashSet<&'tcx Place<'tcx>>
§components: HashMap<&'tcx Place<'tcx>, HashSet<&'tcx Place<'tcx>>>
§worklist: VecDeque<&'tcx Place<'tcx>>
Implementations§
Source§impl<'tcx, T> Nuutila<'tcx, T>
impl<'tcx, T> Nuutila<'tcx, T>
pub fn new( varNodes: &'tcx VarNodes<'tcx, T>, use_map: &'tcx UseMap<'tcx>, symb_map: &'tcx SymbMap<'tcx>, single: bool, oprs: &'tcx Vec<BasicOpKind<'tcx, T>>, ) -> Self
pub fn visit( &mut self, place: &'tcx Place<'tcx>, stack: &mut Vec<&'tcx Place<'tcx>>, use_map: &'tcx UseMap<'tcx>, oprs: &'tcx Vec<BasicOpKind<'tcx, T>>, )
pub fn add_control_dependence_edges( &mut self, _symb_map: &'tcx SymbMap<'tcx>, _use_map: &'tcx UseMap<'tcx>, _vars: &'tcx VarNodes<'tcx, T>, )
pub fn del_control_dependence_edges(&mut self, _use_map: &'tcx mut UseMap<'tcx>)
Trait Implementations§
Auto Trait Implementations§
impl<'tcx, T> Freeze for Nuutila<'tcx, T>
impl<'tcx, T> !RefUnwindSafe for Nuutila<'tcx, T>
impl<'tcx, T> Send for Nuutila<'tcx, T>where
T: Sync,
impl<'tcx, T> Sync for Nuutila<'tcx, T>where
T: Sync,
impl<'tcx, T> Unpin for Nuutila<'tcx, T>
impl<'tcx, T> !UnwindSafe for Nuutila<'tcx, T>
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