This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]: Rename ivcanon -> tree-loop-ivcanon, tree-lim -> tree-loop-im
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Aug 2004 14:41:44 -0400 (EDT)
- Subject: [PATCH]: Rename ivcanon -> tree-loop-ivcanon, tree-lim -> tree-loop-im
This is just a patch that changes the names of the options and flags to be
consistent with our existing nomenclature.
Bootstrapped on i686-pc-linux-gnu.
Okay?
2004-08-26 Daniel Berlin <dberlin@dberlin.org>
* gcc/common.opt: Rename ivcanon to tree-loop-ivcanon, tree-lim to
tree-loop-im.
* gcc/tree-ssa-loop.c: Ditto
* gcc/tree-ssa-loop-ivcanon.c: Ditto
* gcc/doc/invoke.texi: Ditto.
Index: gcc/common.opt
===================================================================
RCS file: /cvs/gcc/gcc/gcc/common.opt,v
retrieving revision 1.45
diff -u -3 -p -r1.45 common.opt
--- gcc/common.opt 24 Aug 2004 20:48:15 -0000 1.45
+++ gcc/common.opt 25 Aug 2004 18:35:30 -0000
@@ -472,10 +472,6 @@ finstrument-functions
Common Report Var(flag_instrument_function_entry_exit)
Instrument function entry and exit with profiling calls
-fivcanon
-Common Report Var(flag_ivcanon)
-Create canonical induction variables in loops
-
fkeep-inline-functions
Common Report Var(flag_keep_inline_functions)
Generate code for functions even if they are fully inlined
@@ -852,10 +848,14 @@ ftree-fre
Common Report Var(flag_tree_fre)
Enable Full Redundancy Elimination (FRE) on trees
-ftree-lim
-Common Report Var(flag_tree_lim) Init(1)
+ftree-loop-im
+Common Report Var(flag_tree_loop_im) Init(1)
Enable loop invariant motion on trees
+ftree-loop-ivcanon
+Common Report Var(flag_tree_loop_ivcanon)
+Create canonical induction variables in loops
+
ftree-loop-optimize
Common Report Var(flag_tree_loop_optimize) Init(1)
Enable loop optimizations on tree level
Index: gcc/tree-ssa-loop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop.c,v
retrieving revision 2.12
diff -u -3 -p -r2.12 tree-ssa-loop.c
--- gcc/tree-ssa-loop.c 24 Aug 2004 20:48:18 -0000 2.12
+++ gcc/tree-ssa-loop.c 25 Aug 2004 18:35:30 -0000
@@ -138,7 +138,7 @@ tree_ssa_loop_im (void)
static bool
gate_tree_ssa_loop_im (void)
{
- return flag_tree_lim != 0;
+ return flag_tree_loop_im != 0;
}
struct tree_opt_pass pass_lim =
@@ -205,7 +205,7 @@ tree_ssa_loop_ivcanon (void)
static bool
gate_tree_ssa_loop_ivcanon (void)
{
- return flag_ivcanon != 0;
+ return flag_tree_loop_ivcanon != 0;
}
struct tree_opt_pass pass_iv_canon =
Index: gcc/doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.515
diff -u -3 -p -r1.515 invoke.texi
--- gcc/doc/invoke.texi 25 Aug 2004 17:49:58 -0000 1.515
+++ gcc/doc/invoke.texi 25 Aug 2004 18:35:31 -0000
@@ -316,7 +316,7 @@ Objective-C and Objective-C++ Dialects}.
-funroll-all-loops -funroll-loops -fpeel-loops @gol
-funswitch-loops -fold-unroll-loops -fold-unroll-all-loops @gol
-ftree-pre -ftree-ccp -ftree-dce -ftree-loop-optimize @gol
--ftree-lim -fivcanon @gol
+-ftree-loop-im -ftree-loop-ivcanon @gol
-ftree-dominator-opts -ftree-dse -ftree-copyrename @gol
-ftree-ch -ftree-sra -ftree-ter -ftree-lrs -ftree-fre -ftree-vectorize @gol
--param @var{name}=@var{value}