pub struct DataflowAnalyzer<'tcx> {
pub tcx: TyCtxt<'tcx>,
pub graphs: HashMap<DefId, DataflowGraph>,
pub debug: bool,
pub draw: bool,
}Fields§
§tcx: TyCtxt<'tcx>§graphs: HashMap<DefId, DataflowGraph>§debug: bool§draw: boolImplementations§
Source§impl<'tcx> DataflowAnalyzer<'tcx>
impl<'tcx> DataflowAnalyzer<'tcx>
Trait Implementations§
Source§impl<'tcx> Analysis for DataflowAnalyzer<'tcx>
impl<'tcx> Analysis for DataflowAnalyzer<'tcx>
Source§impl<'tcx> DataflowAnalysis for DataflowAnalyzer<'tcx>
impl<'tcx> DataflowAnalysis for DataflowAnalyzer<'tcx>
fn get_fn_dataflow(&self, def_id: DefId) -> Option<DataFlowGraph>
fn get_all_dataflow(&self) -> DataFlowGraphMap
fn has_flow_between(&self, def_id: DefId, local1: Local, local2: Local) -> bool
fn collect_equivalent_locals( &self, def_id: DefId, local: Local, ) -> HashSet<Local>
fn get_fn_arg2ret(&self, def_id: DefId) -> Arg2Ret
fn get_all_arg2ret(&self) -> Arg2RetMap
Auto Trait Implementations§
impl<'tcx> Freeze for DataflowAnalyzer<'tcx>
impl<'tcx> !RefUnwindSafe for DataflowAnalyzer<'tcx>
impl<'tcx> !Send for DataflowAnalyzer<'tcx>
impl<'tcx> !Sync for DataflowAnalyzer<'tcx>
impl<'tcx> Unpin for DataflowAnalyzer<'tcx>
impl<'tcx> !UnwindSafe for DataflowAnalyzer<'tcx>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more