src/share/vm/c1/c1_Compilation.cpp

Print this page




   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  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 #include "incls/_precompiled.incl"
  26 #include "incls/_c1_Compilation.cpp.incl"








  27 
  28 
  29 typedef enum {
  30   _t_compile,
  31   _t_setup,
  32   _t_optimizeIR,
  33   _t_buildIR,
  34   _t_emit_lir,
  35   _t_linearScan,
  36   _t_lirGeneration,
  37   _t_lir_schedule,
  38   _t_codeemit,
  39   _t_codeinstall,
  40   max_phase_timers
  41 } TimerName;
  42 
  43 static const char * timer_name[] = {
  44   "compile",
  45   "setup",
  46   "optimizeIR",




   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  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 #include "precompiled.hpp"
  26 #include "c1/c1_CFGPrinter.hpp"
  27 #include "c1/c1_Compilation.hpp"
  28 #include "c1/c1_IR.hpp"
  29 #include "c1/c1_LIRAssembler.hpp"
  30 #include "c1/c1_LinearScan.hpp"
  31 #include "c1/c1_MacroAssembler.hpp"
  32 #include "c1/c1_ValueMap.hpp"
  33 #include "c1/c1_ValueStack.hpp"
  34 #include "code/debugInfoRec.hpp"
  35 
  36 
  37 typedef enum {
  38   _t_compile,
  39   _t_setup,
  40   _t_optimizeIR,
  41   _t_buildIR,
  42   _t_emit_lir,
  43   _t_linearScan,
  44   _t_lirGeneration,
  45   _t_lir_schedule,
  46   _t_codeemit,
  47   _t_codeinstall,
  48   max_phase_timers
  49 } TimerName;
  50 
  51 static const char * timer_name[] = {
  52   "compile",
  53   "setup",
  54   "optimizeIR",