]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed field (valnum) the first...
authorSteven Bosscher <stevenb.gcc@gmail.com>
Thu, 10 Jan 2008 16:29:59 +0000 (16:29 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 10 Jan 2008 16:29:59 +0000 (16:29 +0000)
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.

From-SVN: r131444

gcc/ChangeLog
gcc/tree-ssa-sccvn.h

index cc61c7050ba3d424572b185cf8f6ceeeeefa933b..6acc84421a916d196583fd99823370f65503eff6 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2008-01-10  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/34651
index f434e95f276d335f4cf8c385cb932c3cdb4d4c6a..1f8f83b494c79150ff4cffdde81c3ea7f21cf007 100644 (file)
@@ -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.  */