This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trunk]: Make IPA_PASS call ipa pass function once per compilation, rather than once per function.
- From: "Diego Novillo" <dnovillo at google dot com>
- To: "Kenneth Zadeck" <zadeck at naturalbridge dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "Hubicha, Jan" <jh at suse dot cz>
- Date: Thu, 15 May 2008 15:16:30 -0400
- Subject: Re: [trunk]: Make IPA_PASS call ipa pass function once per compilation, rather than once per function.
- References: <482C7230.4050708@naturalbridge.com>
On Thu, May 15, 2008 at 13:26, Kenneth Zadeck <zadeck@naturalbridge.com> wrote:
> * cgraph.h (compute_inline_parameters): Made public.
> * tree-pass.h (ipa_opt_pass): Removed function_generate_summary,
> variable_generate_summary, function_write_summary,
> variable_write_summary, variable_read_summary. Added
> generate_summary, write_summary, read_summary.
> * cgraphunit.c (cgraph_process_new_functions): Changed call from
> pass_ipa_inline.function_generate_summary, to
> compute_inline_parameters.
> * ipa-inline.c (compute_inline_parameters): Made public and added
> node parameter.
> (compute_inline_parameters_for_current): New function.
> (pass_inline_param): Now calls
> compute_inline_parameters_for_current.
> (inline_generate_summary): Removed parameter and made to loop over
> all cgraph nodes.
> (pass_ipa_inline): Updated for new IPA_PASS structure.
> * passes.c (execute_ipa_summary_passes): Now is called once per
> pass rather than once per node*pass.
OK.
Diego.