#[repr(u8)]pub enum Opcode {
Show 139 variants
Trap = 0,
Fallthrough = 1,
Ecalli = 10,
LoadImm64 = 20,
StoreImmU8 = 30,
StoreImmU16 = 31,
StoreImmU32 = 32,
StoreImmU64 = 33,
Jump = 40,
JumpInd = 50,
LoadImm = 51,
LoadU8 = 52,
LoadI8 = 53,
LoadU16 = 54,
LoadI16 = 55,
LoadU32 = 56,
LoadI32 = 57,
LoadU64 = 58,
StoreU8 = 59,
StoreU16 = 60,
StoreU32 = 61,
StoreU64 = 62,
StoreImmIndU8 = 70,
StoreImmIndU16 = 71,
StoreImmIndU32 = 72,
StoreImmIndU64 = 73,
LoadImmJump = 80,
BranchEqImm = 81,
BranchNeImm = 82,
BranchLtUImm = 83,
BranchLeUImm = 84,
BranchGeUImm = 85,
BranchGtUImm = 86,
BranchLtSImm = 87,
BranchLeSImm = 88,
BranchGeSImm = 89,
BranchGtSImm = 90,
MoveReg = 100,
Sbrk = 101,
CountSetBits64 = 102,
CountSetBits32 = 103,
LeadingZeroBits64 = 104,
LeadingZeroBits32 = 105,
TrailingZeroBits64 = 106,
TrailingZeroBits32 = 107,
SignExtend8 = 108,
SignExtend16 = 109,
ZeroExtend16 = 110,
ReverseBytes = 111,
StoreIndU8 = 120,
StoreIndU16 = 121,
StoreIndU32 = 122,
StoreIndU64 = 123,
LoadIndU8 = 124,
LoadIndI8 = 125,
LoadIndU16 = 126,
LoadIndI16 = 127,
LoadIndU32 = 128,
LoadIndI32 = 129,
LoadIndU64 = 130,
AddImm32 = 131,
AndImm = 132,
XorImm = 133,
OrImm = 134,
MulImm32 = 135,
SetLtUImm = 136,
SetLtSImm = 137,
ShloLImm32 = 138,
ShloRImm32 = 139,
SharRImm32 = 140,
NegAddImm32 = 141,
SetGtUImm = 142,
SetGtSImm = 143,
ShloLImmAlt32 = 144,
ShloRImmAlt32 = 145,
SharRImmAlt32 = 146,
CmovIzImm = 147,
CmovNzImm = 148,
AddImm64 = 149,
MulImm64 = 150,
ShloLImm64 = 151,
ShloRImm64 = 152,
SharRImm64 = 153,
NegAddImm64 = 154,
ShloLImmAlt64 = 155,
ShloRImmAlt64 = 156,
SharRImmAlt64 = 157,
RotRImm64 = 158,
RotRImmAlt64 = 159,
RotRImm32 = 160,
RotRImmAlt32 = 161,
BranchEq = 170,
BranchNe = 171,
BranchLtU = 172,
BranchLtS = 173,
BranchGeU = 174,
BranchGeS = 175,
LoadImmJumpInd = 180,
Add32 = 190,
Sub32 = 191,
Mul32 = 192,
DivU32 = 193,
DivS32 = 194,
RemU32 = 195,
RemS32 = 196,
ShloL32 = 197,
ShloR32 = 198,
SharR32 = 199,
Add64 = 200,
Sub64 = 201,
Mul64 = 202,
DivU64 = 203,
DivS64 = 204,
RemU64 = 205,
RemS64 = 206,
ShloL64 = 207,
ShloR64 = 208,
SharR64 = 209,
And = 210,
Xor = 211,
Or = 212,
MulUpperSS = 213,
MulUpperUU = 214,
MulUpperSU = 215,
SetLtU = 216,
SetLtS = 217,
CmovIz = 218,
CmovNz = 219,
RotL64 = 220,
RotL32 = 221,
RotR64 = 222,
RotR32 = 223,
AndInv = 224,
OrInv = 225,
Xnor = 226,
Max = 227,
MaxU = 228,
Min = 229,
MinU = 230,
}Variants§
Trap = 0
Fallthrough = 1
Ecalli = 10
LoadImm64 = 20
StoreImmU8 = 30
StoreImmU16 = 31
StoreImmU32 = 32
StoreImmU64 = 33
Jump = 40
JumpInd = 50
LoadImm = 51
LoadU8 = 52
LoadI8 = 53
LoadU16 = 54
LoadI16 = 55
LoadU32 = 56
LoadI32 = 57
LoadU64 = 58
StoreU8 = 59
StoreU16 = 60
StoreU32 = 61
StoreU64 = 62
StoreImmIndU8 = 70
StoreImmIndU16 = 71
StoreImmIndU32 = 72
StoreImmIndU64 = 73
LoadImmJump = 80
BranchEqImm = 81
BranchNeImm = 82
BranchLtUImm = 83
BranchLeUImm = 84
BranchGeUImm = 85
BranchGtUImm = 86
BranchLtSImm = 87
BranchLeSImm = 88
BranchGeSImm = 89
BranchGtSImm = 90
MoveReg = 100
Sbrk = 101
CountSetBits64 = 102
CountSetBits32 = 103
LeadingZeroBits64 = 104
LeadingZeroBits32 = 105
TrailingZeroBits64 = 106
TrailingZeroBits32 = 107
SignExtend8 = 108
SignExtend16 = 109
ZeroExtend16 = 110
ReverseBytes = 111
StoreIndU8 = 120
StoreIndU16 = 121
StoreIndU32 = 122
StoreIndU64 = 123
LoadIndU8 = 124
LoadIndI8 = 125
LoadIndU16 = 126
LoadIndI16 = 127
LoadIndU32 = 128
LoadIndI32 = 129
LoadIndU64 = 130
AddImm32 = 131
AndImm = 132
XorImm = 133
OrImm = 134
MulImm32 = 135
SetLtUImm = 136
SetLtSImm = 137
ShloLImm32 = 138
ShloRImm32 = 139
SharRImm32 = 140
NegAddImm32 = 141
SetGtUImm = 142
SetGtSImm = 143
ShloLImmAlt32 = 144
ShloRImmAlt32 = 145
SharRImmAlt32 = 146
CmovIzImm = 147
CmovNzImm = 148
AddImm64 = 149
MulImm64 = 150
ShloLImm64 = 151
ShloRImm64 = 152
SharRImm64 = 153
NegAddImm64 = 154
ShloLImmAlt64 = 155
ShloRImmAlt64 = 156
SharRImmAlt64 = 157
RotRImm64 = 158
RotRImmAlt64 = 159
RotRImm32 = 160
RotRImmAlt32 = 161
BranchEq = 170
BranchNe = 171
BranchLtU = 172
BranchLtS = 173
BranchGeU = 174
BranchGeS = 175
LoadImmJumpInd = 180
Add32 = 190
Sub32 = 191
Mul32 = 192
DivU32 = 193
DivS32 = 194
RemU32 = 195
RemS32 = 196
ShloL32 = 197
ShloR32 = 198
SharR32 = 199
Add64 = 200
Sub64 = 201
Mul64 = 202
DivU64 = 203
DivS64 = 204
RemU64 = 205
RemS64 = 206
ShloL64 = 207
ShloR64 = 208
SharR64 = 209
And = 210
Xor = 211
Or = 212
MulUpperSS = 213
MulUpperUU = 214
MulUpperSU = 215
SetLtU = 216
SetLtS = 217
CmovIz = 218
CmovNz = 219
RotL64 = 220
RotL32 = 221
RotR64 = 222
RotR32 = 223
AndInv = 224
OrInv = 225
Xnor = 226
Max = 227
MaxU = 228
Min = 229
MinU = 230
Implementations§
Trait Implementations§
impl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnsafeUnpin for Opcode
impl UnwindSafe for Opcode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.