gimple-match.h (gimple_match_op::resimplify): New.
authorRichard Biener <rguenther@suse.de>
Tue, 9 Jul 2019 12:22:10 +0000 (12:22 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 9 Jul 2019 12:22:10 +0000 (12:22 +0000)
commitb7fe158a1b3d96a4b001d9373db93678455546cb
treebb6835b4985dbd6127ae5130c9715b96e3e08885
parent495079550e135c7ad0605e9c549202c35625cde7
gimple-match.h (gimple_match_op::resimplify): New.

2019-07-09  Richard Biener  <rguenther@suse.de>

* gimple-match.h (gimple_match_op::resimplify): New.
(gimple_resimplify1, gimple_resimplify2, gimple_resimplify3,
gimple_resimplify4, gimple_resimplify5): Remove.
* gimple-match-head.c (gimple_resimplify1, gimple_resimplify2,
gimple_resimplify3, gimple_resimplify4, gimple_resimplify5):
Make static.
(gimple_match_op::resimplify): New.
* tree-ssa-sccvn.c (vn_nary_build_or_lookup_1): Valueize
according to availability.  Use gimple_match_op::resimplify.

From-SVN: r273302
gcc/ChangeLog
gcc/gimple-match-head.c
gcc/gimple-match.h
gcc/tree-ssa-sccvn.c