summaryrefslogtreecommitdiff
path: root/gcc/ssa-iterators.h
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-18 17:32:07 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-18 17:32:07 +0000
commitf05a2bd1ed596260a807de5d941a7ac27134f07b (patch)
treea9e25f7e11eba3819c7aaf8152c23753b9b82edc /gcc/ssa-iterators.h
parent58fb74ce708e3251b4bb3e91d92d19b480f45259 (diff)
downloadgcc-f05a2bd1ed596260a807de5d941a7ac27134f07b.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206091 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ssa-iterators.h')
-rw-r--r--gcc/ssa-iterators.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ssa-iterators.h b/gcc/ssa-iterators.h
index eceddbce214..7b13928cfb4 100644
--- a/gcc/ssa-iterators.h
+++ b/gcc/ssa-iterators.h
@@ -98,7 +98,7 @@ struct imm_use_iterator
get access to each occurrence of ssavar on the stmt returned by
that iterator.. for instance:
- FOR_EACH_IMM_USE_STMT (stmt, iter, var)
+ FOR_EACH_IMM_USE_STMT (stmt, iter, ssavar)
{
FOR_EACH_IMM_USE_ON_STMT (use_p, iter)
{
@@ -142,13 +142,13 @@ struct ssa_op_iter
gimple stmt;
};
+/* NOTE: Keep these in sync with doc/tree-ssa.texi. */
/* These flags are used to determine which operands are returned during
execution of the loop. */
#define SSA_OP_USE 0x01 /* Real USE operands. */
#define SSA_OP_DEF 0x02 /* Real DEF operands. */
#define SSA_OP_VUSE 0x04 /* VUSE operands. */
#define SSA_OP_VDEF 0x08 /* VDEF operands. */
-
/* These are commonly grouped operand flags. */
#define SSA_OP_VIRTUAL_USES (SSA_OP_VUSE)
#define SSA_OP_VIRTUAL_DEFS (SSA_OP_VDEF)