Enum cranelift_codegen::ir::entities::AnyEntity
source · pub enum AnyEntity {
Function,
Ebb(Ebb),
Inst(Inst),
Value(Value),
StackSlot(StackSlot),
GlobalValue(GlobalValue),
JumpTable(JumpTable),
FuncRef(FuncRef),
SigRef(SigRef),
Heap(Heap),
Table(Table),
}
Expand description
A reference to any of the entities defined in this module.
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§
source§impl From<GlobalValue> for AnyEntity
impl From<GlobalValue> for AnyEntity
source§fn from(r: GlobalValue) -> Self
fn from(r: GlobalValue) -> Self
Converts to this type from the input type.