Enum llhd::ir::prelude::Opcode [−][src]
pub enum Opcode {
Show 58 variants
ConstInt,
ConstTime,
Alias,
ArrayUniform,
Array,
Struct,
Not,
Neg,
Add,
Sub,
And,
Or,
Xor,
Smul,
Sdiv,
Smod,
Srem,
Umul,
Udiv,
Umod,
Urem,
Eq,
Neq,
Slt,
Sgt,
Sle,
Sge,
Ult,
Ugt,
Ule,
Uge,
Shl,
Shr,
Mux,
Reg,
InsField,
InsSlice,
ExtField,
ExtSlice,
Con,
Del,
Call,
Inst,
Sig,
Prb,
Drv,
DrvCond,
Var,
Ld,
St,
Halt,
Ret,
RetValue,
Phi,
Br,
BrCond,
Wait,
WaitTime,
}
Expand description
An instruction opcode.
This enum represents the actual instruction, whereas InstData
covers the
format and arguments of the instruction.
Variants
Implementations
Check if this instruction can appear in a Function
.
Check if this instruction can appear in a Process
.
Check if this instruction can appear in a Entity
.
Check if this instruction is a terminator.
Check if this is a temporal instruction.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Opcode
impl UnwindSafe for Opcode
Blanket Implementations
Mutably borrows from an owned value. Read more