pub struct AliasAnalyzer<'tcx> {
pub tcx: TyCtxt<'tcx>,
pub fn_map: FxHashMap<DefId, MopAAResult>,
}
Fields§
§tcx: TyCtxt<'tcx>
§fn_map: FxHashMap<DefId, MopAAResult>
Implementations§
Source§impl<'tcx> AliasAnalyzer<'tcx>
impl<'tcx> AliasAnalyzer<'tcx>
pub fn new(tcx: TyCtxt<'tcx>) -> Self
fn handle_conor_cases(&mut self)
fn query_mop(&mut self, def_id: DefId)
pub fn get_all_fn_alias_raw(&mut self) -> MopAAResultMap
Trait Implementations§
Source§impl<'tcx> AliasAnalysis for AliasAnalyzer<'tcx>
impl<'tcx> AliasAnalysis for AliasAnalyzer<'tcx>
Source§fn get_fn_alias(&self, def_id: DefId) -> Option<AAResult>
fn get_fn_alias(&self, def_id: DefId) -> Option<AAResult>
Return the aliases among the function arguments and return value of a specific function.
Source§fn get_all_fn_alias(&self) -> AAResultMap
fn get_all_fn_alias(&self) -> AAResultMap
Return the aliases among the function arguments and return value for all functions.
Source§fn get_local_fn_alias(&self) -> AAResultMap
fn get_local_fn_alias(&self) -> AAResultMap
Return the aliases among the function arguments and return value for functions of the local
crate.
Auto Trait Implementations§
impl<'tcx> Freeze for AliasAnalyzer<'tcx>
impl<'tcx> !RefUnwindSafe for AliasAnalyzer<'tcx>
impl<'tcx> !Send for AliasAnalyzer<'tcx>
impl<'tcx> !Sync for AliasAnalyzer<'tcx>
impl<'tcx> Unpin for AliasAnalyzer<'tcx>
impl<'tcx> !UnwindSafe for AliasAnalyzer<'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