OLD | NEW |
---|---|
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_INSTRUCTION_SELECTOR_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
300 | 300 |
301 // Visit the node and generate code, if any. | 301 // Visit the node and generate code, if any. |
302 void VisitNode(Node* node); | 302 void VisitNode(Node* node); |
303 | 303 |
304 // Visit the node and generate code for IEEE 754 functions. | 304 // Visit the node and generate code for IEEE 754 functions. |
305 void VisitFloat64Ieee754Binop(Node*, InstructionCode code); | 305 void VisitFloat64Ieee754Binop(Node*, InstructionCode code); |
306 void VisitFloat64Ieee754Unop(Node*, InstructionCode code); | 306 void VisitFloat64Ieee754Unop(Node*, InstructionCode code); |
307 | 307 |
308 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 308 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
309 MACHINE_OP_LIST(DECLARE_GENERATOR) | 309 MACHINE_OP_LIST(DECLARE_GENERATOR) |
310 MACHINE_SIMD_RETURN_NUM_OP_LIST(DECLARE_GENERATOR) | 310 MACHINE_SIMD_OP_LIST(DECLARE_GENERATOR) |
311 MACHINE_SIMD_RETURN_SIMD_OP_LIST(DECLARE_GENERATOR) | |
bbudge
2016/11/30 22:10:10
This is only a partial list of SIMD ops. Make the
| |
312 #undef DECLARE_GENERATOR | 311 #undef DECLARE_GENERATOR |
313 | 312 |
314 void VisitFinishRegion(Node* node); | 313 void VisitFinishRegion(Node* node); |
315 void VisitParameter(Node* node); | 314 void VisitParameter(Node* node); |
316 void VisitIfException(Node* node); | 315 void VisitIfException(Node* node); |
317 void VisitOsrValue(Node* node); | 316 void VisitOsrValue(Node* node); |
318 void VisitPhi(Node* node); | 317 void VisitPhi(Node* node); |
319 void VisitProjection(Node* node); | 318 void VisitProjection(Node* node); |
320 void VisitConstant(Node* node); | 319 void VisitConstant(Node* node); |
321 void VisitCall(Node* call, BasicBlock* handler = nullptr); | 320 void VisitCall(Node* call, BasicBlock* handler = nullptr); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
373 EnableSerialization enable_serialization_; | 372 EnableSerialization enable_serialization_; |
374 Frame* frame_; | 373 Frame* frame_; |
375 bool instruction_selection_failed_; | 374 bool instruction_selection_failed_; |
376 }; | 375 }; |
377 | 376 |
378 } // namespace compiler | 377 } // namespace compiler |
379 } // namespace internal | 378 } // namespace internal |
380 } // namespace v8 | 379 } // namespace v8 |
381 | 380 |
382 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 381 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |