aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2003-01-16 01:06:33 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2003-01-16 01:06:33 +0000
commita013431213f7f27e2866350c9aaea8f12046d81c (patch)
tree2ecda5f756d588f0c8e2d12fbf3426b2b6eb164e /gcc/doc
parent6b543e86f4a765f6a0b7be90e393b9a772c22a52 (diff)
downloadgcc-a013431213f7f27e2866350c9aaea8f12046d81c.zip
gcc-a013431213f7f27e2866350c9aaea8f12046d81c.tar.gz
gcc-a013431213f7f27e2866350c9aaea8f12046d81c.tar.bz2
gcse.c (one_cprop_pass): Change function arguments to take both cprop_jumps and bypass_jumps flags...
* gcse.c (one_cprop_pass): Change function arguments to take both cprop_jumps and bypass_jumps flags instead of just alter_jumps. (gcse_main): Update calls to one_cprop_pass, disabling bypassing. (bypass_jumps): New function to perform separate jump bypassing pass. * rtl.h (bypass_jumps): Add function prototype. * timevar.def (TV_BYPASS): New timing variable. * toplev.c (enum dump_file_index): Add new entry DFI_bypass. (dump_file): New entry for the bypass RTL dump file. (rest_of_compilation): Insert new jump bypassing optimization pass after loop. * doc/passes.texi: Document new pass. From-SVN: r61374
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/passes.texi17
1 files changed, 15 insertions, 2 deletions
diff --git a/gcc/doc/passes.texi b/gcc/doc/passes.texi
index 8a96a69..fe0fc2e 100644
--- a/gcc/doc/passes.texi
+++ b/gcc/doc/passes.texi
@@ -1,5 +1,5 @@
-@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2002,
-@c 1999, 2000, 2001 Free Software Foundation, Inc.
+@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+@c 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@@ -338,6 +338,19 @@ The option @option{-dL} causes a debugging dump of the RTL code after
this pass. This dump file's name is made by appending @samp{.loop} to
the input file name.
+@cindex jump bypassing
+@item
+Jump bypassing. This pass is an aggressive form of GCSE that transforms
+the control flow graph of a function by propagating constants into
+conditional branch instructions.
+
+The source file for this pass is @file{gcse.c}.
+
+@opindex dG
+The option @option{-dG} causes a debugging dump of the RTL code after
+this pass. This dump file's name is made by appending @samp{.bypass}
+to the input file name.
+
@item
@opindex frerun-cse-after-loop
If @option{-frerun-cse-after-loop} was enabled, a second common