diff options
author | Jan Hubicka <jh@suse.cz> | 2012-09-12 17:55:13 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2012-09-12 17:55:13 +0000 |
commit | fe31af0aad31fbd9a3fc9f2e751b39dc6c8e51d5 (patch) | |
tree | 4b0831fe3e4311ccc76b7a244999bd8e3c36b484 /gcc/common.opt | |
parent | 1e08abb97cf98e09fb388b71e3cdef9190917301 (diff) |
* 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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@191229 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 19ea29fed48..aa893acb20e 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1439,12 +1439,16 @@ Link-time optimization with number of parallel jobs or jobserver. flto-partition=1to1 Common Var(flag_lto_partition_1to1) -Partition functions and vars at linktime based on object files they originate from +Partition symbols and vars at linktime based on object files they originate from flto-partition=balanced Common Var(flag_lto_partition_balanced) Partition functions and vars at linktime into approximately same sized buckets +flto-partition=max +Common Var(flag_lto_partition_max) +Put every symbol into separate partition + flto-partition=none Common Var(flag_lto_partition_none) Disable partioning and streaming |