diff options
author | Jan Hubicka <jh@suse.cz> | 2012-09-12 19:55:13 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2012-09-12 17:55:13 +0000 |
commit | c3c445e1cfe4184c0d3537f87e8e5bd3f9974646 (patch) | |
tree | 4b0831fe3e4311ccc76b7a244999bd8e3c36b484 /gcc/function.c | |
parent | b5c7cdfb0a1331bbed96c6e1c4f7e832fe070100 (diff) | |
download | gcc-c3c445e1cfe4184c0d3537f87e8e5bd3f9974646.zip gcc-c3c445e1cfe4184c0d3537f87e8e5bd3f9974646.tar.gz gcc-c3c445e1cfe4184c0d3537f87e8e5bd3f9974646.tar.bz2 |
common.opt (flto-partition): Add "max".
* common.opt (flto-partition): Add "max".
* invoke.texi (flto-partition): Document "max"
* lto.c (do_whole_program_analysis): Care timevars, statistics and
AUX pointer cleaning. Add max partitioning.
* lto-partition.c (enum symbol_class): New.
(get_symbol_class): New function.
(symbol_partitioned_p): New function.
(add_references_to_partition): Remove.
(add_aliases_to_partition): Remove.
(add_cgraph_node_to_partition_1): Remove.
(add_cgraph_node_to_partition): Remove.
(add_symbol_to_partition): New function.
(add_symbol_to_partition_1): New function.
(contained_in_symbol): New function.
(partition_cgraph_node_p): Remove.
(partition_varpool_node_p): Remove.
(partition_symbol_p): Remove.
(lto_1_to_1_map): Cleanup.
(lto_max_map): New.
(lto_balanced_map): Update.
(lto_promote_cross_file_statics): Update.
* lto-partition.h (lto_max_map): Declare.
* timevar.def (TV_WHOPR_PARTITIONING): New timevar.
From-SVN: r191229
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions