OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_OPCODES_H_ | 5 #ifndef V8_COMPILER_OPCODES_H_ |
6 #define V8_COMPILER_OPCODES_H_ | 6 #define V8_COMPILER_OPCODES_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 // Opcodes for control operators. | 10 // Opcodes for control operators. |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 V(NumberLessThanOrEqual) \ | 170 V(NumberLessThanOrEqual) \ |
171 V(ReferenceEqual) \ | 171 V(ReferenceEqual) \ |
172 V(StringEqual) \ | 172 V(StringEqual) \ |
173 V(StringLessThan) \ | 173 V(StringLessThan) \ |
174 V(StringLessThanOrEqual) | 174 V(StringLessThanOrEqual) |
175 | 175 |
176 #define SIMPLIFIED_OP_LIST(V) \ | 176 #define SIMPLIFIED_OP_LIST(V) \ |
177 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ | 177 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ |
178 V(BooleanNot) \ | 178 V(BooleanNot) \ |
179 V(BooleanToNumber) \ | 179 V(BooleanToNumber) \ |
| 180 V(SpeculativeNumberAdd) \ |
| 181 V(SpeculativeNumberSubtract) \ |
180 V(NumberAdd) \ | 182 V(NumberAdd) \ |
181 V(NumberSubtract) \ | 183 V(NumberSubtract) \ |
182 V(NumberMultiply) \ | 184 V(NumberMultiply) \ |
183 V(NumberDivide) \ | 185 V(NumberDivide) \ |
184 V(NumberModulus) \ | 186 V(NumberModulus) \ |
185 V(NumberBitwiseOr) \ | 187 V(NumberBitwiseOr) \ |
186 V(NumberBitwiseXor) \ | 188 V(NumberBitwiseXor) \ |
187 V(NumberBitwiseAnd) \ | 189 V(NumberBitwiseAnd) \ |
188 V(NumberShiftLeft) \ | 190 V(NumberShiftLeft) \ |
189 V(NumberShiftRight) \ | 191 V(NumberShiftRight) \ |
(...skipping 12 matching lines...) Expand all Loading... |
202 V(ChangeTaggedSignedToInt32) \ | 204 V(ChangeTaggedSignedToInt32) \ |
203 V(ChangeTaggedToInt32) \ | 205 V(ChangeTaggedToInt32) \ |
204 V(ChangeTaggedToUint32) \ | 206 V(ChangeTaggedToUint32) \ |
205 V(ChangeTaggedToFloat64) \ | 207 V(ChangeTaggedToFloat64) \ |
206 V(ChangeInt31ToTaggedSigned) \ | 208 V(ChangeInt31ToTaggedSigned) \ |
207 V(ChangeInt32ToTagged) \ | 209 V(ChangeInt32ToTagged) \ |
208 V(ChangeUint32ToTagged) \ | 210 V(ChangeUint32ToTagged) \ |
209 V(ChangeFloat64ToTagged) \ | 211 V(ChangeFloat64ToTagged) \ |
210 V(ChangeTaggedToBit) \ | 212 V(ChangeTaggedToBit) \ |
211 V(ChangeBitToTagged) \ | 213 V(ChangeBitToTagged) \ |
| 214 V(CheckedUint32ToInt32) \ |
| 215 V(CheckedFloat64ToInt32) \ |
| 216 V(CheckedTaggedToInt32) \ |
| 217 V(CheckedTaggedToFloat64) \ |
212 V(TruncateTaggedToWord32) \ | 218 V(TruncateTaggedToWord32) \ |
213 V(TruncateTaggedToFloat64) \ | 219 V(TruncateTaggedToFloat64) \ |
214 V(Allocate) \ | 220 V(Allocate) \ |
215 V(LoadField) \ | 221 V(LoadField) \ |
216 V(LoadBuffer) \ | 222 V(LoadBuffer) \ |
217 V(LoadElement) \ | 223 V(LoadElement) \ |
218 V(StoreField) \ | 224 V(StoreField) \ |
219 V(StoreBuffer) \ | 225 V(StoreBuffer) \ |
220 V(StoreElement) \ | 226 V(StoreElement) \ |
221 V(ObjectIsCallable) \ | 227 V(ObjectIsCallable) \ |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 } | 640 } |
635 }; | 641 }; |
636 | 642 |
637 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 643 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
638 | 644 |
639 } // namespace compiler | 645 } // namespace compiler |
640 } // namespace internal | 646 } // namespace internal |
641 } // namespace v8 | 647 } // namespace v8 |
642 | 648 |
643 #endif // V8_COMPILER_OPCODES_H_ | 649 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |