[][src]Enum cranelift_codegen::ir::entities::AnyEntity

pub enum AnyEntity {
    Function,
    Ebb(Ebb),
    Inst(Inst),
    Value(Value),
    StackSlot(StackSlot),
    GlobalValue(GlobalValue),
    JumpTable(JumpTable),
    FuncRef(FuncRef),
    SigRef(SigRef),
    Heap(Heap),
    Table(Table),
}

A reference to any of the entities defined in this module that can appear in CLIF IR.

Variants

Function

The whole function.

Ebb(Ebb)

An extended basic block.

Inst(Inst)

An instruction.

Value(Value)

An SSA value.

StackSlot(StackSlot)

A stack slot.

GlobalValue(GlobalValue)

A Global value.

JumpTable(JumpTable)

A jump table.

FuncRef(FuncRef)

An external function.

SigRef(SigRef)

A function call signature.

Heap(Heap)

A heap.

Table(Table)

A table.

Trait Implementations

impl From<Ebb> for AnyEntity[src]

impl From<Inst> for AnyEntity[src]

impl From<Value> for AnyEntity[src]

impl From<StackSlot> for AnyEntity[src]

impl From<GlobalValue> for AnyEntity[src]

impl From<JumpTable> for AnyEntity[src]

impl From<FuncRef> for AnyEntity[src]

impl From<SigRef> for AnyEntity[src]

impl From<Heap> for AnyEntity[src]

impl From<Table> for AnyEntity[src]

impl PartialEq<AnyEntity> for AnyEntity[src]

impl Eq for AnyEntity[src]

impl Hash for AnyEntity[src]

impl Display for AnyEntity[src]

impl Debug for AnyEntity[src]

impl Copy for AnyEntity[src]

impl Clone for AnyEntity[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> ToString for T where
    T: Display + ?Sized
[src]

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

type Owned = T

The resulting type after obtaining ownership.