OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 2696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2707 // Operand created by UseRegisterAtStart is guaranteed to be live only at | 2707 // Operand created by UseRegisterAtStart is guaranteed to be live only at |
2708 // instruction start. Register allocator is free to assign the same register | 2708 // instruction start. Register allocator is free to assign the same register |
2709 // to some other operand used inside instruction (i.e. temporary or | 2709 // to some other operand used inside instruction (i.e. temporary or |
2710 // output). | 2710 // output). |
2711 MUST_USE_RESULT LOperand* UseRegister(HValue* value); | 2711 MUST_USE_RESULT LOperand* UseRegister(HValue* value); |
2712 MUST_USE_RESULT LOperand* UseRegisterAtStart(HValue* value); | 2712 MUST_USE_RESULT LOperand* UseRegisterAtStart(HValue* value); |
2713 | 2713 |
2714 // An input operand in a register that may be trashed. | 2714 // An input operand in a register that may be trashed. |
2715 MUST_USE_RESULT LOperand* UseTempRegister(HValue* value); | 2715 MUST_USE_RESULT LOperand* UseTempRegister(HValue* value); |
2716 | 2716 |
| 2717 // An input operand in a register that may be trashed or a constant operand. |
| 2718 MUST_USE_RESULT LOperand* UseTempRegisterOrConstant(HValue* value); |
| 2719 |
2717 // An input operand in a register or stack slot. | 2720 // An input operand in a register or stack slot. |
2718 MUST_USE_RESULT LOperand* Use(HValue* value); | 2721 MUST_USE_RESULT LOperand* Use(HValue* value); |
2719 MUST_USE_RESULT LOperand* UseAtStart(HValue* value); | 2722 MUST_USE_RESULT LOperand* UseAtStart(HValue* value); |
2720 | 2723 |
2721 // An input operand in a register, stack slot or a constant operand. | 2724 // An input operand in a register, stack slot or a constant operand. |
2722 MUST_USE_RESULT LOperand* UseOrConstant(HValue* value); | 2725 MUST_USE_RESULT LOperand* UseOrConstant(HValue* value); |
2723 MUST_USE_RESULT LOperand* UseOrConstantAtStart(HValue* value); | 2726 MUST_USE_RESULT LOperand* UseOrConstantAtStart(HValue* value); |
2724 | 2727 |
2725 // An input operand in a register or a constant operand. | 2728 // An input operand in a register or a constant operand. |
2726 MUST_USE_RESULT LOperand* UseRegisterOrConstant(HValue* value); | 2729 MUST_USE_RESULT LOperand* UseRegisterOrConstant(HValue* value); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2801 | 2804 |
2802 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2805 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2803 }; | 2806 }; |
2804 | 2807 |
2805 #undef DECLARE_HYDROGEN_ACCESSOR | 2808 #undef DECLARE_HYDROGEN_ACCESSOR |
2806 #undef DECLARE_CONCRETE_INSTRUCTION | 2809 #undef DECLARE_CONCRETE_INSTRUCTION |
2807 | 2810 |
2808 } } // namespace v8::int | 2811 } } // namespace v8::int |
2809 | 2812 |
2810 #endif // V8_X64_LITHIUM_X64_H_ | 2813 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |