]> gcc.gnu.org Git - gcc.git/commitdiff
timevar.def (TV_MACH_DEP): New.
authorRichard Henderson <rth@redhat.com>
Sun, 19 Aug 2001 02:43:30 +0000 (19:43 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 19 Aug 2001 02:43:30 +0000 (19:43 -0700)
        * timevar.def (TV_MACH_DEP): New.
        * toplev.c (rest_of_compilation): Use it.
        * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.

From-SVN: r45017

gcc/ChangeLog
gcc/config/ia64/ia64.c
gcc/timevar.def
gcc/toplev.c

index 61ff995418a14b233a17c38555741c6978f42e9b..30b7c23d9ff4d522294e4829ce50d01bcc7878b5 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-18  Richard Henderson  <rth@redhat.com>
+
+       * timevar.def (TV_MACH_DEP): New.
+       * toplev.c (rest_of_compilation): Use it.
+       * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
+
 2001-08-18  Zack Weinberg  <zackw@panix.com>
 
        * unwind-dw2.c (execute_stack_op): Add default aborts to
index 360e2b32fab81f05172d00325053c8a437448939..52fc6e504f253eeaea16a22127eeaf509d154a9b 100644 (file)
@@ -43,6 +43,7 @@ Boston, MA 02111-1307, USA.  */
 #include "basic-block.h"
 #include "toplev.h"
 #include "sched-int.h"
+#include "timevar.h"
 #include "target.h"
 #include "target-def.h"
 
@@ -6562,9 +6563,11 @@ ia64_reorg (insns)
 
   if (ia64_flag_schedule_insns2)
     {
+      timevar_push (TV_SCHED2);
       ia64_final_schedule = 1;
       schedule_ebbs (rtl_dump_file);
       ia64_final_schedule = 0;
+      timevar_pop (TV_SCHED2);
 
       /* This relies on the NOTE_INSN_BASIC_BLOCK notes to be in the same
         place as they were during scheduling.  */
index 1ad57a1c504d7aa57069e4deed7c39bf6233be2d..2cfffb21bf7df7c6e25eda2d7cb6a710c726924e 100644 (file)
@@ -69,6 +69,7 @@ DEFTIMEVAR (TV_IFCVT2              , "if-conversion 2")
 DEFTIMEVAR (TV_PEEPHOLE2             , "peephole 2")
 DEFTIMEVAR (TV_RENAME_REGISTERS      , "rename registers")
 DEFTIMEVAR (TV_SCHED2                , "scheduling 2")
+DEFTIMEVAR (TV_MACH_DEP              , "machine dep reorg")
 DEFTIMEVAR (TV_DBR_SCHED             , "delay branch sched")
 DEFTIMEVAR (TV_REORDER_BLOCKS        , "reorder blocks")
 DEFTIMEVAR (TV_SHORTEN_BRANCH        , "shorten branches")
index 690a3bc556da7a118a83792a6acf835a23199d36..8f2e8f571c909f53974eb0b7c0539693fc2e0ba5 100644 (file)
@@ -3611,11 +3611,13 @@ rest_of_compilation (decl)
 
   /* If a machine dependent reorganization is needed, call it.  */
 #ifdef MACHINE_DEPENDENT_REORG
+  timevar_push (TV_MACH_DEP);
   open_dump_file (DFI_mach, decl);
 
   MACHINE_DEPENDENT_REORG (insns);
 
   close_dump_file (DFI_mach, print_rtl, insns);
+  timevar_pop (TV_MACH_DEP);
 
   ggc_collect ();
 #endif
This page took 0.085788 seconds and 5 git commands to generate.