Enum cranelift_codegen::ir::dfg::ValueDef [−][src]
Expand description
Where did a value come from?
Variants
Value is the n’th result of an instruction.
Value is the n’th parameter to a block.
Implementations
impl ValueDef
[src]
impl ValueDef
[src]pub fn unwrap_inst(&self) -> Inst
[src]
pub fn unwrap_inst(&self) -> Inst
[src]Unwrap the instruction where the value was defined, or panic.
pub fn unwrap_block(&self) -> Block
[src]
pub fn unwrap_block(&self) -> Block
[src]Unwrap the block there the parameter is defined, or panic.
pub fn pp(self) -> ExpandedProgramPoint
[src]
pub fn pp(self) -> ExpandedProgramPoint
[src]Get the program point where the value was defined.
Trait Implementations
impl From<ValueDef> for ProgramPoint
[src]
impl From<ValueDef> for ProgramPoint
[src]impl From<ValueDef> for ExpandedProgramPoint
[src]
impl From<ValueDef> for ExpandedProgramPoint
[src]impl Copy for ValueDef
[src]
impl Eq for ValueDef
[src]
impl StructuralEq for ValueDef
[src]
impl StructuralPartialEq for ValueDef
[src]
Auto Trait Implementations
impl RefUnwindSafe for ValueDef
impl Send for ValueDef
impl Sync for ValueDef
impl Unpin for ValueDef
impl UnwindSafe for ValueDef
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more