| 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 <deque> | 8 #include <deque> |
| 9 | 9 |
| 10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 InstructionOperand* a, InstructionOperand* b, | 52 InstructionOperand* a, InstructionOperand* b, |
| 53 size_t temp_count = 0, InstructionOperand* *temps = NULL); | 53 size_t temp_count = 0, InstructionOperand* *temps = NULL); |
| 54 Instruction* Emit(InstructionCode opcode, InstructionOperand* output, | 54 Instruction* Emit(InstructionCode opcode, InstructionOperand* output, |
| 55 InstructionOperand* a, InstructionOperand* b, | 55 InstructionOperand* a, InstructionOperand* b, |
| 56 InstructionOperand* c, size_t temp_count = 0, | 56 InstructionOperand* c, size_t temp_count = 0, |
| 57 InstructionOperand* *temps = NULL); | 57 InstructionOperand* *temps = NULL); |
| 58 Instruction* Emit(InstructionCode opcode, InstructionOperand* output, | 58 Instruction* Emit(InstructionCode opcode, InstructionOperand* output, |
| 59 InstructionOperand* a, InstructionOperand* b, | 59 InstructionOperand* a, InstructionOperand* b, |
| 60 InstructionOperand* c, InstructionOperand* d, | 60 InstructionOperand* c, InstructionOperand* d, |
| 61 size_t temp_count = 0, InstructionOperand* *temps = NULL); | 61 size_t temp_count = 0, InstructionOperand* *temps = NULL); |
| 62 Instruction* Emit(InstructionCode opcode, InstructionOperand* output, |
| 63 InstructionOperand* a, InstructionOperand* b, |
| 64 InstructionOperand* c, InstructionOperand* d, |
| 65 InstructionOperand* e, size_t temp_count = 0, |
| 66 InstructionOperand* *temps = NULL); |
| 67 Instruction* Emit(InstructionCode opcode, InstructionOperand* output, |
| 68 InstructionOperand* a, InstructionOperand* b, |
| 69 InstructionOperand* c, InstructionOperand* d, |
| 70 InstructionOperand* e, InstructionOperand* f, |
| 71 size_t temp_count = 0, InstructionOperand* *temps = NULL); |
| 62 Instruction* Emit(InstructionCode opcode, size_t output_count, | 72 Instruction* Emit(InstructionCode opcode, size_t output_count, |
| 63 InstructionOperand** outputs, size_t input_count, | 73 InstructionOperand** outputs, size_t input_count, |
| 64 InstructionOperand** inputs, size_t temp_count = 0, | 74 InstructionOperand** inputs, size_t temp_count = 0, |
| 65 InstructionOperand* *temps = NULL); | 75 InstructionOperand* *temps = NULL); |
| 66 Instruction* Emit(Instruction* instr); | 76 Instruction* Emit(Instruction* instr); |
| 67 | 77 |
| 68 // =========================================================================== | 78 // =========================================================================== |
| 69 // ============== Architecture-independent CPU feature methods. ============== | 79 // ============== Architecture-independent CPU feature methods. ============== |
| 70 // =========================================================================== | 80 // =========================================================================== |
| 71 | 81 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 ZoneDeque<Instruction*> instructions_; | 231 ZoneDeque<Instruction*> instructions_; |
| 222 BoolVector defined_; | 232 BoolVector defined_; |
| 223 BoolVector used_; | 233 BoolVector used_; |
| 224 }; | 234 }; |
| 225 | 235 |
| 226 } // namespace compiler | 236 } // namespace compiler |
| 227 } // namespace internal | 237 } // namespace internal |
| 228 } // namespace v8 | 238 } // namespace v8 |
| 229 | 239 |
| 230 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 240 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |