Transform TDF_{lang,tree,ipa,rtl} to dump_kind enum.
authorMartin Liska <mliska@suse.cz>
Thu, 18 May 2017 14:23:46 +0000 (16:23 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 18 May 2017 14:23:46 +0000 (14:23 +0000)
commit8264c84d54602b4ced60ec0a969b58b2c9c5a944
tree96265d1dfbd547ed2dbc558b16dd61ca13fc7362
parent671d5bcb262855ea7193f8349f38a15c388fcb6f
Transform TDF_{lang,tree,ipa,rtl} to dump_kind enum.

2017-05-18  Martin Liska  <mliska@suse.cz>

* cfgrtl.c (rtl_verify_edges): Remove usage of TDF_RTL.
* dumpfile.c (dump_register): Use new enum dump_kind.
(get_dump_file_name): Likewise.
(dump_enable_all): Likewise.
(dump_switch_p_1): Likewise.
(enable_rtl_dump_file): Remove usage of TDF_RTL.
* dumpfile.h (enum dump_kind): New enum type.
(struct dump_file_info): Create constructor and
format fields and comments.
* passes.c (pass_manager::register_one_dump_file):
Use num dump_kind.
* statistics.c (statistics_early_init): Likewise.
* tree-ssa-loop-prefetch.c (dump_mem_details): Replace
TDF_TREE with TDF_SLIM.
(gather_memory_references_ref): Likewise.

From-SVN: r248206
gcc/ChangeLog
gcc/cfgrtl.c
gcc/dumpfile.c
gcc/dumpfile.h
gcc/loop-unroll.c
gcc/passes.c
gcc/statistics.c
gcc/tree-ssa-loop-ivcanon.c
gcc/tree-ssa-loop-prefetch.c