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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 // Visit nodes in the given block and generate code. | 237 // Visit nodes in the given block and generate code. |
238 void VisitBlock(BasicBlock* block); | 238 void VisitBlock(BasicBlock* block); |
239 | 239 |
240 // Visit the node for the control flow at the end of the block, generating | 240 // Visit the node for the control flow at the end of the block, generating |
241 // code if necessary. | 241 // code if necessary. |
242 void VisitControl(BasicBlock* block); | 242 void VisitControl(BasicBlock* block); |
243 | 243 |
244 // Visit the node and generate code, if any. | 244 // Visit the node and generate code, if any. |
245 void VisitNode(Node* node); | 245 void VisitNode(Node* node); |
246 | 246 |
| 247 // Visit the node and generate code for IEEE 754 functions. |
| 248 void VisitFloat64Ieee754Unop(Node*, InstructionCode code); |
| 249 |
247 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 250 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
248 MACHINE_OP_LIST(DECLARE_GENERATOR) | 251 MACHINE_OP_LIST(DECLARE_GENERATOR) |
249 #undef DECLARE_GENERATOR | 252 #undef DECLARE_GENERATOR |
250 | 253 |
251 void VisitFinishRegion(Node* node); | 254 void VisitFinishRegion(Node* node); |
252 void VisitParameter(Node* node); | 255 void VisitParameter(Node* node); |
253 void VisitIfException(Node* node); | 256 void VisitIfException(Node* node); |
254 void VisitOsrValue(Node* node); | 257 void VisitOsrValue(Node* node); |
255 void VisitPhi(Node* node); | 258 void VisitPhi(Node* node); |
256 void VisitProjection(Node* node); | 259 void VisitProjection(Node* node); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 IntVector virtual_registers_; | 297 IntVector virtual_registers_; |
295 InstructionScheduler* scheduler_; | 298 InstructionScheduler* scheduler_; |
296 Frame* frame_; | 299 Frame* frame_; |
297 }; | 300 }; |
298 | 301 |
299 } // namespace compiler | 302 } // namespace compiler |
300 } // namespace internal | 303 } // namespace internal |
301 } // namespace v8 | 304 } // namespace v8 |
302 | 305 |
303 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 306 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |