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]

r191932 - in /branches/google/main/gcc: ChangeL...


Author: tejohnson
Date: Mon Oct  1 17:00:23 2012
New Revision: 191932

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191932
Log:
Add a new dump flag that dumps PMU profile information using the -pmu dump option.

2012-10-01  Teresa Johnson  <tejohnson@google.com>
            Chris Manghane  <cmang@google.com>

	* doc/invoke.texi: Update -fpmu-profile-use option.
	* tree-dump.c: Add new dump flag.
	* tree-pretty-print.c (dump_load_latency_details): New function.
	(dump_pmu): Ditto.
	(dump_generic_node): Add support for new dump flag.
	* tree-pretty-print.h (dump_pmu): Declare.
	* tree-pass.h (enum tree_dump_index): Add new dump flag.
	* gcov.c (process_pmu_profile): Fix string table count assert.
	* opts.c (OPT_fpmu_profile_use_): Add support for -fpmu-profile-use.
	* gimple-pretty-print.c (dump_gimple_phi): Add support for new dump
        flag.
	(dump_gimple_stmt): Ditto.
	* coverage.c (struct pmu_entry): New structure.
        (struct gcov_pmu_summary): Ditto.
	(htab_pmu_entry_hash): New function.
	(htab_pmu_entry_eq): Ditto.
	(htab_pmu_entry_del): Ditto.
	(read_pmu_file): Ditto.
	(get_pmu_hash_entry): Ditto.
	(process_pmu_data): Ditto.
	(get_coverage_pmu_latency): Ditto.
	(get_coverage_pmu_branch_mispredict): Ditto.
	(pmu_data_present): Ditto.
	(coverage_init): Add pmu file read support.
	* coverage.h (get_coverage_pmu_latency): Declare.
        (get_coverage_pmu_branch_mispredict): Ditto.
	* common.opt: Update -fpmu-profile-use option.

Modified:
    branches/google/main/gcc/ChangeLog.google-main
    branches/google/main/gcc/common.opt
    branches/google/main/gcc/coverage.c
    branches/google/main/gcc/coverage.h
    branches/google/main/gcc/doc/invoke.texi
    branches/google/main/gcc/gcov.c
    branches/google/main/gcc/gimple-pretty-print.c
    branches/google/main/gcc/opts.c
    branches/google/main/gcc/tree-dump.c
    branches/google/main/gcc/tree-pass.h
    branches/google/main/gcc/tree-pretty-print.c
    branches/google/main/gcc/tree-pretty-print.h


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