This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [trunk]: Make IPA_PASS call ipa pass function once per compilation, rather than once per function.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]