ipa-prop.c (ipa_cst_from_jfunc): New function.
authorMartin Jambor <mjambor@suse.cz>
Fri, 13 May 2011 22:01:59 +0000 (00:01 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 13 May 2011 22:01:59 +0000 (00:01 +0200)
commit411a20d66cc3d87283a0caebbe1400ac2258aea5
tree2a7c206f5ca8bf502c60fb2e517ccdc7c268a4bb
parentd61d771f3bc92b15a77aedb29e36ffe13d3ca47a
ipa-prop.c (ipa_cst_from_jfunc): New function.

2011-05-13  Martin Jambor  <mjambor@suse.cz>

* ipa-prop.c (ipa_cst_from_jfunc): New function.
* ipa-prop.h (ipa_cst_from_jfunc): Declare.
* ipa-inline-analysis.c (evaluate_conditions_for_edge): Use it.
(evaluate_conditions_for_ipcp_clone): Removed.
(estimate_ipcp_clone_size_and_time): Accept vector of known constants.
* ipa-cp.c (ipcp_estimate_growth): Build vector of known constants.
* ipa-inline.h (estimate_ipcp_clone_size_and_time): Update.

From-SVN: r173739
gcc/ChangeLog
gcc/ipa-cp.c
gcc/ipa-inline-analysis.c
gcc/ipa-inline.h
gcc/ipa-prop.c
gcc/ipa-prop.h