OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ |
6 #define V8_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_MIPS_H_ |
7 | 7 |
8 #include "hydrogen.h" | 8 #include "hydrogen.h" |
9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
10 #include "lithium.h" | 10 #include "lithium.h" |
(...skipping 2745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2756 | 2756 |
2757 // An input operand in a constant operand. | 2757 // An input operand in a constant operand. |
2758 MUST_USE_RESULT LOperand* UseConstant(HValue* value); | 2758 MUST_USE_RESULT LOperand* UseConstant(HValue* value); |
2759 | 2759 |
2760 // An input operand in register, stack slot or a constant operand. | 2760 // An input operand in register, stack slot or a constant operand. |
2761 // Will not be moved to a register even if one is freely available. | 2761 // Will not be moved to a register even if one is freely available. |
2762 virtual MUST_USE_RESULT LOperand* UseAny(HValue* value) V8_OVERRIDE; | 2762 virtual MUST_USE_RESULT LOperand* UseAny(HValue* value) V8_OVERRIDE; |
2763 | 2763 |
2764 // Temporary operand that must be in a register. | 2764 // Temporary operand that must be in a register. |
2765 MUST_USE_RESULT LUnallocated* TempRegister(); | 2765 MUST_USE_RESULT LUnallocated* TempRegister(); |
| 2766 MUST_USE_RESULT LUnallocated* TempDoubleRegister(); |
2766 MUST_USE_RESULT LOperand* FixedTemp(Register reg); | 2767 MUST_USE_RESULT LOperand* FixedTemp(Register reg); |
2767 MUST_USE_RESULT LOperand* FixedTemp(DoubleRegister reg); | 2768 MUST_USE_RESULT LOperand* FixedTemp(DoubleRegister reg); |
2768 | 2769 |
2769 // Methods for setting up define-use relationships. | 2770 // Methods for setting up define-use relationships. |
2770 // Return the same instruction that they are passed. | 2771 // Return the same instruction that they are passed. |
2771 LInstruction* Define(LTemplateResultInstruction<1>* instr, | 2772 LInstruction* Define(LTemplateResultInstruction<1>* instr, |
2772 LUnallocated* result); | 2773 LUnallocated* result); |
2773 LInstruction* DefineAsRegister(LTemplateResultInstruction<1>* instr); | 2774 LInstruction* DefineAsRegister(LTemplateResultInstruction<1>* instr); |
2774 LInstruction* DefineAsSpilled(LTemplateResultInstruction<1>* instr, | 2775 LInstruction* DefineAsSpilled(LTemplateResultInstruction<1>* instr, |
2775 int index); | 2776 int index); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2813 | 2814 |
2814 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2815 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2815 }; | 2816 }; |
2816 | 2817 |
2817 #undef DECLARE_HYDROGEN_ACCESSOR | 2818 #undef DECLARE_HYDROGEN_ACCESSOR |
2818 #undef DECLARE_CONCRETE_INSTRUCTION | 2819 #undef DECLARE_CONCRETE_INSTRUCTION |
2819 | 2820 |
2820 } } // namespace v8::internal | 2821 } } // namespace v8::internal |
2821 | 2822 |
2822 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2823 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |