[][src]Struct cranelift_codegen_meta::shared::entities::EntityRefs

pub(crate) struct EntityRefs {
    pub(crate) block: OperandKind,
    pub(crate) stack_slot: OperandKind,
    pub(crate) global_value: OperandKind,
    pub(crate) sig_ref: OperandKind,
    pub(crate) func_ref: OperandKind,
    pub(crate) jump_table: OperandKind,
    pub(crate) heap: OperandKind,
    pub(crate) table: OperandKind,
    pub(crate) varargs: OperandKind,
}

Fields

block: OperandKind

A reference to a basic block in the same function. This is primarliy used in control flow instructions.

stack_slot: OperandKind

A reference to a stack slot declared in the function preamble.

global_value: OperandKind

A reference to a global value.

sig_ref: OperandKind

A reference to a function signature declared in the function preamble. This is used to provide the call signature in a call_indirect instruction.

func_ref: OperandKind

A reference to an external function declared in the function preamble. This is used to provide the callee and signature in a call instruction.

jump_table: OperandKind

A reference to a jump table declared in the function preamble.

heap: OperandKind

A reference to a heap declared in the function preamble.

table: OperandKind

A reference to a table declared in the function preamble.

varargs: OperandKind

A variable-sized list of value operands. Use for Block and function call arguments.

Methods

impl EntityRefs[src]

pub fn new() -> Self[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<T> From<T> for T[src]

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