aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-sccvn.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2016-07-07 07:43:35 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2016-07-07 07:43:35 +0000
commit3c5b29f56103d60f4f4dca7136ae4dcc7987a728 (patch)
tree1418b84f009ff78ba988582b7613211c85a2c645 /gcc/tree-ssa-sccvn.h
parent5ddaee94e247a189a8a17af7dce8d45e0c30adee (diff)
downloadgcc-3c5b29f56103d60f4f4dca7136ae4dcc7987a728.zip
gcc-3c5b29f56103d60f4f4dca7136ae4dcc7987a728.tar.gz
gcc-3c5b29f56103d60f4f4dca7136ae4dcc7987a728.tar.bz2
tree-ssa-pre.c: Include alias.h.
2016-07-07 Richard Biener <rguenther@suse.de> * tree-ssa-pre.c: Include alias.h. (compute_avail): If we have multiple VN_REFERENCEs with the same hashtable entry adjust that to make it a valid replacement for all of them with respect to alignment and aliasing when doing insertion. * tree-ssa-sccvn.h (vn_reference_operands_for_lookup): Declare. * tree-ssa-sccvn.c (vn_reference_operands_for_lookup): New function. From-SVN: r238078
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 1f6af40..069590a 100644
--- a/gcc/tree-ssa-sccvn.h
+++ b/gcc/tree-ssa-sccvn.h
@@ -214,6 +214,7 @@ vn_nary_op_t vn_nary_op_insert_pieces (unsigned int, enum tree_code,
tree, tree *, tree, unsigned int);
bool ao_ref_init_from_vn_reference (ao_ref *, alias_set_type, tree,
vec<vn_reference_op_s> );
+vec<vn_reference_op_s> vn_reference_operands_for_lookup (tree);
tree vn_reference_lookup_pieces (tree, alias_set_type, tree,
vec<vn_reference_op_s> ,
vn_reference_t *, vn_lookup_kind);