summaryrefslogtreecommitdiffstats
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-15 22:58:03 +0000
committerzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-15 22:58:03 +0000
commit9c1bff7abb9eaea655a2414de68de8f6f0d2a340 (patch)
tree2c6ab8e53e59d94a67a634900e3ca0f68350582a /gcc/cgraph.h
parentc39f424e2d2196626259ea872694f48a40c7287d (diff)
downloadppe42-gcc-9c1bff7abb9eaea655a2414de68de8f6f0d2a340.tar.gz
ppe42-gcc-9c1bff7abb9eaea655a2414de68de8f6f0d2a340.zip
2008-05-15 Kenneth Zadeck <zadeck@naturalbridge.com>
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135401 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 97b5e1fd484..b537cb5785b 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -418,6 +418,7 @@ varpool_next_static_initializer (struct varpool_node *node)
void cgraph_clone_inlined_nodes (struct cgraph_edge *, bool, bool);
void cgraph_mark_inline_edge (struct cgraph_edge *, bool);
bool cgraph_default_inline_p (struct cgraph_node *, const char **);
+unsigned int compute_inline_parameters (struct cgraph_node *);
/* Create a new static variable of type TYPE. */
OpenPOWER on IntegriCloud