diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-09-22 21:41:02 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-09-22 19:41:02 +0000 |
commit | 46842bfe9c5fb7f609917cad8d3ec8cc5ff30bea (patch) | |
tree | 81a83ef7308d61e0af0e1f1e3ed2c94921012d73 /gcc/profile.c | |
parent | 114783066e5d1046dfe83bb987008f4c2729e8f6 (diff) | |
download | gcc-46842bfe9c5fb7f609917cad8d3ec8cc5ff30bea.zip gcc-46842bfe9c5fb7f609917cad8d3ec8cc5ff30bea.tar.gz gcc-46842bfe9c5fb7f609917cad8d3ec8cc5ff30bea.tar.bz2 |
tree-ssa-ccp.c (prop_value_d): Rename to ...
* tree-ssa-ccp.c (prop_value_d): Rename to ...
(ccp_prop_value_t): ... this one to avoid ODR violation; update uses.
* ipa-prop.c (struct type_change_info): Rename to ...
(prop_type_change_info): ... this; update uses.
* ggc-page.c (globals): Rename to ...
(static struct ggc_globals): ... this; update uses.
* tree-ssa-loop-im.c (mem_ref): Rename to ...
(im_mem_ref): ... this; update uses.
* ggc-common.c (loc_descriptor): Rename to ...
(ggc_loc_descriptor): ... this; update uses.
* lra-eliminations.c (elim_table): Rename to ...
(lra_elim_table): ... this; update uses.
* bitmap.c (output_info): Rename to ...
(bitmap_output_info): ... this; update uses.
* gcse.c (expr): Rename to ...
(gcse_expr) ... this; update uses.
(occr): Rename to ...
(gcse_occr): .. this; update uses.
* tree-ssa-copy.c (prop_value_d): Rename to ...
(prop_value_t): ... this.
* predict.c (block_info_def): Rename to ...
(block_info): ... this; update uses.
(edge_info_def): Rename to ...
(edge_info): ... this; update uses.
* profile.c (bb_info): Rename to ...
(bb_profile_info): ... this; update uses.
* alloc-pool.c (output_info): Rename to ...
(pool_output_info): ... this; update uses.
* ipa-cp.c (topo_info): Rename to ..
(ipa_topo_info): ... this; update uses.
* tree-nrv.c (nrv_data): Rename to ...
(nrv_data_t): ... this; update uses.
* ipa-split.c (bb_info): Rename to ...
(split_bb_info): ... this one.
* profile.h (edge_info): Rename to ...
(edge_profile_info): ... this one; update uses.
* dse.c (bb_info): Rename to ...
(dse_bb_info): ... this one; update uses.
* cprop.c (occr): Rename to ...
(cprop_occr): ... this one; update uses.
(expr): Rename to ...
(cprop_expr): ... this one; update uses.
From-SVN: r215481
Diffstat (limited to 'gcc/profile.c')
-rw-r--r-- | gcc/profile.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index 3d8186f..7d8b54c 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -74,7 +74,7 @@ along with GCC; see the file COPYING3. If not see #include "profile.h" -struct bb_info { +struct bb_profile_info { unsigned int count_valid : 1; /* Number of successor and predecessor edges. */ @@ -82,7 +82,7 @@ struct bb_info { gcov_type pred_count; }; -#define BB_INFO(b) ((struct bb_info *) (b)->aux) +#define BB_INFO(b) ((struct bb_profile_info *) (b)->aux) /* Counter summary from the last set of coverage counts read. */ @@ -128,7 +128,7 @@ instrument_edges (struct edge_list *el) FOR_EACH_EDGE (e, ei, bb->succs) { - struct edge_info *inf = EDGE_INFO (e); + struct edge_profile_info *inf = EDGE_INFO (e); if (!inf->ignore && !inf->on_tree) { @@ -542,7 +542,7 @@ compute_branch_probabilities (unsigned cfg_checksum, unsigned lineno_checksum) } /* Attach extra info block to each bb. */ - alloc_aux_for_blocks (sizeof (struct bb_info)); + alloc_aux_for_blocks (sizeof (struct bb_profile_info)); FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) { edge e; @@ -590,7 +590,7 @@ compute_branch_probabilities (unsigned cfg_checksum, unsigned lineno_checksum) changes = 0; FOR_BB_BETWEEN (bb, EXIT_BLOCK_PTR_FOR_FN (cfun), NULL, prev_bb) { - struct bb_info *bi = BB_INFO (bb); + struct bb_profile_info *bi = BB_INFO (bb); if (! bi->count_valid) { if (bi->succ_count == 0) @@ -1129,7 +1129,7 @@ branch_prob (void) el = create_edge_list (); num_edges = NUM_EDGES (el); - alloc_aux_for_edges (sizeof (struct edge_info)); + alloc_aux_for_edges (sizeof (struct edge_profile_info)); /* The basic blocks are expected to be numbered sequentially. */ compact_blocks (); @@ -1161,7 +1161,7 @@ branch_prob (void) for (num_instrumented = i = 0; i < num_edges; i++) { edge e = INDEX_EDGE (el, i); - struct edge_info *inf = EDGE_INFO (e); + struct edge_profile_info *inf = EDGE_INFO (e); if (inf->ignore || inf->on_tree) /*NOP*/; @@ -1221,7 +1221,7 @@ branch_prob (void) FOR_EACH_EDGE (e, ei, bb->succs) { - struct edge_info *i = EDGE_INFO (e); + struct edge_profile_info *i = EDGE_INFO (e); if (!i->ignore) { unsigned flag_bits = 0; |