aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-04-22 10:16:54 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-04-22 08:16:54 +0000
commitca31b95fa3f967fce4ea405dc56ed26182270209 (patch)
tree598ab8016451f69732ab1a9e5b0b7a779f6eb73f /gcc/cgraph.h
parent6e32e5b97a009659a9001b98d72785bc3bf43deb (diff)
downloadgcc-ca31b95fa3f967fce4ea405dc56ed26182270209.zip
gcc-ca31b95fa3f967fce4ea405dc56ed26182270209.tar.gz
gcc-ca31b95fa3f967fce4ea405dc56ed26182270209.tar.bz2
Makefile.in (ipa.o, [...]): New files.
* Makefile.in (ipa.o, ipa-inline.o): New files. * cgraph.h (cgraph_remove_unreachable_nodes, cgraph_postorder, cgraph_decide_inlining_incrementally, cgraph_clone_inlined_nodes, cgraph_mark_inline_edge, cgraph_default_inline_p): Declare. * cgraphunit.c (cgraph_default_inline_p, cgraph_decide_inlining_incrementally, ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns, cgraph_estimate_size_after_inlining, cgraph_estimate_growth, cgraph_clone_inlined_nodes, cgraph_mark_inline_edge, cgraph_mark_inline, cgraph_check_inline_limits, cgraph_default_inline_p, cgraph_recursive_inlining_p, update_callee_keys, lookup_recursive_calls, cgraph_decide_recursive_inlining, cgraph_set_inline_failed, cgraph_decide_inlining_of_small_functions, cgraph_decide_inlining, cgraph_decide_inlining_incrementally, cgraph_gate_inlining, pass_ipa_inline): Move to ipa-inline.c (cgraph_postorder, cgraph_remove_unreachable_nodes): Move to ipa.c * ipa.c: New file. * ipa-inline.c: New file. From-SVN: r98548
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index e701e56..02fa662 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -226,4 +226,13 @@ void cgraph_build_static_cdtor (char which, tree body, int priority);
void cgraph_reset_static_var_maps (void);
void init_cgraph (void);
+/* In ipa.c */
+bool cgraph_remove_unreachable_nodes (bool, FILE *);
+int cgraph_postorder (struct cgraph_node **);
+
+/* In ipa-inline.c */
+void cgraph_decide_inlining_incrementally (struct cgraph_node *);
+void cgraph_clone_inlined_nodes (struct cgraph_edge *, bool);
+void cgraph_mark_inline_edge (struct cgraph_edge *);
+bool cgraph_default_inline_p (struct cgraph_node *);
#endif /* GCC_CGRAPH_H */