aboutsummaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-08-20 01:46:10 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2001-08-19 23:46:10 +0000
commit247a370b4f2f91d4b82c66902d46649e57b1ec91 (patch)
tree41105a8a5becd86725e0db5742de2ed66c51ad55 /gcc/output.h
parent13fac94a68a4da815faa73d6a457c3d9d3bf94f5 (diff)
downloadgcc-247a370b4f2f91d4b82c66902d46649e57b1ec91.zip
gcc-247a370b4f2f91d4b82c66902d46649e57b1ec91.tar.gz
gcc-247a370b4f2f91d4b82c66902d46649e57b1ec91.tar.bz2
final.c (compute_alignments): New function.
* final.c (compute_alignments): New function. (init_insn_lengths): Do not care label_align. (LABEL_ALIGN_AFTER_BARRIER): Default to 1. (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0. (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New. (shorted_branches): Realloc label_align array; do not call init_insn_lengths; Do not care about loop alignments. * output.h (compute_alignments): Declare. * toplev.c (rest_of_compilation): Call compute_alignments. * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document. * predict.c (block_info_def): Add npredecesors, remove nvisited; change visited to tovisit. (propagate_freq): Use faster traversing algorithm. (estimate_loops_at_level, estimate_bb_frequencies): Change visited to tovisit; reverse meaning. * predict.c (struct block_info_def): Remove nvisited. (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions. (estimate_bb_frequencies): Call mark_dfs_back_edges. From-SVN: r45042
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h
index 4c4c5ae..f1426ec 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -20,6 +20,9 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+/* Compute branch alignments based on frequency information in the CFG. */
+extern void compute_alignments PARAMS ((void));
+
/* Initialize data in final at the beginning of a compilation. */
extern void init_final PARAMS ((const char *));