tree-pass.h (opt_pass): Add IPA_PASS.
authorJan Hubicka <jh@suse.cz>
Thu, 1 May 2008 16:08:15 +0000 (18:08 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 1 May 2008 16:08:15 +0000 (16:08 +0000)
commit17653c00b9d77f94272588e58400de197005b3a6
tree417705d74e26aac95b03885b54a88b3c22e0d807
parentbd9513ea36c626d301024efb0d0eebd43ca2489a
tree-pass.h (opt_pass): Add IPA_PASS.

* tree-pass.h (opt_pass): Add IPA_PASS.
(varpool_node, cgraph_node): Forward declare.
(ipa_opt_pass): Define.
(pass_ipa_inline): Turn into ipa_opt_pass.
(pass_apply_inline): Remove.
* ipa-inline.c (pass_ipa_inline): Turn into ipa_opt_pass.
(apply_inline): Turn into ....
(inline_transform): ... this one.
(inline_generate_summary): New function.
(pass_apply_inline): Remove.
* function.h (ipa_opt_pass): Forward declare structure; typedef;
vector.
(struct function): Add ipa_transforms_to_apply.
* passes.c (register_one_dump_file): Work on IPA_PASS.
(init_optimization_passes): Remove pass_inline_parameters and
pass_apply_inline.
(pass_init_dump_file, pass_fini_dump_file): Break out from ....
(execute_one_pass) ... here; apply transforms when possible.
(add_ipa_transform_pass, execute_ipa_summary_asses,
execute_one_ipa_transform_pass): New.
(execute_ipa_pass_list): Update for IPA_PASS type.

From-SVN: r134859
gcc/ChangeLog
gcc/function.h
gcc/ipa-inline.c
gcc/passes.c
gcc/tree-pass.h