From 463bc07579af2e6cf033ed0cb81a423a03d67bcd Mon Sep 17 00:00:00 2001 From: dnovillo Date: Thu, 8 Mar 2007 20:51:41 +0000 Subject: [PATCH] * doc/tree-ssa.texi: Remove documentation for V_MUST_DEF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122710 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/doc/tree-ssa.texi | 33 ++++++--------------------------- 2 files changed, 10 insertions(+), 27 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 921bc495fad..7a87f362153 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-03-08 Diego Novillo + + * doc/tree-ssa.texi: Remove documentation for V_MUST_DEF. + 2007-03-08 Geoffrey Keating PR 31013 diff --git a/gcc/doc/tree-ssa.texi b/gcc/doc/tree-ssa.texi index 9fb793955bb..1322875df14 100644 --- a/gcc/doc/tree-ssa.texi +++ b/gcc/doc/tree-ssa.texi @@ -964,12 +964,11 @@ tree FOR_EACH_SSA_TREE_OPERAND #define SSA_OP_DEF 0x02 /* @r{Real DEF operands.} */ #define SSA_OP_VUSE 0x04 /* @r{VUSE operands.} */ #define SSA_OP_VMAYUSE 0x08 /* @r{USE portion of VDEFS.} */ -#define SSA_OP_VMAYDEF 0x10 /* @r{DEF portion of VDEFS.} */ -#define SSA_OP_VMUSTDEF 0x20 /* @r{V_MUST_DEF definitions.} */ +#define SSA_OP_VDEF 0x10 /* @r{DEF portion of VDEFS.} */ /* @r{These are commonly grouped operand flags.} */ #define SSA_OP_VIRTUAL_USES (SSA_OP_VUSE | SSA_OP_VMAYUSE) -#define SSA_OP_VIRTUAL_DEFS (SSA_OP_VMAYDEF | SSA_OP_VMUSTDEF) +#define SSA_OP_VIRTUAL_DEFS (SSA_OP_VDEF) #define SSA_OP_ALL_USES (SSA_OP_VIRTUAL_USES | SSA_OP_USE) #define SSA_OP_ALL_DEFS (SSA_OP_VIRTUAL_DEFS | SSA_OP_DEF) #define SSA_OP_ALL_OPERANDS (SSA_OP_ALL_USES | SSA_OP_ALL_DEFS) @@ -998,14 +997,14 @@ aren't using operand pointers, use and defs flags can be mixed. tree var; ssa_op_iter iter; - FOR_EACH_SSA_TREE_OPERAND (var, stmt, iter, SSA_OP_VUSE | SSA_OP_VMUSTDEF) + FOR_EACH_SSA_TREE_OPERAND (var, stmt, iter, SSA_OP_VUSE) @{ print_generic_expr (stderr, var, TDF_SLIM); @} @end smallexample @code{VDEF}s are broken into two flags, one for the -@code{DEF} portion (@code{SSA_OP_VMAYDEF}) and one for the USE portion +@code{DEF} portion (@code{SSA_OP_VDEF}) and one for the USE portion (@code{SSA_OP_VMAYUSE}). If all you want to look at are the @code{VDEF}s together, there is a fourth iterator macro for this, which returns both a def_operand_p and a use_operand_p for each @@ -1023,26 +1022,6 @@ this one. @} @end smallexample -@code{V_MUST_DEF}s are broken into two flags, one for the -@code{DEF} portion (@code{SSA_OP_VMUSTDEF}) and one for the kill portion -(@code{SSA_OP_VMUSTKILL}). If all you want to look at are the -@code{V_MUST_DEF}s together, there is a fourth iterator macro for this, -which returns both a def_operand_p and a use_operand_p for each -@code{V_MUST_DEF} in the statement. Note that you don't need any flags for -this one. - -@smallexample - use_operand_p kill_p; - def_operand_p def_p; - ssa_op_iter iter; - - FOR_EACH_SSA_MUSTDEF_OPERAND (def_p, kill_p, stmt, iter) - @{ - my_code; - @} -@end smallexample - - There are many examples in the code as well, as well as the documentation in @file{tree-ssa-operands.h}. @@ -1535,9 +1514,9 @@ struct foo temp; int bar (void) @{ int tmp1, tmp2, tmp3; - SFT.0_2 = V_MUST_DEF + SFT.0_2 = VDEF temp.a = 5; - SFT.1_4 = V_MUST_DEF + SFT.1_4 = VDEF temp.b = 6; VUSE -- 2.11.4.GIT