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]

[ipa-branch] Transforming IPCP to SSA


A mix up in the title name in the recent patch I sent, sorry....
Razya
__________________


Attached is the patch for IPCP transformed to Tree-SSA form on ipa-branch.
I also added simple profiling support, according to which only hot methods 

are versioned and the constant is propagated into them.

Bootstrapped and regtested on powerpc-linux.

OK for ipa branch?

Thanks,
Razya

Changelog:

        * ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA.
          (compute_prof): New function to compute how hot each method is. 
Use compute_function_frequency.
          * ipa-prop.c (ipa_method_modify_stmt, 
ipa_callsite_compute_param): Support for SSA.
          * predict.c (compute_function_frequency): Change from static to 
extern. 
 



Attachment: diff_ipcp
Description: Binary data


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