+2001-06-21 Richard Henderson <rth@redhat.com>
+
+ * flow.c (entry_exit_blocks): Initialize frequency.
+ (split_block): Copy it.
+ (dump_flow_info): Dump it.
+
Thu Jun 21 22:15:10 2001 J"orn Rennecke <amylaar@redhat.com>
* sh.c (barrier_align): Also recognize branch-around-a-jump-sequence
NULL, /* aux */
ENTRY_BLOCK, /* index */
0, /* loop_depth */
- 0 /* count */
+ 0, /* count */
+ 0 /* frequency */
},
{
NULL, /* head */
NULL, /* aux */
EXIT_BLOCK, /* index */
0, /* loop_depth */
- 0 /* count */
+ 0, /* count */
+ 0 /* frequency */
}
};
bb->succ = new_edge;
new_bb->pred = new_edge;
new_bb->count = bb->count;
+ new_bb->frequency = bb->frequency;
new_bb->loop_depth = bb->loop_depth;
new_edge->src = bb;
bb->pred = edge_in;
bb->succ = edge_out;
bb->count = edge_in->count;
+ /* ??? Set bb->frequency. */
edge_in->dest = bb;
edge_in->flags &= ~EDGE_CRITICAL;
register basic_block bb = BASIC_BLOCK (i);
register edge e;
- fprintf (file, "\nBasic block %d: first insn %d, last %d, loop_depth %d, count %d.\n",
- i, INSN_UID (bb->head), INSN_UID (bb->end), bb->loop_depth, bb->count);
+ fprintf (file, "\nBasic block %d: first insn %d, last %d, loop_depth %d, count %d, freq %d.\n",
+ i, INSN_UID (bb->head), INSN_UID (bb->end), bb->loop_depth,
+ bb->count, bb->frequency);
fprintf (file, "Predecessors: ");
for (e = bb->pred; e; e = e->pred_next)