OSDN Git Service

* cgraph.h (struct varpool_node_set_def,
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 May 2010 19:43:37 +0000 (19:43 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 May 2010 19:43:37 +0000 (19:43 +0000)
commit68b8d82928331ae2244bc8550b8ee687e1cb23b7
treea276a5c35631e03dcead6a2f1f87fbf5ef0cfeef
parent4374b84b337eb2d1fa4c70d089703ff1d63f91a9
* cgraph.h (struct varpool_node_set_def,
struct cgraph_node_set_def): Remove unused AUX pointer.
(cgraph_node_set_nonempty_p, varpool_node_set_nonempty_p): Use
VEC_empty macro.

* lto.c (bitmap vector): Remove.
(lto_cgraph_node_sets,  lto_varpool_node_sets): Remove.
(ltrans_partition_def): New structure.
(ltrans_partition): New type and VECtor.
(new_partition): New function.
(add_cgraph_node_to_partition): New function.
(lto_1_to_1_map): Reorganize for partitions.
(lto_add_inline_clones): Remove.
(lto_add_all_inlinees): Remove.
(lto_promote_cross_file_statics): Use partitions.
(cmp_partitions): New function.
(lto_wpa_write_files): Do not call lto_add_all_inlinees;
use partitions; output files sorted by size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160034 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.h
gcc/lto/ChangeLog
gcc/lto/lto.c