OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1880 // Operand created by UseRegister is guaranteed to be live until the end of | 1880 // Operand created by UseRegister is guaranteed to be live until the end of |
1881 // instruction. This means that register allocator will not reuse it's | 1881 // instruction. This means that register allocator will not reuse it's |
1882 // register for any other operand inside instruction. | 1882 // register for any other operand inside instruction. |
1883 // Operand created by UseRegisterAtStart is guaranteed to be live only at | 1883 // Operand created by UseRegisterAtStart is guaranteed to be live only at |
1884 // instruction start. Register allocator is free to assign the same register | 1884 // instruction start. Register allocator is free to assign the same register |
1885 // to some other operand used inside instruction (i.e. temporary or | 1885 // to some other operand used inside instruction (i.e. temporary or |
1886 // output). | 1886 // output). |
1887 LOperand* UseRegister(HValue* value); | 1887 LOperand* UseRegister(HValue* value); |
1888 LOperand* UseRegisterAtStart(HValue* value); | 1888 LOperand* UseRegisterAtStart(HValue* value); |
1889 | 1889 |
1890 // A value in a register that may be trashed. | 1890 // An input operand in a register that may be trashed. |
1891 LOperand* UseTempRegister(HValue* value); | 1891 LOperand* UseTempRegister(HValue* value); |
| 1892 |
| 1893 // An input operand in a register or stack slot. |
1892 LOperand* Use(HValue* value); | 1894 LOperand* Use(HValue* value); |
1893 LOperand* UseAtStart(HValue* value); | 1895 LOperand* UseAtStart(HValue* value); |
| 1896 |
| 1897 // An input operand in a register, stack slot or a constant operand. |
1894 LOperand* UseOrConstant(HValue* value); | 1898 LOperand* UseOrConstant(HValue* value); |
1895 LOperand* UseOrConstantAtStart(HValue* value); | 1899 LOperand* UseOrConstantAtStart(HValue* value); |
| 1900 |
| 1901 // An input operand in a register or a constant operand. |
1896 LOperand* UseRegisterOrConstant(HValue* value); | 1902 LOperand* UseRegisterOrConstant(HValue* value); |
1897 LOperand* UseRegisterOrConstantAtStart(HValue* value); | 1903 LOperand* UseRegisterOrConstantAtStart(HValue* value); |
1898 | 1904 |
| 1905 // An input operand in register, stack slot or a constant operand. |
| 1906 // Will not be moved to a register even if one is freely available. |
| 1907 LOperand* UseAny(HValue* value); |
| 1908 |
1899 // Methods for setting up define-use relationships. | 1909 // Methods for setting up define-use relationships. |
1900 // Return the same instruction that they are passed. | 1910 // Return the same instruction that they are passed. |
1901 LInstruction* Define(LInstruction* instr, LUnallocated* result); | 1911 LInstruction* Define(LInstruction* instr, LUnallocated* result); |
1902 LInstruction* Define(LInstruction* instr); | 1912 LInstruction* Define(LInstruction* instr); |
1903 LInstruction* DefineAsRegister(LInstruction* instr); | 1913 LInstruction* DefineAsRegister(LInstruction* instr); |
1904 LInstruction* DefineAsSpilled(LInstruction* instr, int index); | 1914 LInstruction* DefineAsSpilled(LInstruction* instr, int index); |
1905 LInstruction* DefineSameAsFirst(LInstruction* instr); | 1915 LInstruction* DefineSameAsFirst(LInstruction* instr); |
1906 LInstruction* DefineFixed(LInstruction* instr, Register reg); | 1916 LInstruction* DefineFixed(LInstruction* instr, Register reg); |
1907 LInstruction* DefineFixedDouble(LInstruction* instr, DoubleRegister reg); | 1917 LInstruction* DefineFixedDouble(LInstruction* instr, DoubleRegister reg); |
1908 LInstruction* AssignEnvironment(LInstruction* instr); | 1918 LInstruction* AssignEnvironment(LInstruction* instr); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1954 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 1964 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
1955 }; | 1965 }; |
1956 | 1966 |
1957 #undef DECLARE_HYDROGEN_ACCESSOR | 1967 #undef DECLARE_HYDROGEN_ACCESSOR |
1958 #undef DECLARE_INSTRUCTION | 1968 #undef DECLARE_INSTRUCTION |
1959 #undef DECLARE_CONCRETE_INSTRUCTION | 1969 #undef DECLARE_CONCRETE_INSTRUCTION |
1960 | 1970 |
1961 } } // namespace v8::internal | 1971 } } // namespace v8::internal |
1962 | 1972 |
1963 #endif // V8_ARM_LITHIUM_ARM_H_ | 1973 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |