diff options
author | Martin Liska <mliska@suse.cz> | 2016-11-30 10:28:19 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-11-30 09:28:19 +0000 |
commit | 0bdad1238b5b49ef3302321000d8eebf103e9038 (patch) | |
tree | 6d721cbe91abe7323a92144b80da27b5858de8ad /gcc/dumpfile.h | |
parent | fb61d96cf20d5bb6db8fd72ef7b528804e9f6be4 (diff) | |
download | gcc-0bdad1238b5b49ef3302321000d8eebf103e9038.zip gcc-0bdad1238b5b49ef3302321000d8eebf103e9038.tar.gz gcc-0bdad1238b5b49ef3302321000d8eebf103e9038.tar.bz2 |
Introduce -fdump-ipa-clones dump output
* cgraph.c (symbol_table::initialize): Initialize
ipa_clones_dump_file.
(cgraph_node::remove): Report to ipa_clones_dump_file.
* cgraph.h: Add new argument (suffix) to cloning methods.
* cgraphclones.c (dump_callgraph_transformation): New function.
(cgraph_node::create_clone): New argument.
(cgraph_node::create_virtual_clone): Likewise.
(cgraph_node::create_version_clone): Likewise.
* dumpfile.c: Add .ipa-clones dump file.
* dumpfile.h (enum tree_dump_index): Add TDI_clones
* ipa-inline-transform.c (clone_inlined_nodes): Report operation
to dump_callgraph_transformation.
From-SVN: r243004
Diffstat (limited to 'gcc/dumpfile.h')
-rw-r--r-- | gcc/dumpfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h index f366228..9ef4570 100644 --- a/gcc/dumpfile.h +++ b/gcc/dumpfile.h @@ -29,6 +29,7 @@ enum tree_dump_index TDI_none, /* No dump */ TDI_cgraph, /* dump function call graph. */ TDI_inheritance, /* dump type inheritance graph. */ + TDI_clones, /* dump IPA cloning decisions. */ TDI_tu, /* dump the whole translation unit. */ TDI_class, /* dump class hierarchy. */ TDI_original, /* dump each function before optimizing it */ |