This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r187756 - in /branches/google/gcc-4_7/gcc: Chan...


Author: eraman
Date: Tue May 22 01:30:21 2012
New Revision: 187756

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187756
Log:
2012-05-21   Easwaran Raman  <eraman@google.com>

	* gcc/basic-block.h (maybe_hot_count_p): New declaration.
	* gcc/cgraph.c (dump_cgraph_node): Dump max_bb_count.
	(cgraph_clone_node): Update max_bb_count.
	* gcc/cgraph.h (cgraph_node): Add new field max_bb_count.
	* gcc/cgraphbuild.c (rebuild_cgraph_edges): Compute
	* max_bb_count.
	* gcc/cgraphunit.c (cgraph_copy_node_for_versioning): Copy
	* max_bb_count.
	* gcc/ipa-inline-transform.c (inline_call): Update max_bb_count
	* of
	the function to which this callsite is eventually inlined to.
	* gcc/ipa-inline.c (edge_hot_enough_p): New function.
	(want_inline_small_function_p): Call edge_hot_enough_p instead
	of cgraph_maybe_hot_edge_p.
	* gcc/params.def (PARAM_INLINE_FUNCTION_OVERHEAD_SIZE): New
	* param.
	* gcc/predict.c (maybe_hot_count_p): Make it non static.
	* gcc/testsuite/gcc.dg/tree-prof/inliner-1.c: Add option
	--param inline-hot-caller=0.
	* gcc/testsuite/gcc.dg/tree-prof/lipo/inliner-1_0.c: Likewise.

Modified:
    branches/google/gcc-4_7/gcc/ChangeLog.google-4_7
    branches/google/gcc-4_7/gcc/basic-block.h
    branches/google/gcc-4_7/gcc/cgraph.c
    branches/google/gcc-4_7/gcc/cgraph.h
    branches/google/gcc-4_7/gcc/cgraphbuild.c
    branches/google/gcc-4_7/gcc/cgraphunit.c
    branches/google/gcc-4_7/gcc/ipa-inline-transform.c
    branches/google/gcc-4_7/gcc/ipa-inline.c
    branches/google/gcc-4_7/gcc/params.def
    branches/google/gcc-4_7/gcc/predict.c
    branches/google/gcc-4_7/gcc/testsuite/gcc.dg/tree-prof/inliner-1.c
    branches/google/gcc-4_7/gcc/testsuite/gcc.dg/tree-prof/lipo/inliner-1_0.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]