timevar.def (TV_TREE_RECIP, [...]): Add.
authorRichard Biener <rguenther@suse.de>
Tue, 5 Dec 2017 13:19:45 +0000 (13:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 5 Dec 2017 13:19:45 +0000 (13:19 +0000)
2017-12-05  Richard Biener   <rguenther@suse.de>

* timevar.def (TV_TREE_RECIP, TV_TREE_SINCOS, TV_TREE_WIDEN_MUL):
Add.
* tree-ssa-math-opts.c (pass_data_cse_reciprocal): Use TV_TREE_RECIP.
(pass_data_cse_sincos): Use TV_TREE_SINCOS.
(pass_data_optimize_widening_mul): Use TV_TREE_WIDEN_MUL.

From-SVN: r255415

gcc/ChangeLog
gcc/timevar.def
gcc/tree-ssa-math-opts.c

index 9ac3af5647e82eae84412d892f1a396547d1848a..4ddc4801cc24a4904d76bfb5b04da354bb85b114 100644 (file)
@@ -1,3 +1,11 @@
+2017-12-05  Richard Biener   <rguenther@suse.de>
+
+       * timevar.def (TV_TREE_RECIP, TV_TREE_SINCOS, TV_TREE_WIDEN_MUL):
+       Add.
+       * tree-ssa-math-opts.c (pass_data_cse_reciprocal): Use TV_TREE_RECIP.
+       (pass_data_cse_sincos): Use TV_TREE_SINCOS.
+       (pass_data_optimize_widening_mul): Use TV_TREE_WIDEN_MUL.
+
 2017-12-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * dbxout.c (dbxout_block): Grow buf to 30 bytes.
index 8cec6af80dfb426e595d12452ff890e72471ccce..20ab860ca1310f85dd2fcf47f4155e5a10b5bbc9 100644 (file)
@@ -209,6 +209,9 @@ DEFTIMEVAR (TV_TREE_SSA_VERIFY       , "tree SSA verifier")
 DEFTIMEVAR (TV_TREE_STMT_VERIFY      , "tree STMT verifier")
 DEFTIMEVAR (TV_TREE_SWITCH_CONVERSION, "tree switch conversion")
 DEFTIMEVAR (TV_TREE_SWITCH_LOWERING,   "tree switch lowering")
+DEFTIMEVAR (TV_TREE_RECIP            , "gimple CSE reciprocals")
+DEFTIMEVAR (TV_TREE_SINCOS           , "gimple CSE sin/cos")
+DEFTIMEVAR (TV_TREE_WIDEN_MUL        , "gimple widening/fma detection")
 DEFTIMEVAR (TV_TRANS_MEM             , "transactional memory")
 DEFTIMEVAR (TV_TREE_STRLEN           , "tree strlen optimization")
 DEFTIMEVAR (TV_CGRAPH_VERIFY         , "callgraph verifier")
index 7b5250b083ca7465343d0d99406d115c2038e748..8db12f5e1cd5d227bd6c3780420e93cd3fe7b435 100644 (file)
@@ -688,7 +688,7 @@ const pass_data pass_data_cse_reciprocals =
   GIMPLE_PASS, /* type */
   "recip", /* name */
   OPTGROUP_NONE, /* optinfo_flags */
-  TV_NONE, /* tv_id */
+  TV_TREE_RECIP, /* tv_id */
   PROP_ssa, /* properties_required */
   0, /* properties_provided */
   0, /* properties_destroyed */
@@ -1902,7 +1902,7 @@ const pass_data pass_data_cse_sincos =
   GIMPLE_PASS, /* type */
   "sincos", /* name */
   OPTGROUP_NONE, /* optinfo_flags */
-  TV_NONE, /* tv_id */
+  TV_TREE_SINCOS, /* tv_id */
   PROP_ssa, /* properties_required */
   PROP_gimple_opt_math, /* properties_provided */
   0, /* properties_destroyed */
@@ -3243,7 +3243,7 @@ const pass_data pass_data_optimize_widening_mul =
   GIMPLE_PASS, /* type */
   "widening_mul", /* name */
   OPTGROUP_NONE, /* optinfo_flags */
-  TV_NONE, /* tv_id */
+  TV_TREE_WIDEN_MUL, /* tv_id */
   PROP_ssa, /* properties_required */
   0, /* properties_provided */
   0, /* properties_destroyed */