#[repr(transparent)]pub struct OpCode {
pub repr: i32,
}Fields§
§repr: i32Implementations§
Source§impl OpCode
impl OpCode
Sourcepub const CPUI_STORE: Self
pub const CPUI_STORE: Self
Store at a pointer into a specified address space
Sourcepub const CPUI_BRANCH: Self
pub const CPUI_BRANCH: Self
Always branch
Sourcepub const CPUI_CBRANCH: Self
pub const CPUI_CBRANCH: Self
Conditional branch
Sourcepub const CPUI_BRANCHIND: Self
pub const CPUI_BRANCHIND: Self
Indirect branch (jumptable)
Sourcepub const CPUI_CALLIND: Self
pub const CPUI_CALLIND: Self
Call through an indirect address
Sourcepub const CPUI_CALLOTHER: Self
pub const CPUI_CALLOTHER: Self
User-defined operation
Sourcepub const CPUI_RETURN: Self
pub const CPUI_RETURN: Self
Return from subroutine
Sourcepub const CPUI_INT_EQUAL: Self
pub const CPUI_INT_EQUAL: Self
Integer comparison, equality (==)
Sourcepub const CPUI_INT_NOTEQUAL: Self
pub const CPUI_INT_NOTEQUAL: Self
Integer comparison, in-equality (!=)
Sourcepub const CPUI_INT_SLESS: Self
pub const CPUI_INT_SLESS: Self
Integer comparison, signed less-than (<)
Sourcepub const CPUI_INT_SLESSEQUAL: Self
pub const CPUI_INT_SLESSEQUAL: Self
Integer comparison, signed less-than-or-equal (<=)
Sourcepub const CPUI_INT_LESS: Self
pub const CPUI_INT_LESS: Self
Integer comparison, unsigned less-than (<) This also indicates a borrow on unsigned substraction
Sourcepub const CPUI_INT_LESSEQUAL: Self
pub const CPUI_INT_LESSEQUAL: Self
Integer comparison, unsigned less-than-or-equal (<=)
Sourcepub const CPUI_INT_ZEXT: Self
pub const CPUI_INT_ZEXT: Self
Zero extension
Sourcepub const CPUI_INT_SEXT: Self
pub const CPUI_INT_SEXT: Self
Sign extension
Sourcepub const CPUI_INT_ADD: Self
pub const CPUI_INT_ADD: Self
Addition, signed or unsigned (+)
Sourcepub const CPUI_INT_SUB: Self
pub const CPUI_INT_SUB: Self
Subtraction, signed or unsigned (-)
Sourcepub const CPUI_INT_CARRY: Self
pub const CPUI_INT_CARRY: Self
Test for unsigned carry
Sourcepub const CPUI_INT_SCARRY: Self
pub const CPUI_INT_SCARRY: Self
Test for signed carry
Sourcepub const CPUI_INT_SBORROW: Self
pub const CPUI_INT_SBORROW: Self
Test for signed borrow
Sourcepub const CPUI_INT_2COMP: Self
pub const CPUI_INT_2COMP: Self
Twos complement
Sourcepub const CPUI_INT_NEGATE: Self
pub const CPUI_INT_NEGATE: Self
Logical/bitwise negation (~)
Sourcepub const CPUI_INT_XOR: Self
pub const CPUI_INT_XOR: Self
Logical/bitwise exclusive-or (^)
Sourcepub const CPUI_INT_AND: Self
pub const CPUI_INT_AND: Self
Logical/bitwise and (&)
Sourcepub const CPUI_INT_OR: Self
pub const CPUI_INT_OR: Self
Logical/bitwise or (|)
Sourcepub const CPUI_INT_LEFT: Self
pub const CPUI_INT_LEFT: Self
Left shift (<<)
Sourcepub const CPUI_INT_RIGHT: Self
pub const CPUI_INT_RIGHT: Self
Right shift, logical (>>)
Sourcepub const CPUI_INT_SRIGHT: Self
pub const CPUI_INT_SRIGHT: Self
Right shift, arithmetic (>>)
Sourcepub const CPUI_INT_MULT: Self
pub const CPUI_INT_MULT: Self
Integer multiplication, signed and unsigned (*)
Sourcepub const CPUI_INT_DIV: Self
pub const CPUI_INT_DIV: Self
Integer division, unsigned (/)
Sourcepub const CPUI_INT_SDIV: Self
pub const CPUI_INT_SDIV: Self
Integer division, signed (/)
Sourcepub const CPUI_INT_REM: Self
pub const CPUI_INT_REM: Self
Remainder/modulo, unsigned (%)
Sourcepub const CPUI_INT_SREM: Self
pub const CPUI_INT_SREM: Self
Remainder/modulo, signed (%)
Sourcepub const CPUI_BOOL_NEGATE: Self
pub const CPUI_BOOL_NEGATE: Self
Boolean negate (!)
Sourcepub const CPUI_BOOL_XOR: Self
pub const CPUI_BOOL_XOR: Self
Boolean exclusive-or (^^)
Sourcepub const CPUI_BOOL_AND: Self
pub const CPUI_BOOL_AND: Self
Boolean and (&&)
Sourcepub const CPUI_BOOL_OR: Self
pub const CPUI_BOOL_OR: Self
Boolean or (||)
Sourcepub const CPUI_FLOAT_EQUAL: Self
pub const CPUI_FLOAT_EQUAL: Self
Floating-point comparison, equality (==)
Sourcepub const CPUI_FLOAT_NOTEQUAL: Self
pub const CPUI_FLOAT_NOTEQUAL: Self
Floating-point comparison, in-equality (!=)
Sourcepub const CPUI_FLOAT_LESS: Self
pub const CPUI_FLOAT_LESS: Self
Floating-point comparison, less-than (<)
Sourcepub const CPUI_FLOAT_LESSEQUAL: Self
pub const CPUI_FLOAT_LESSEQUAL: Self
Floating-point comparison, less-than-or-equal (<=)
Sourcepub const CPUI_FLOAT_NAN: Self
pub const CPUI_FLOAT_NAN: Self
Not-a-number test (NaN)
Sourcepub const CPUI_FLOAT_ADD: Self
pub const CPUI_FLOAT_ADD: Self
Floating-point addition (+)
Sourcepub const CPUI_FLOAT_DIV: Self
pub const CPUI_FLOAT_DIV: Self
Floating-point division (/)
Sourcepub const CPUI_FLOAT_MULT: Self
pub const CPUI_FLOAT_MULT: Self
Floating-point multiplication (*)
Sourcepub const CPUI_FLOAT_SUB: Self
pub const CPUI_FLOAT_SUB: Self
Floating-point subtraction (-)
Sourcepub const CPUI_FLOAT_NEG: Self
pub const CPUI_FLOAT_NEG: Self
Floating-point negation (-)
Sourcepub const CPUI_FLOAT_ABS: Self
pub const CPUI_FLOAT_ABS: Self
Floating-point absolute value (abs)
Sourcepub const CPUI_FLOAT_SQRT: Self
pub const CPUI_FLOAT_SQRT: Self
Floating-point square root (sqrt)
Sourcepub const CPUI_FLOAT_INT2FLOAT: Self
pub const CPUI_FLOAT_INT2FLOAT: Self
Convert an integer to a floating-point
Sourcepub const CPUI_FLOAT_FLOAT2FLOAT: Self
pub const CPUI_FLOAT_FLOAT2FLOAT: Self
Convert between different floating-point sizes
Sourcepub const CPUI_FLOAT_TRUNC: Self
pub const CPUI_FLOAT_TRUNC: Self
Round towards zero
Sourcepub const CPUI_FLOAT_CEIL: Self
pub const CPUI_FLOAT_CEIL: Self
Round towards +infinity
Sourcepub const CPUI_FLOAT_FLOOR: Self
pub const CPUI_FLOAT_FLOOR: Self
Round towards -infinity
Sourcepub const CPUI_FLOAT_ROUND: Self
pub const CPUI_FLOAT_ROUND: Self
Round towards nearest
Sourcepub const CPUI_MULTIEQUAL: Self
pub const CPUI_MULTIEQUAL: Self
Phi-node operator
Sourcepub const CPUI_INDIRECT: Self
pub const CPUI_INDIRECT: Self
Copy with an indirect effect
Sourcepub const CPUI_PIECE: Self
pub const CPUI_PIECE: Self
Concatenate
Sourcepub const CPUI_SUBPIECE: Self
pub const CPUI_SUBPIECE: Self
Truncate
Sourcepub const CPUI_PTRADD: Self
pub const CPUI_PTRADD: Self
Index into an array ([])
Sourcepub const CPUI_PTRSUB: Self
pub const CPUI_PTRSUB: Self
Drill down to a sub-field (->)
Sourcepub const CPUI_SEGMENTOP: Self
pub const CPUI_SEGMENTOP: Self
Look-up a \e segmented address
Sourcepub const CPUI_CPOOLREF: Self
pub const CPUI_CPOOLREF: Self
Recover a value from the \e constant \e pool
Sourcepub const CPUI_INSERT: Self
pub const CPUI_INSERT: Self
Insert a bit-range
Sourcepub const CPUI_EXTRACT: Self
pub const CPUI_EXTRACT: Self
Extract a bit-range
Sourcepub const CPUI_POPCOUNT: Self
pub const CPUI_POPCOUNT: Self
Count the 1-bits
Sourcepub const CPUI_LZCOUNT: Self
pub const CPUI_LZCOUNT: Self
Count the leading 0-bits