Struct cranelift_codegen::ir::ProgramPoint
source · pub struct ProgramPoint(_);
Expand description
A ProgramPoint
represents a position in a function where the live range of an SSA value can
begin or end. It can be either:
- An instruction or
- A block header.
This corresponds more or less to the lines in the textual form of Cranelift IR.
Trait Implementations§
source§impl Clone for ProgramPoint
impl Clone for ProgramPoint
source§fn clone(&self) -> ProgramPoint
fn clone(&self) -> ProgramPoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProgramPoint
impl Debug for ProgramPoint
source§impl Display for ProgramPoint
impl Display for ProgramPoint
source§impl From<Block> for ProgramPoint
impl From<Block> for ProgramPoint
source§impl From<Inst> for ProgramPoint
impl From<Inst> for ProgramPoint
source§impl From<ProgramPoint> for ExpandedProgramPoint
impl From<ProgramPoint> for ExpandedProgramPoint
source§fn from(pp: ProgramPoint) -> Self
fn from(pp: ProgramPoint) -> Self
Converts to this type from the input type.
source§impl From<ValueDef> for ProgramPoint
impl From<ValueDef> for ProgramPoint
source§impl PartialEq<ProgramPoint> for ProgramPoint
impl PartialEq<ProgramPoint> for ProgramPoint
source§fn eq(&self, other: &ProgramPoint) -> bool
fn eq(&self, other: &ProgramPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProgramPoint
impl Eq for ProgramPoint
impl StructuralEq for ProgramPoint
impl StructuralPartialEq for ProgramPoint
Auto Trait Implementations§
impl RefUnwindSafe for ProgramPoint
impl Send for ProgramPoint
impl Sync for ProgramPoint
impl Unpin for ProgramPoint
impl UnwindSafe for ProgramPoint
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.