summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-sccvn.h
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-10 16:29:59 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-10 16:29:59 +0000
commit6d6adc8244cb54e2f54cca3dee7b30ac78d41800 (patch)
treeb726f231ab27c722f6487972dd07e93fc0229560 /gcc/tree-ssa-sccvn.h
parentb050ae3ebef396b69ae7cf83ec7b82afc12f36d5 (diff)
downloadgcc-6d6adc8244cb54e2f54cca3dee7b30ac78d41800.tar.gz
2008-01-10 Steven Bosscher <stevenb.gcc@gmail.com>
* tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed field (valnum) the first in the struct. Replace bools with unit bit fields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131444 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-sccvn.h')
-rw-r--r--gcc/tree-ssa-sccvn.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/gcc/tree-ssa-sccvn.h b/gcc/tree-ssa-sccvn.h
index f434e95f276..1f8f83b494c 100644
--- a/gcc/tree-ssa-sccvn.h
+++ b/gcc/tree-ssa-sccvn.h
@@ -26,23 +26,24 @@ extern tree VN_TOP;
typedef struct vn_ssa_aux
{
- /* SCC information. */
- unsigned int dfsnum;
- bool visited;
- unsigned int low;
- bool on_sccstack;
-
/* Value number. This may be an SSA name or a constant. */
tree valnum;
/* Representative expression, if not a direct constant. */
tree expr;
+
+ /* SCC information. */
+ unsigned int dfsnum;
+ unsigned int low;
+ unsigned visited : 1;
+ unsigned on_sccstack : 1;
+
/* Whether the representative expression contains constants. */
- bool has_constants;
+ unsigned has_constants : 1;
/* Whether the SSA_NAME has been value numbered already. This is
only saying whether visit_use has been called on it at least
once. It cannot be used to avoid visitation for SSA_NAME's
involved in non-singleton SCC's. */
- bool use_processed;
+ unsigned use_processed : 1;
} *vn_ssa_aux_t;
/* Return the value numbering info for an SSA_NAME. */