tree-ssa-math-opts.c (nop_stats, [...]): Moved to ...
authorJakub Jelinek <jakub@redhat.com>
Mon, 20 Nov 2017 10:08:48 +0000 (11:08 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 20 Nov 2017 10:08:48 +0000 (11:08 +0100)
commitdffec8ebdb449be77bf02fe0cf59237362be991a
tree39db051e345ba306c9d06d607abcfdcb79212369
parent12b8cb2e5b236faeb012fc544b27d32ce6cedde7
tree-ssa-math-opts.c (nop_stats, [...]): Moved to ...

* tree-ssa-math-opts.c (nop_stats, bswap_stats, struct symbolic_number,
BITS_PER_MARKER, MARKER_MASK, MARKER_BYTE_UNKNOWN, HEAD_MARKER, CMPNOP,
CMPXCHG, do_shift_rotate, verify_symbolic_number_p,
init_symbolic_number, find_bswap_or_nop_load, perform_symbolic_merge,
find_bswap_or_nop_1, find_bswap_or_nop, pass_data_optimize_bswap,
class pass_optimize_bswap, bswap_replace,
pass_optimize_bswap::execute): Moved to ...
* gimple-ssa-store-merging.c: ... this file.
Include optabs-tree.h.
(nop_stats, bswap_stats, do_shift_rotate, verify_symbolic_number_p,
init_symbolic_number, find_bswap_or_nop_load, perform_symbolic_merge,
find_bswap_or_nop_1, find_bswap_or_nop, bswap_replace): Put into
anonymous namespace, remove static keywords.
(pass_optimize_bswap::gate): Test BITS_PER_UNIT == 8 here...
(pass_optimize_bswap::execute): ... rather than here.  Formatting fix.

From-SVN: r254947
gcc/ChangeLog
gcc/gimple-ssa-store-merging.c
gcc/tree-ssa-math-opts.c