Home | History | Annotate | Download | only in interpreter

Lines Matching defs:OperandType

41   V(LdaZero, OperandType::kNone)                                               \
42 V(LdaSmi8, OperandType::kImm8) \
43 V(LdaUndefined, OperandType::kNone) \
44 V(LdaNull, OperandType::kNone) \
45 V(LdaTheHole, OperandType::kNone) \
46 V(LdaTrue, OperandType::kNone) \
47 V(LdaFalse, OperandType::kNone) \
48 V(LdaConstant, OperandType::kIdx8) \
49 V(LdaConstantWide, OperandType::kIdx16) \
52 V(LdaGlobalSloppy, OperandType::kIdx8, OperandType::kIdx8) \
53 V(LdaGlobalStrict, OperandType::kIdx8, OperandType::kIdx8) \
54 V(LdaGlobalInsideTypeofSloppy, OperandType::kIdx8, OperandType::kIdx8) \
55 V(LdaGlobalInsideTypeofStrict, OperandType::kIdx8, OperandType::kIdx8) \
56 V(LdaGlobalSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \
57 V(LdaGlobalStrictWide, OperandType::kIdx16, OperandType::kIdx16) \
58 V(LdaGlobalInsideTypeofSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \
59 V(LdaGlobalInsideTypeofStrictWide, OperandType::kIdx16, OperandType::kIdx16) \
60 V(StaGlobalSloppy, OperandType::kIdx8, OperandType::kIdx8) \
61 V(StaGlobalStrict, OperandType::kIdx8, OperandType::kIdx8) \
62 V(StaGlobalSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \
63 V(StaGlobalStrictWide, OperandType::kIdx16, OperandType::kIdx16) \
66 V(PushContext, OperandType::kReg8) \
67 V(PopContext, OperandType::kReg8) \
68 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \
69 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \
70 V(LdaContextSlotWide, OperandType::kReg8, OperandType::kIdx16) \
71 V(StaContextSlotWide, OperandType::kReg8, OperandType::kIdx16) \
74 V(LdaLookupSlot, OperandType::kIdx8) \
75 V(LdaLookupSlotInsideTypeof, OperandType::kIdx8) \
76 V(LdaLookupSlotWide, OperandType::kIdx16) \
77 V(LdaLookupSlotInsideTypeofWide, OperandType::kIdx16) \
78 V(StaLookupSlotSloppy, OperandType::kIdx8) \
79 V(StaLookupSlotStrict, OperandType::kIdx8) \
80 V(StaLookupSlotSloppyWide, OperandType::kIdx16) \
81 V(StaLookupSlotStrictWide, OperandType::kIdx16) \
84 V(Ldar, OperandType::kReg8) \
85 V(Star, OperandType::kReg8) \
88 V(Mov, OperandType::kReg8, OperandType::kReg8) \
89 V(Exchange, OperandType::kReg8, OperandType::kReg16) \
90 V(ExchangeWide, OperandType::kReg16, OperandType::kReg16) \
93 V(LoadICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \
94 V(LoadICStrict, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \
95 V(KeyedLoadICSloppy, OperandType::kReg8, OperandType::kIdx8) \
96 V(KeyedLoadICStrict, OperandType::kReg8, OperandType::kIdx8) \
98 V(LoadICSloppyWide, OperandType::kReg8, OperandType::kIdx16, \
99 OperandType::kIdx16) \
100 V(LoadICStrictWide, OperandType::kReg8, OperandType::kIdx16, \
101 OperandType::kIdx16) \
102 V(KeyedLoadICSloppyWide, OperandType::kReg8, OperandType::kIdx16) \
103 V(KeyedLoadICStrictWide, OperandType::kReg8, OperandType::kIdx16) \
106 V(StoreICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \
107 V(StoreICStrict, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \
108 V(KeyedStoreICSloppy, OperandType::kReg8, OperandType::kReg8, \
109 OperandType::kIdx8) \
110 V(KeyedStoreICStrict, OperandType::kReg8, OperandType::kReg8, \
111 OperandType::kIdx8) \
113 V(StoreICSloppyWide, OperandType::kReg8, OperandType::kIdx16, \
114 OperandType::kIdx16) \
115 V(StoreICStrictWide, OperandType::kReg8, OperandType::kIdx16, \
116 OperandType::kIdx16) \
117 V(KeyedStoreICSloppyWide, OperandType::kReg8, OperandType::kReg8, \
118 OperandType::kIdx16) \
119 V(KeyedStoreICStrictWide, OperandType::kReg8, OperandType::kReg8, \
120 OperandType::kIdx16) \
123 V(Add, OperandType::kReg8) \
124 V(Sub, OperandType::kReg8) \
125 V(Mul, OperandType::kReg8) \
126 V(Div, OperandType::kReg8) \
127 V(Mod, OperandType::kReg8) \
128 V(BitwiseOr, OperandType::kReg8) \
129 V(BitwiseXor, OperandType::kReg8) \
130 V(BitwiseAnd, OperandType::kReg8) \
131 V(ShiftLeft, OperandType::kReg8) \
132 V(ShiftRight, OperandType::kReg8) \
133 V(ShiftRightLogical, OperandType::kReg8) \
136 V(Inc, OperandType::kNone) \
137 V(Dec, OperandType::kNone) \
138 V(LogicalNot, OperandType::kNone) \
139 V(TypeOf, OperandType::kNone) \
140 V(DeletePropertyStrict, OperandType::kReg8) \
141 V(DeletePropertySloppy, OperandType::kReg8) \
142 V(DeleteLookupSlot, OperandType::kNone) \
145 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8, \
146 OperandType::kIdx8) \
147 V(CallWide, OperandType::kReg8, OperandType::kReg8, OperandType::kCount16, \
148 OperandType::kIdx16) \
149 V(CallRuntime, OperandType::kIdx16, OperandType::kMaybeReg8, \
150 OperandType::kCount8) \
151 V(CallRuntimeForPair, OperandType::kIdx16, OperandType::kMaybeReg8, \
152 OperandType::kCount8, OperandType::kRegPair8) \
153 V(CallJSRuntime, OperandType::kIdx16, OperandType::kReg8, \
154 OperandType::kCount8) \
157 V(New, OperandType::kReg8, OperandType::kMaybeReg8, OperandType::kCount8) \
160 V(TestEqual, OperandType::kReg8) \
161 V(TestNotEqual, OperandType::kReg8) \
162 V(TestEqualStrict, OperandType::kReg8) \
163 V(TestNotEqualStrict, OperandType::kReg8) \
164 V(TestLessThan, OperandType::kReg8) \
165 V(TestGreaterThan, OperandType::kReg8) \
166 V(TestLessThanOrEqual, OperandType::kReg8) \
167 V(TestGreaterThanOrEqual, OperandType::kReg8) \
168 V(TestInstanceOf, OperandType::kReg8) \
169 V(TestIn, OperandType::kReg8) \
172 V(ToName, OperandType::kNone) \
173 V(ToNumber, OperandType::kNone) \
174 V(ToObject, OperandType::kNone) \
177 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kIdx8, \
178 OperandType::kImm8) \
179 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kIdx8, \
180 OperandType::kImm8) \
181 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kIdx8, \
182 OperandType::kImm8) \
183 V(CreateRegExpLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \
184 OperandType::kImm8) \
185 V(CreateArrayLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \
186 OperandType::kImm8) \
187 V(CreateObjectLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \
188 OperandType::kImm8) \
191 V(CreateClosure, OperandType::kIdx8, OperandType::kImm8) \
192 V(CreateClosureWide, OperandType::kIdx16, OperandType::kImm8) \
195 V(CreateMappedArguments, OperandType::kNone) \
196 V(CreateUnmappedArguments, OperandType::kNone) \
199 V(Jump, OperandType::kImm8) \
200 V(JumpConstant, OperandType::kIdx8) \
201 V(JumpConstantWide, OperandType::kIdx16) \
202 V(JumpIfTrue, OperandType::kImm8) \
203 V(JumpIfTrueConstant, OperandType::kIdx8) \
204 V(JumpIfTrueConstantWide, OperandType::kIdx16) \
205 V(JumpIfFalse, OperandType::kImm8) \
206 V(JumpIfFalseConstant, OperandType::kIdx8) \
207 V(JumpIfFalseConstantWide, OperandType::kIdx16) \
208 V(JumpIfToBooleanTrue, OperandType::kImm8) \
209 V(JumpIfToBooleanTrueConstant, OperandType::kIdx8) \
210 V(JumpIfToBooleanTrueConstantWide, OperandType::kIdx16) \
211 V(JumpIfToBooleanFalse, OperandType::kImm8) \
212 V(JumpIfToBooleanFalseConstant, OperandType::kIdx8) \
213 V(JumpIfToBooleanFalseConstantWide, OperandType::kIdx16) \
214 V(JumpIfNull, OperandType::kImm8) \
215 V(JumpIfNullConstant, OperandType::kIdx8) \
216 V(JumpIfNullConstantWide, OperandType::kIdx16) \
217 V(JumpIfUndefined, OperandType::kImm8) \
218 V(JumpIfUndefinedConstant, OperandType::kIdx8) \
219 V(JumpIfUndefinedConstantWide, OperandType::kIdx16) \
222 V(ForInPrepare, OperandType::kReg8, OperandType::kReg8, OperandType::kReg8) \
223 V(ForInDone, OperandType::kReg8, OperandType::kReg8) \
224 V(ForInNext, OperandType::kReg8, OperandType::kReg8, OperandType::kReg8, \
225 OperandType
226 V(ForInStep, OperandType::kReg8) \
229 V(Throw, OperandType::kNone) \
230 V(Return, OperandType::kNone)
242 enum class OperandType : uint8_t {
338 static const char* OperandTypeToString(OperandType operand_type);
353 static OperandType GetOperandType(Bytecode bytecode, int i);
366 static OperandSize SizeOfOperand(OperandType operand);
369 // an immediate byte operand (OperandType::kImm8).
373 // a constant pool entry (OperandType::kIdx8).
377 // a constant pool entry (OperandType::kIdx16).
385 // an immediate byte operand (OperandType::kImm8).
389 // constant pool entry (OperandType::kIdx8).
393 // constant pool entry (OperandType::kIdx16).
412 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);