aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@gcc.gnu.org>2004-06-12 00:18:35 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2004-06-12 00:18:35 +0000
commit7e6eb623f948dcaacab5e1251c99ebadc270c3d5 (patch)
treeca99eaea2a64c9280cab7d983086bb2ab6db10a1 /gcc/tree.h
parente4602cf33b4359a1a92ffff5749eaf3422600993 (diff)
downloadgcc-7e6eb623f948dcaacab5e1251c99ebadc270c3d5.zip
gcc-7e6eb623f948dcaacab5e1251c99ebadc270c3d5.tar.gz
gcc-7e6eb623f948dcaacab5e1251c99ebadc270c3d5.tar.bz2
[multiple changes]
2004-06-11 Steven Bosscher <stevenb@suse.de> * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Don't try to mark anything control dependent on the entry or exit blocks. 2004-06-11 Daniel Berlin <dberlin@dberlin.org> Fix Bug 15899 Fix Bug 15460 * tree.h (SSA_NAME_VALUE): New macro. (struct tree_ssa_name): Add value_handle member. * tree-ssa-pre.c: Replaced. * tree-flow.h (tree_ann_type): Add CST_ANN, EXPR_ANN. (struct cst_ann_d): New. (struct expr_ann_d): New. (union tree_ann_d): Add cst_ann, expr_ann. * tree-dfa.c (create_cst_ann): New function. (create_expr_ann): Ditto. * tree-flow-inline.h (cst_ann): New function. (expr_ann): Ditto. (get_cst_ann): Ditto. (get_expr_ann): Ditto.. From-SVN: r83010
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 6e97bab..09c2fe3 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1184,6 +1184,10 @@ struct tree_exp GTY(())
#define SSA_NAME_PTR_INFO(N) \
SSA_NAME_CHECK (N)->ssa_name.ptr_info
+/* Get the value of this SSA_NAME, if available. */
+#define SSA_NAME_VALUE(N) \
+ SSA_NAME_CHECK (N)->ssa_name.value_handle
+
#ifndef GCC_BITMAP_H
struct bitmap_head_def;
#endif
@@ -1223,6 +1227,9 @@ struct tree_ssa_name GTY(())
/* Pointer attributes used for alias analysis. */
struct ptr_info_def *ptr_info;
+
+ /* Value for SSA name used by GVN. */
+ tree GTY((skip)) value_handle;
};
/* In a PHI_NODE node. */