diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-01 10:03:15 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-01 10:03:15 +0000 |
commit | b70a5a9907c43f800f43c9e925664f7593c1776a (patch) | |
tree | 87553ed6cbe3253976ee763b34f7a58ef2a27ed1 /gcc/basic-block.h | |
parent | b1c49a118fe66e5798afe337b193b70e9c994108 (diff) | |
download | gcc-b70a5a9907c43f800f43c9e925664f7593c1776a.tar.gz |
PR optimization/15242
* params.def (PARAM_MAX_GOTO_DUPLICATION_INSNS): New param.
* basic-block.h (duplicate_computed_gotos): Add prototype.
* bb-reorder.c (duplicate_computed_gotos): New function to
duplicate sufficiently small blocks ending in a computed jump.
* passes.c (rest_of_compilation): Call duplicate_computed_gotos
if not optimizing for size.
* cfgcleanup.c (try_crossjump_bb): If not optimizing for size,
never do tail merging for blocks ending in a computed jump.
* doc/invoke.texi: Document the max-goto-duplication-insns param.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94531 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index e742c928cb7..47cd99d22c4 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -812,6 +812,7 @@ extern bool control_flow_insn_p (rtx); /* In bb-reorder.c */ extern void reorder_basic_blocks (unsigned int); +extern void duplicate_computed_gotos (void); extern void partition_hot_cold_basic_blocks (void); /* In cfg.c */ |