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

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

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

Variants

Function

The whole function.

Block(Block)

a 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 Clone for AnyEntity[src]

impl Copy for AnyEntity[src]

impl Debug for AnyEntity[src]

impl Display for AnyEntity[src]

impl Eq for AnyEntity[src]

impl From<Block> for AnyEntity[src]

impl From<FuncRef> for AnyEntity[src]

impl From<GlobalValue> for AnyEntity[src]

impl From<Heap> for AnyEntity[src]

impl From<Inst> for AnyEntity[src]

impl From<JumpTable> for AnyEntity[src]

impl From<SigRef> for AnyEntity[src]

impl From<StackSlot> for AnyEntity[src]

impl From<Table> for AnyEntity[src]

impl From<Value> for AnyEntity[src]

impl Hash for AnyEntity[src]

impl Ord for AnyEntity[src]

impl PartialEq<AnyEntity> for AnyEntity[src]

impl PartialOrd<AnyEntity> for AnyEntity[src]

impl StructuralEq for AnyEntity[src]

impl StructuralPartialEq for AnyEntity[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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]

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> 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.