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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 V(FrameState) \ | 54 V(FrameState) \ |
55 V(StateValues) \ | 55 V(StateValues) \ |
56 V(TypedStateValues) \ | 56 V(TypedStateValues) \ |
57 V(ObjectState) \ | 57 V(ObjectState) \ |
58 V(Call) \ | 58 V(Call) \ |
59 V(Parameter) \ | 59 V(Parameter) \ |
60 V(OsrValue) \ | 60 V(OsrValue) \ |
61 V(LoopExit) \ | 61 V(LoopExit) \ |
62 V(LoopExitValue) \ | 62 V(LoopExitValue) \ |
63 V(LoopExitEffect) \ | 63 V(LoopExitEffect) \ |
64 V(Projection) | 64 V(Projection) \ |
| 65 V(Retain) |
65 | 66 |
66 #define COMMON_OP_LIST(V) \ | 67 #define COMMON_OP_LIST(V) \ |
67 CONSTANT_OP_LIST(V) \ | 68 CONSTANT_OP_LIST(V) \ |
68 INNER_OP_LIST(V) \ | 69 INNER_OP_LIST(V) \ |
69 V(Dead) | 70 V(Dead) |
70 | 71 |
71 // Opcodes for JavaScript operators. | 72 // Opcodes for JavaScript operators. |
72 #define JS_COMPARE_BINOP_LIST(V) \ | 73 #define JS_COMPARE_BINOP_LIST(V) \ |
73 V(JSEqual) \ | 74 V(JSEqual) \ |
74 V(JSNotEqual) \ | 75 V(JSNotEqual) \ |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 V(CheckNumber) \ | 276 V(CheckNumber) \ |
276 V(CheckString) \ | 277 V(CheckString) \ |
277 V(CheckTaggedPointer) \ | 278 V(CheckTaggedPointer) \ |
278 V(CheckTaggedSigned) \ | 279 V(CheckTaggedSigned) \ |
279 V(CheckFloat64Hole) \ | 280 V(CheckFloat64Hole) \ |
280 V(CheckTaggedHole) \ | 281 V(CheckTaggedHole) \ |
281 V(Allocate) \ | 282 V(Allocate) \ |
282 V(LoadField) \ | 283 V(LoadField) \ |
283 V(LoadBuffer) \ | 284 V(LoadBuffer) \ |
284 V(LoadElement) \ | 285 V(LoadElement) \ |
| 286 V(LoadTypedElement) \ |
285 V(StoreField) \ | 287 V(StoreField) \ |
286 V(StoreBuffer) \ | 288 V(StoreBuffer) \ |
287 V(StoreElement) \ | 289 V(StoreElement) \ |
| 290 V(StoreTypedElement) \ |
288 V(ObjectIsCallable) \ | 291 V(ObjectIsCallable) \ |
289 V(ObjectIsNumber) \ | 292 V(ObjectIsNumber) \ |
290 V(ObjectIsReceiver) \ | 293 V(ObjectIsReceiver) \ |
291 V(ObjectIsSmi) \ | 294 V(ObjectIsSmi) \ |
292 V(ObjectIsString) \ | 295 V(ObjectIsString) \ |
293 V(ObjectIsUndetectable) \ | 296 V(ObjectIsUndetectable) \ |
294 V(TransitionElementsKind) | 297 V(TransitionElementsKind) |
295 | 298 |
296 #define SIMPLIFIED_OP_LIST(V) \ | 299 #define SIMPLIFIED_OP_LIST(V) \ |
297 SIMPLIFIED_CHANGE_OP_LIST(V) \ | 300 SIMPLIFIED_CHANGE_OP_LIST(V) \ |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 V(CheckedStore) \ | 469 V(CheckedStore) \ |
467 V(UnalignedLoad) \ | 470 V(UnalignedLoad) \ |
468 V(UnalignedStore) \ | 471 V(UnalignedStore) \ |
469 V(Int32PairAdd) \ | 472 V(Int32PairAdd) \ |
470 V(Int32PairSub) \ | 473 V(Int32PairSub) \ |
471 V(Int32PairMul) \ | 474 V(Int32PairMul) \ |
472 V(Word32PairShl) \ | 475 V(Word32PairShl) \ |
473 V(Word32PairShr) \ | 476 V(Word32PairShr) \ |
474 V(Word32PairSar) \ | 477 V(Word32PairSar) \ |
475 V(AtomicLoad) \ | 478 V(AtomicLoad) \ |
476 V(AtomicStore) | 479 V(AtomicStore) \ |
| 480 V(UnsafePointerAdd) |
477 | 481 |
478 #define MACHINE_SIMD_RETURN_SIMD_OP_LIST(V) \ | 482 #define MACHINE_SIMD_RETURN_SIMD_OP_LIST(V) \ |
479 V(CreateFloat32x4) \ | 483 V(CreateFloat32x4) \ |
480 V(Float32x4ReplaceLane) \ | 484 V(Float32x4ReplaceLane) \ |
481 V(Float32x4Abs) \ | 485 V(Float32x4Abs) \ |
482 V(Float32x4Neg) \ | 486 V(Float32x4Neg) \ |
483 V(Float32x4Sqrt) \ | 487 V(Float32x4Sqrt) \ |
484 V(Float32x4RecipApprox) \ | 488 V(Float32x4RecipApprox) \ |
485 V(Float32x4RecipSqrtApprox) \ | 489 V(Float32x4RecipSqrtApprox) \ |
486 V(Float32x4Add) \ | 490 V(Float32x4Add) \ |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 } | 743 } |
740 }; | 744 }; |
741 | 745 |
742 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 746 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
743 | 747 |
744 } // namespace compiler | 748 } // namespace compiler |
745 } // namespace internal | 749 } // namespace internal |
746 } // namespace v8 | 750 } // namespace v8 |
747 | 751 |
748 #endif // V8_COMPILER_OPCODES_H_ | 752 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |