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 2692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2703 // Operand created by UseRegisterAtStart is guaranteed to be live only at | 2703 // Operand created by UseRegisterAtStart is guaranteed to be live only at |
2704 // instruction start. Register allocator is free to assign the same register | 2704 // instruction start. Register allocator is free to assign the same register |
2705 // to some other operand used inside instruction (i.e. temporary or | 2705 // to some other operand used inside instruction (i.e. temporary or |
2706 // output). | 2706 // output). |
2707 MUST_USE_RESULT LOperand* UseRegister(HValue* value); | 2707 MUST_USE_RESULT LOperand* UseRegister(HValue* value); |
2708 MUST_USE_RESULT LOperand* UseRegisterAtStart(HValue* value); | 2708 MUST_USE_RESULT LOperand* UseRegisterAtStart(HValue* value); |
2709 | 2709 |
2710 // An input operand in a register that may be trashed. | 2710 // An input operand in a register that may be trashed. |
2711 MUST_USE_RESULT LOperand* UseTempRegister(HValue* value); | 2711 MUST_USE_RESULT LOperand* UseTempRegister(HValue* value); |
2712 | 2712 |
| 2713 // An input operand in a register that may be trashed or a constant operand. |
| 2714 MUST_USE_RESULT LOperand* UseTempRegisterOrConstant(HValue* value); |
| 2715 |
2713 // An input operand in a register or stack slot. | 2716 // An input operand in a register or stack slot. |
2714 MUST_USE_RESULT LOperand* Use(HValue* value); | 2717 MUST_USE_RESULT LOperand* Use(HValue* value); |
2715 MUST_USE_RESULT LOperand* UseAtStart(HValue* value); | 2718 MUST_USE_RESULT LOperand* UseAtStart(HValue* value); |
2716 | 2719 |
2717 // An input operand in a register, stack slot or a constant operand. | 2720 // An input operand in a register, stack slot or a constant operand. |
2718 MUST_USE_RESULT LOperand* UseOrConstant(HValue* value); | 2721 MUST_USE_RESULT LOperand* UseOrConstant(HValue* value); |
2719 MUST_USE_RESULT LOperand* UseOrConstantAtStart(HValue* value); | 2722 MUST_USE_RESULT LOperand* UseOrConstantAtStart(HValue* value); |
2720 | 2723 |
2721 // An input operand in a register or a constant operand. | 2724 // An input operand in a register or a constant operand. |
2722 MUST_USE_RESULT LOperand* UseRegisterOrConstant(HValue* value); | 2725 MUST_USE_RESULT LOperand* UseRegisterOrConstant(HValue* value); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2797 | 2800 |
2798 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2801 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2799 }; | 2802 }; |
2800 | 2803 |
2801 #undef DECLARE_HYDROGEN_ACCESSOR | 2804 #undef DECLARE_HYDROGEN_ACCESSOR |
2802 #undef DECLARE_CONCRETE_INSTRUCTION | 2805 #undef DECLARE_CONCRETE_INSTRUCTION |
2803 | 2806 |
2804 } } // namespace v8::int | 2807 } } // namespace v8::int |
2805 | 2808 |
2806 #endif // V8_X64_LITHIUM_X64_H_ | 2809 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |