diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2014-10-22 14:26:56 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2014-10-22 14:26:56 +0000 |
commit | 893479def2f2b98d16e7311fe3bfff58ed003467 (patch) | |
tree | 9d61392a70f0091f38c55c6d45211065e1032b6c /gcc/profile.h | |
parent | 4a7fca26b4c148457bef6da0975f1122aa106271 (diff) | |
download | gcc-893479def2f2b98d16e7311fe3bfff58ed003467.zip gcc-893479def2f2b98d16e7311fe3bfff58ed003467.tar.gz gcc-893479def2f2b98d16e7311fe3bfff58ed003467.tar.bz2 |
cfgbuild.h: New.
2014-10-22 Andrew MacLeod <amacleod@redhat.com>
* cfgbuild.h: New. Add prototypes for cfgbuild.c.
* cfgcleanup.h: New. Add prototypes for cfgcleanup.c.
* cfgloopmanip.h: New. Add prototypes for cfgloopmanip.c.
* dominance.h: New. Add prototypes for dominance.c.
* cfgloop.h: Move some prototypes/enum to cfgloopmanip.h and include it.
* cfghooks.h: (struct profile_record) Relocate here.
Relocate 2 prototypes from basic-block.h.
* basic-block.h: Move prototypes and struct to new header files.
Include cfgbuild.h, cfgcleanup.h, and dominance.h.
* rtl.h: Move a few prototypes to new header files.
* cfgcleanup.c (merge_memattrs): Make static.
* genopinit.c (main): Add predict.h to list of includes.
* predict.h: Update prototype list to match predict.c.
* predict.c (maybe_hot_count_p): Export.
(cgraph_edge::maybe_hot_p): Move to cgraph.c.
(cgraph_node::optimize_for_size_p): Move to cgraph.h.
* cgraph.h (cgraph_node::optimize_for_size_p): Relocate here.
* cgraph.c (cgraph_edge::maybe_hot_p): Relocate here.
* profile.h: Adjust prototypes.
* ifcvt.h: New. Relocate struct ce_if_block here.
* ifcvt.c: Include ifcvt.h.
* config/frv/frv.c: Include ifcvt.h.
* config/frv/frv-protos.h: Add 'struct' to ce_if_block * parameters.
From-SVN: r216559
Diffstat (limited to 'gcc/profile.h')
-rw-r--r-- | gcc/profile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/profile.h b/gcc/profile.h index 1275964..c34a0c7 100644 --- a/gcc/profile.h +++ b/gcc/profile.h @@ -37,6 +37,10 @@ struct edge_profile_info #define EDGE_INFO(e) ((struct edge_profile_info *) (e)->aux) +typedef struct gcov_working_set_info gcov_working_set_t; +extern gcov_working_set_t *find_working_set (unsigned pct_times_10); +extern void add_working_set (gcov_working_set_t *); + /* Smoothes the initial assigned basic block and edge counts using a minimum cost flow algorithm. */ extern void mcf_smooth_cfg (void); @@ -52,8 +56,4 @@ extern void get_working_sets (void); profile.c. */ extern const struct gcov_ctr_summary *profile_info; -/* In predict.c. */ -extern gcov_type get_hot_bb_threshold (void); -extern void set_hot_bb_threshold (gcov_type); - #endif /* PROFILE_H */ |