diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2013-12-18 17:32:07 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2013-12-18 17:32:07 +0000 |
commit | 50e6a1482b76a0a06aabf4587bf97da846ff2578 (patch) | |
tree | a9e25f7e11eba3819c7aaf8152c23753b9b82edc /gcc/doc/tree-ssa.texi | |
parent | 90be6e465c82f68e872ed9f5ea2388f709fee359 (diff) | |
download | gcc-50e6a1482b76a0a06aabf4587bf97da846ff2578.zip gcc-50e6a1482b76a0a06aabf4587bf97da846ff2578.tar.gz gcc-50e6a1482b76a0a06aabf4587bf97da846ff2578.tar.bz2 |
tree-ssa.texi (SSA Operands): Remove reference to SSA_OP_VMAYUSE.
* doc/tree-ssa.texi (SSA Operands): Remove reference to
SSA_OP_VMAYUSE.
Synchronize SSA_OP* definitions with source.
* ssa-iterators.h: Fix comment for FOR_EACH_IMM_USE_STMT.
Add not to SSA_OP* macro definitions.
From-SVN: r206091
Diffstat (limited to 'gcc/doc/tree-ssa.texi')
-rw-r--r-- | gcc/doc/tree-ssa.texi | 35 |
1 files changed, 10 insertions, 25 deletions
diff --git a/gcc/doc/tree-ssa.texi b/gcc/doc/tree-ssa.texi index 93f596d..17c1b0c 100644 --- a/gcc/doc/tree-ssa.texi +++ b/gcc/doc/tree-ssa.texi @@ -265,15 +265,15 @@ those you are interested in. They are documented in #define SSA_OP_USE 0x01 /* @r{Real USE operands.} */ #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_VDEF 0x10 /* @r{DEF portion of VDEFS.} */ +#define SSA_OP_VDEF 0x08 /* @r{VDEF operands.} */ /* @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_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) +#define SSA_OP_VIRTUAL_USES (SSA_OP_VUSE) +#define SSA_OP_VIRTUAL_DEFS (SSA_OP_VDEF) +#define SSA_OP_ALL_VIRTUALS (SSA_OP_VIRTUAL_USES | SSA_OP_VIRTUAL_DEFS) +#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) @end smallexample @end enumerate @@ -307,25 +307,10 @@ aren't using operand pointers, use and defs flags can be mixed. @code{VDEF}s are broken into two flags, one for the @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 -@code{VDEF} in the statement. Note that you don't need any flags for -this one. +(@code{SSA_OP_VUSE}). -@smallexample - use_operand_p use_p; - def_operand_p def_p; - ssa_op_iter iter; - - FOR_EACH_SSA_MAYDEF_OPERAND (def_p, use_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}. +There are many examples in the code, in addition to the documentation +in @file{tree-ssa-operands.h} and @file{ssa-iterators.h}. There are also a couple of variants on the stmt iterators regarding PHI nodes. |