Enum cretonne_codegen::ir::entities::AnyEntity [−][src]
pub enum AnyEntity { Function, Ebb(Ebb), Inst(Inst), Value(Value), StackSlot(StackSlot), GlobalValue(GlobalValue), JumpTable(JumpTable), FuncRef(FuncRef), SigRef(SigRef), Heap(Heap), }
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.
Trait Implementations
impl Copy for AnyEntity
[src]
impl Copy for AnyEntity
impl Clone for AnyEntity
[src]
impl Clone for AnyEntity
fn clone(&self) -> AnyEntity
[src]
fn clone(&self) -> AnyEntity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for AnyEntity
[src]
impl PartialEq for AnyEntity
fn eq(&self, other: &AnyEntity) -> bool
[src]
fn eq(&self, other: &AnyEntity) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AnyEntity) -> bool
[src]
fn ne(&self, other: &AnyEntity) -> bool
This method tests for !=
.
impl Eq for AnyEntity
[src]
impl Eq for AnyEntity
impl Hash for AnyEntity
[src]
impl Hash for AnyEntity
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for AnyEntity
[src]
impl Display for AnyEntity
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Debug for AnyEntity
[src]
impl Debug for AnyEntity
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Ebb> for AnyEntity
[src]
impl From<Ebb> for AnyEntity
impl From<Inst> for AnyEntity
[src]
impl From<Inst> for AnyEntity
impl From<Value> for AnyEntity
[src]
impl From<Value> for AnyEntity
impl From<StackSlot> for AnyEntity
[src]
impl From<StackSlot> for AnyEntity
impl From<GlobalValue> for AnyEntity
[src]
impl From<GlobalValue> for AnyEntity
fn from(r: GlobalValue) -> Self
[src]
fn from(r: GlobalValue) -> Self
Performs the conversion.
impl From<JumpTable> for AnyEntity
[src]
impl From<JumpTable> for AnyEntity
impl From<FuncRef> for AnyEntity
[src]
impl From<FuncRef> for AnyEntity
impl From<SigRef> for AnyEntity
[src]
impl From<SigRef> for AnyEntity
impl From<Heap> for AnyEntity
[src]
impl From<Heap> for AnyEntity