pub enum InstructionImms {
Show 38 variants AtomicCas { opcode: Opcode, flags: MemFlags, }, AtomicRmw { opcode: Opcode, flags: MemFlags, op: AtomicRmwOp, }, Binary { opcode: Opcode, }, BinaryImm64 { opcode: Opcode, imm: Imm64, }, BinaryImm8 { opcode: Opcode, imm: Uimm8, }, Branch { opcode: Opcode, destination: Block, }, BranchTable { opcode: Opcode, destination: Block, table: JumpTable, }, Call { opcode: Opcode, func_ref: FuncRef, }, CallIndirect { opcode: Opcode, sig_ref: SigRef, }, CondTrap { opcode: Opcode, code: TrapCode, }, DynamicStackLoad { opcode: Opcode, dynamic_stack_slot: DynamicStackSlot, }, DynamicStackStore { opcode: Opcode, dynamic_stack_slot: DynamicStackSlot, }, FloatCompare { opcode: Opcode, cond: FloatCC, }, FuncAddr { opcode: Opcode, func_ref: FuncRef, }, HeapAddr { opcode: Opcode, heap: Heap, imm: Uimm32, }, IntAddTrap { opcode: Opcode, code: TrapCode, }, IntCompare { opcode: Opcode, cond: IntCC, }, IntCompareImm { opcode: Opcode, cond: IntCC, imm: Imm64, }, Jump { opcode: Opcode, destination: Block, }, Load { opcode: Opcode, flags: MemFlags, offset: Offset32, }, LoadNoOffset { opcode: Opcode, flags: MemFlags, }, MultiAry { opcode: Opcode, }, NullAry { opcode: Opcode, }, Shuffle { opcode: Opcode, imm: Immediate, }, StackLoad { opcode: Opcode, stack_slot: StackSlot, offset: Offset32, }, StackStore { opcode: Opcode, stack_slot: StackSlot, offset: Offset32, }, Store { opcode: Opcode, flags: MemFlags, offset: Offset32, }, StoreNoOffset { opcode: Opcode, flags: MemFlags, }, TableAddr { opcode: Opcode, table: Table, offset: Offset32, }, Ternary { opcode: Opcode, }, TernaryImm8 { opcode: Opcode, imm: Uimm8, }, Trap { opcode: Opcode, code: TrapCode, }, Unary { opcode: Opcode, }, UnaryConst { opcode: Opcode, constant_handle: Constant, }, UnaryGlobalValue { opcode: Opcode, global_value: GlobalValue, }, UnaryIeee32 { opcode: Opcode, imm: Ieee32, }, UnaryIeee64 { opcode: Opcode, imm: Ieee64, }, UnaryImm { opcode: Opcode, imm: Imm64, },
}

Variants§

§

AtomicCas

Fields

§opcode: Opcode
§flags: MemFlags
§

AtomicRmw

Fields

§opcode: Opcode
§flags: MemFlags
§

Binary

Fields

§opcode: Opcode
§

BinaryImm64

Fields

§opcode: Opcode
§imm: Imm64
§

BinaryImm8

Fields

§opcode: Opcode
§imm: Uimm8
§

Branch

Fields

§opcode: Opcode
§destination: Block
§

BranchTable

Fields

§opcode: Opcode
§destination: Block
§table: JumpTable
§

Call

Fields

§opcode: Opcode
§func_ref: FuncRef
§

CallIndirect

Fields

§opcode: Opcode
§sig_ref: SigRef
§

CondTrap

Fields

§opcode: Opcode
§code: TrapCode
§

DynamicStackLoad

Fields

§opcode: Opcode
§dynamic_stack_slot: DynamicStackSlot
§

DynamicStackStore

Fields

§opcode: Opcode
§dynamic_stack_slot: DynamicStackSlot
§

FloatCompare

Fields

§opcode: Opcode
§cond: FloatCC
§

FuncAddr

Fields

§opcode: Opcode
§func_ref: FuncRef
§

HeapAddr

Fields

§opcode: Opcode
§heap: Heap
§imm: Uimm32
§

IntAddTrap

Fields

§opcode: Opcode
§code: TrapCode
§

IntCompare

Fields

§opcode: Opcode
§cond: IntCC
§

IntCompareImm

Fields

§opcode: Opcode
§cond: IntCC
§imm: Imm64
§

Jump

Fields

§opcode: Opcode
§destination: Block
§

Load

Fields

§opcode: Opcode
§flags: MemFlags
§offset: Offset32
§

LoadNoOffset

Fields

§opcode: Opcode
§flags: MemFlags
§

MultiAry

Fields

§opcode: Opcode
§

NullAry

Fields

§opcode: Opcode
§

Shuffle

Fields

§opcode: Opcode
§

StackLoad

Fields

§opcode: Opcode
§stack_slot: StackSlot
§offset: Offset32
§

StackStore

Fields

§opcode: Opcode
§stack_slot: StackSlot
§offset: Offset32
§

Store

Fields

§opcode: Opcode
§flags: MemFlags
§offset: Offset32
§

StoreNoOffset

Fields

§opcode: Opcode
§flags: MemFlags
§

TableAddr

Fields

§opcode: Opcode
§table: Table
§offset: Offset32
§

Ternary

Fields

§opcode: Opcode
§

TernaryImm8

Fields

§opcode: Opcode
§imm: Uimm8
§

Trap

Fields

§opcode: Opcode
§code: TrapCode
§

Unary

Fields

§opcode: Opcode
§

UnaryConst

Fields

§opcode: Opcode
§constant_handle: Constant
§

UnaryGlobalValue

Fields

§opcode: Opcode
§global_value: GlobalValue
§

UnaryIeee32

Fields

§opcode: Opcode
§imm: Ieee32
§

UnaryIeee64

Fields

§opcode: Opcode
§imm: Ieee64
§

UnaryImm

Fields

§opcode: Opcode
§imm: Imm64

Implementations§

Get the opcode of this instruction.

Convert an InstructionImms into an InstructionData by adding args.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Convert an InstructionData into an InstructionImms.

Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.