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]

gcc/gcc ChangeLog.rtlopt Makefile.in gcov-io.h ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	rtlopt-branch
Changes by:	rakdver@gcc.gnu.org	2002-11-26 17:15:37

Modified files:
	gcc            : ChangeLog.rtlopt Makefile.in gcov-io.h 
	                 libgcc2.c loop-init.c profile.c profile.h vpt.c 

Log message:
	* Makefile.in (loop-init.o): Add gcov-io.h dependency.
	* gcov-io.h (struct counter_section, struct counter_section_data): New.
	(struct function_info): n_arc_counts, n_loop_histogram_counters and
	n_value_histogram_counters fields merged into new n_counter_sections and
	counter_sections fields.
	(struct gcov_info): arc_counts, n_arc_counts, histogram_counts,
	n_histogram_counts, value_counts and n_value_counts merged into
	n_counter_sections and counter_sections fields.
	* libgcc2.c (gcov_exit, __gcov_flush): Rewritten to enable adding
	new section types.
	* loop-init.c: Include gcov-io.h.
	(loop_optimizer_init): Modified.
	* profile.c (struct function_list): count_edges, histogram_counters
	and value_counters merged to n_counter_sections and counter_sections
	fields.
	(set_purpose, label_for_tag, build_counter_section_fields,
	build_counter_section_value, build_counter_section_data_fields,
	build_counter_section_data_value, build_function_info_fields,
	build_function_info_value, build_gcov_info_fields,
	build_gcov_info_value, find_counters_section): New.
	(instrument_edges, instrument_loops, instrument_values,
	get_histogram_counts, compute_loop_histograms, compute_value_histograms,
	compute_branch_probabilities, branch_prob, create_profiler): Modified
	to enable adding new section types.
	* profile.h (MAX_COUNTER_SECTIONS): New.
	(struct section_info): New.
	(struct profile_info): count_instrumented_edges, count_histogram_counters,
	count_value_counters, count_edges_instrumented_now,
	count_histogram_counters_now, count_value_counters_now,
	have_loop_histograms, have_value_histograms fields merged into
	new n_sections and section_info fields.
	(find_counters_section): Declare.
	* vpt.c (insn_values_to_profile, gen_mod_subtract): Fix.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.rtlopt.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.1.2.34&r2=1.1.2.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.937.2.9&r2=1.937.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcov-io.h.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.16.6.3&r2=1.16.6.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/libgcc2.c.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.147.2.4&r2=1.147.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop-init.c.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/profile.c.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.97.2.5&r2=1.97.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/profile.h.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.3.14.3&r2=1.3.14.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/vpt.c.diff?cvsroot=gcc&only_with_tag=rtlopt-branch&r1=1.1.2.2&r2=1.1.2.3


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