diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-13 22:01:59 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-13 22:01:59 +0000 |
commit | 93f713da385a66bc9e611805152d69d7250e47cd (patch) | |
tree | 2a7c206f5ca8bf502c60fb2e517ccdc7c268a4bb /gcc/ipa-inline.h | |
parent | 0762de0b1cb533e82765c7ec1cdc6d3e21f4b540 (diff) | |
download | gcc-93f713da385a66bc9e611805152d69d7250e47cd.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173739 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline.h')
-rw-r--r-- | gcc/ipa-inline.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ipa-inline.h b/gcc/ipa-inline.h index c9f881ecea7..8162cf2d777 100644 --- a/gcc/ipa-inline.h +++ b/gcc/ipa-inline.h @@ -149,7 +149,9 @@ void inline_free_summary (void); void initialize_inline_failed (struct cgraph_edge *); int estimate_time_after_inlining (struct cgraph_node *, struct cgraph_edge *); int estimate_size_after_inlining (struct cgraph_node *, struct cgraph_edge *); -void estimate_ipcp_clone_size_and_time (struct cgraph_node *, int *, int *); +void estimate_ipcp_clone_size_and_time (struct cgraph_node *, + VEC (tree, heap) *known_vals, + int *, int *); int do_estimate_growth (struct cgraph_node *); void inline_merge_summary (struct cgraph_edge *edge); int do_estimate_edge_growth (struct cgraph_edge *edge); |