diff options
author | Jan Hubicka <jh@suse.cz> | 2005-04-22 10:16:54 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-04-22 08:16:54 +0000 |
commit | ca31b95fa3f967fce4ea405dc56ed26182270209 (patch) | |
tree | 598ab8016451f69732ab1a9e5b0b7a779f6eb73f /gcc/cgraph.h | |
parent | 6e32e5b97a009659a9001b98d72785bc3bf43deb (diff) | |
download | gcc-ca31b95fa3f967fce4ea405dc56ed26182270209.tar.gz |
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.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index e701e5625f1..02fa662061f 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 */ |