[][src]Enum cranelift_codegen::ir::ExpandedProgramPoint

pub enum ExpandedProgramPoint {
    Inst(Inst),
    Ebb(Ebb),
}

An expanded program point directly exposes the variants, but takes twice the space to represent.

Variants

Inst(Inst)

An instruction in the function.

Ebb(Ebb)

An EBB header.

Methods

impl ExpandedProgramPoint[src]

pub fn unwrap_inst(self) -> Inst[src]

Get the instruction we know is inside.

Trait Implementations

impl From<Inst> for ExpandedProgramPoint[src]

impl From<Ebb> for ExpandedProgramPoint[src]

impl From<ValueDef> for ExpandedProgramPoint[src]

impl From<ProgramPoint> for ExpandedProgramPoint[src]

impl Display for ExpandedProgramPoint[src]

impl Debug for ExpandedProgramPoint[src]

impl PartialEq<ExpandedProgramPoint> for ExpandedProgramPoint[src]

impl Eq for ExpandedProgramPoint[src]

impl Copy for ExpandedProgramPoint[src]

impl StructuralPartialEq for ExpandedProgramPoint[src]

impl StructuralEq for ExpandedProgramPoint[src]

impl Clone for ExpandedProgramPoint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]