tree-ssa-sccvn.h (copy_reference_ops_from_ref, [...]): Remove.
authorRichard Biener <rguenther@suse.de>
Mon, 1 Sep 2014 11:35:10 +0000 (11:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 1 Sep 2014 11:35:10 +0000 (11:35 +0000)
commit26f3a4e144110002301c9eb884fcb05d26e9957f
treea50714c621ef63ef6cb6fa0e243cdd2cd6bd5c60
parenta0107bd001ec4bc30b345a157561f27ca4419e0b
tree-ssa-sccvn.h (copy_reference_ops_from_ref, [...]): Remove.

2014-09-01  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.h (copy_reference_ops_from_ref,
copy_reference_ops_from_call, vn_nary_op_compute_hash,
vn_reference_compute_hash, vn_reference_insert): Remove.
(vn_reference_lookup_call): New function.
* tree-ssa-sccvn.c (vn_reference_compute_hash,
copy_reference_ops_from_ref, copy_reference_ops_from_call,
vn_reference_insert, vn_nary_op_compute_hash): Make static.
(create_reference_ops_from_call): Remove.
(vn_reference_lookup_3): Properly update shared_lookup_references.
(vn_reference_lookup_pieces): Assert that we updated
shared_lookup_references properly.
(vn_reference_lookup): Likewise.
(vn_reference_lookup_call): New function.
(visit_reference_op_call): Use it.  Avoid re-building the
reference ops.
(visit_reference_op_load): Remove redundant lookup.
(visit_reference_op_store): Perform special tail-merging work
only when possibly doing tail-merging.
(visit_use): Likewise.
* tree-ssa-pre.c (compute_avail): Use vn_reference_lookup_call.

From-SVN: r214787
gcc/ChangeLog
gcc/tree-ssa-pre.c
gcc/tree-ssa-sccvn.c
gcc/tree-ssa-sccvn.h