pub struct MemoryPointMap<P> { /* private fields */ }Expand description
Coordinate conversion produced while building a graph.
This is intentionally separate from MemoryAccessGraph: clients that
retain their own instruction-to-access mapping can discard it without
changing the graph or the clobber walker.
Implementations§
Source§impl<P: Copy + Ord> MemoryPointMap<P>
impl<P: Copy + Ord> MemoryPointMap<P>
pub fn event(&self, point: P) -> Option<MemoryPointAccess>
pub fn block_entry(&self, block: usize) -> Option<MemoryAccessId>
pub fn block_exit(&self, block: usize) -> Option<MemoryAccessId>
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for MemoryPointMap<P>
impl<P> RefUnwindSafe for MemoryPointMap<P>
impl<P> Send for MemoryPointMap<P>
impl<P> Sync for MemoryPointMap<P>
impl<P> Unpin for MemoryPointMap<P>
impl<P> UnsafeUnpin for MemoryPointMap<P>
impl<P> UnwindSafe for MemoryPointMap<P>
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