summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-sccvn.h
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-19 20:02:29 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-19 20:02:29 +0000
commit8c8a7011b86e6bd91d78c8dd3100d4014cb0f26d (patch)
tree86848acd2172e064f4a209b5b054324423da0eea /gcc/tree-ssa-sccvn.h
parentb49770cfa3f8bdc579b3b4627ed8c5b5bfb80739 (diff)
downloadgcc-8c8a7011b86e6bd91d78c8dd3100d4014cb0f26d.tar.gz
2008-07-19 Richard Guenther <rguenther@suse.de>
PR bootstrap/36864 * tree-ssa-sccvn.h (get_constant_value_id): Declare. * tree-ssa-sccvn.c (get_constant_value_id): New function. * tree-ssa-pre.c (get_expr_value_id): For newly created constant value-ids make sure to add the expression to its expression-set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137991 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-sccvn.h')
-rw-r--r--gcc/tree-ssa-sccvn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-sccvn.h b/gcc/tree-ssa-sccvn.h
index 9f391af43aa..314cf8f8c9b 100644
--- a/gcc/tree-ssa-sccvn.h
+++ b/gcc/tree-ssa-sccvn.h
@@ -163,6 +163,7 @@ hashval_t vn_reference_compute_hash (const vn_reference_t);
int vn_reference_eq (const void *, const void *);
unsigned int get_max_value_id (void);
unsigned int get_next_value_id (void);
+unsigned int get_constant_value_id (tree);
unsigned int get_or_alloc_constant_value_id (tree);
bool value_id_constant_p (unsigned int);
VEC (tree, gc) *shared_vuses_from_stmt (tree);