diff options
author | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-30 09:28:19 +0000 |
---|---|---|
committer | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-30 09:28:19 +0000 |
commit | 9dc70d59ab283cedbd1e3e6bb9cf8bff718eba91 (patch) | |
tree | 6d721cbe91abe7323a92144b80da27b5858de8ad /gcc/dumpfile.h | |
parent | 9b51ac5095b7c4e218ce2e919f830c9597ee8fef (diff) | |
download | gcc-9dc70d59ab283cedbd1e3e6bb9cf8bff718eba91.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243004 138bc75d-0d04-0410-961f-82ee72b054a4
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 f366228f465..9ef45704882 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 */ |