]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/lto-cgraph.cc
varpool.c (dump_varpool_node): Dump used_by_single_function.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 24 Jun 2014 03:07:13 +0000 (05:07 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 24 Jun 2014 03:07:13 +0000 (03:07 +0000)
commiteb6a09a72512d4280d733ac952bfda092322793a
treea51449e3f96f4e51de47700bc16b67cd2476d8ce
parentd7dab049c733dce5c6bc35aae0194a0cef3aaa9f
varpool.c (dump_varpool_node): Dump used_by_single_function.

* varpool.c (dump_varpool_node): Dump used_by_single_function.
* tree-pass.h (make_pass_ipa_single_use): New pass.
* cgraph.h (used_by_single_function): New flag.
* lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Stream
it.
* passes.def (pass_ipa_single_use): Scedule.
* ipa.c (BOTTOM): New macro.
(meet): New function
(propagate_single_user): New function.
(ipa_single_use): New function.
(pass_data_ipa_single_use): New pass.
(pass_ipa_single_use): New pass.
(pass_ipa_single_use::gate): New gate.
(make_pass_ipa_single_use): New function.

From-SVN: r211925
gcc/ChangeLog
gcc/cgraph.h
gcc/ipa.c
gcc/lto-cgraph.c
gcc/passes.def
gcc/tree-pass.h
gcc/varpool.c