[−][src]Struct raptor::ir::RefProgramLocation
Methods
impl<'r, V: Value> RefProgramLocation<'r, V>
[src]
pub fn new(
function: &'r Function<V>,
function_location: RefFunctionLocation<'r, V>
) -> RefProgramLocation<'r, V>
[src]
function: &'r Function<V>,
function_location: RefFunctionLocation<'r, V>
) -> RefProgramLocation<'r, V>
pub fn address(&self) -> Option<u64>
[src]
pub fn block(&self) -> Option<&Block<V>>
[src]
pub fn edge(&self) -> Option<&Edge<V>>
[src]
pub fn function(&self) -> &'r Function<V>
[src]
pub fn function_location(&self) -> &RefFunctionLocation<'r, V>
[src]
pub fn instruction(&self) -> Option<&Instruction<V>>
[src]
pub fn from_function(function: &Function<V>) -> Option<RefProgramLocation<V>>
[src]
pub fn from_address(
program: &Program<V>,
address: u64
) -> Option<RefProgramLocation<V>>
[src]
program: &Program<V>,
address: u64
) -> Option<RefProgramLocation<V>>
pub fn forward(&self) -> Vec<RefProgramLocation<'r, V>>
[src]
pub fn backward(&self) -> Vec<RefProgramLocation<'r, V>>
[src]
pub fn next_instructions(&self) -> Vec<RefProgramLocation<'r, V>>
[src]
Trait Implementations
impl<'r, V: Clone + Value + 'r> Clone for RefProgramLocation<'r, V>
[src]
fn clone(&self) -> RefProgramLocation<'r, V>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'r, V: Debug + Value + 'r> Debug for RefProgramLocation<'r, V>
[src]
impl<'r, V: Value> Display for RefProgramLocation<'r, V>
[src]
impl<'r, V: Eq + Value + 'r> Eq for RefProgramLocation<'r, V>
[src]
impl<'r, V: Value> From<RefProgramLocation<'r, V>> for ProgramLocation
[src]
fn from(rpl: RefProgramLocation<'r, V>) -> ProgramLocation
[src]
impl<'r, V: Hash + Value + 'r> Hash for RefProgramLocation<'r, V>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'r, V: Ord + Value + 'r> Ord for RefProgramLocation<'r, V>
[src]
fn cmp(&self, other: &RefProgramLocation<'r, V>) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<'r, V: PartialEq + Value + 'r> PartialEq<RefProgramLocation<'r, V>> for RefProgramLocation<'r, V>
[src]
fn eq(&self, other: &RefProgramLocation<'r, V>) -> bool
[src]
fn ne(&self, other: &RefProgramLocation<'r, V>) -> bool
[src]
impl<'r, V: PartialOrd + Value + 'r> PartialOrd<RefProgramLocation<'r, V>> for RefProgramLocation<'r, V>
[src]
fn partial_cmp(&self, other: &RefProgramLocation<'r, V>) -> Option<Ordering>
[src]
fn lt(&self, other: &RefProgramLocation<'r, V>) -> bool
[src]
fn le(&self, other: &RefProgramLocation<'r, V>) -> bool
[src]
fn gt(&self, other: &RefProgramLocation<'r, V>) -> bool
[src]
fn ge(&self, other: &RefProgramLocation<'r, V>) -> bool
[src]
impl<'r, V: Value + 'r> StructuralEq for RefProgramLocation<'r, V>
[src]
impl<'r, V: Value + 'r> StructuralPartialEq for RefProgramLocation<'r, V>
[src]
Auto Trait Implementations
impl<'r, V> RefUnwindSafe for RefProgramLocation<'r, V> where
V: RefUnwindSafe,
V: RefUnwindSafe,
impl<'r, V> Send for RefProgramLocation<'r, V>
impl<'r, V> Sync for RefProgramLocation<'r, V>
impl<'r, V> Unpin for RefProgramLocation<'r, V>
impl<'r, V> UnwindSafe for RefProgramLocation<'r, V> where
V: RefUnwindSafe,
V: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,