11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #ifndef SHARE_VM_C1_C1_LIRGENERATOR_HPP 26 #define SHARE_VM_C1_C1_LIRGENERATOR_HPP 27 28 #include "c1/c1_Instruction.hpp" 29 #include "c1/c1_LIR.hpp" 30 #include "ci/ciMethodData.hpp" 31 #include "jfr/support/jfrIntrinsics.hpp" 32 #include "utilities/sizes.hpp" 33 34 // The classes responsible for code emission and register allocation 35 36 37 class LIRGenerator; 38 class LIREmitter; 39 class Invoke; 40 class SwitchRange; 41 class LIRItem; 42 43 define_array(LIRItemArray, LIRItem*) 44 define_stack(LIRItemList, LIRItemArray) 45 46 class SwitchRange: public CompilationResourceObj { 47 private: 48 int _low_key; 49 int _high_key; 50 BlockBegin* _sux; 51 public: | 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #ifndef SHARE_VM_C1_C1_LIRGENERATOR_HPP 26 #define SHARE_VM_C1_C1_LIRGENERATOR_HPP 27 28 #include "c1/c1_Instruction.hpp" 29 #include "c1/c1_LIR.hpp" 30 #include "ci/ciMethodData.hpp" 31 #if INCLUDE_JFR 32 #include "jfr/support/jfrIntrinsics.hpp" 33 #endif 34 #include "utilities/sizes.hpp" 35 36 // The classes responsible for code emission and register allocation 37 38 39 class LIRGenerator; 40 class LIREmitter; 41 class Invoke; 42 class SwitchRange; 43 class LIRItem; 44 45 define_array(LIRItemArray, LIRItem*) 46 define_stack(LIRItemList, LIRItemArray) 47 48 class SwitchRange: public CompilationResourceObj { 49 private: 50 int _low_key; 51 int _high_key; 52 BlockBegin* _sux; 53 public: |