* Makefile.in (ipa-inline.o): Add COEVERAGE_H dependency. * cgraph.c (cgraph_create_node): Reset estimated_growth. * cgraph.h (cgraph_global_info): Add estimated_growth. * ipa-inline.c: Include coverage.h (max_insns, max_count): New static variables. (cgraph_estimate_size_after_inlining): Cache the result. (cgraph_estimate_growth): * passes.c (rest_of_clean_state): Kill coverage_end_function. * timevar.def (TV_INLINE_HEURISTICS): New timevar. * tree-optimize.c (init_tree_optimization_passes): Move profiling before inlining. (ipa_passes): Initialize bitmaps. * gcc.dg/tree-prof/inliner-1.c: New. 2005-05-25 Janis Johnson <janis187@us.ibm.com> * gcc.dg/tree-prof: New directory. * gcc.dg/tree-prof/tree-prof.exp: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100144 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 15 additions, 0 deletionsgcc/ChangeLog
- gcc/Makefile.in 2 additions, 1 deletiongcc/Makefile.in
- gcc/cgraph.c 1 addition, 0 deletionsgcc/cgraph.c
- gcc/cgraph.h 3 additions, 0 deletionsgcc/cgraph.h
- gcc/ipa-inline.c 299 additions, 105 deletionsgcc/ipa-inline.c
- gcc/passes.c 0 additions, 1 deletiongcc/passes.c
- gcc/profile.c 1 addition, 0 deletionsgcc/profile.c
- gcc/testsuite/ChangeLog 9 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/tree-prof/inliner-1.c 37 additions, 0 deletionsgcc/testsuite/gcc.dg/tree-prof/inliner-1.c
- gcc/testsuite/gcc.dg/tree-prof/tree-prof.exp 53 additions, 0 deletionsgcc/testsuite/gcc.dg/tree-prof/tree-prof.exp
- gcc/timevar.def 1 addition, 0 deletionsgcc/timevar.def
- gcc/tree-optimize.c 4 additions, 2 deletionsgcc/tree-optimize.c
Loading
Please register or sign in to comment