diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 13:41:28 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-06-09 20:33:03 -0400 |
commit | 29dbd7ef69fe1375055ada081af88e3a8919fff0 (patch) | |
tree | c7dc22136fd6a0fc3ae6849e2d4fe07262d66f47 /gcc/tree-ssa-loop-prefetch.cc | |
parent | 6a4ac393e199a63f39063daa28827f39dab49a07 (diff) | |
download | gcc-29dbd7ef69fe1375055ada081af88e3a8919fff0.zip gcc-29dbd7ef69fe1375055ada081af88e3a8919fff0.tar.gz gcc-29dbd7ef69fe1375055ada081af88e3a8919fff0.tar.bz2 |
Unify PLUS_EXPR range operator
Move the declaration of the class to the range-op-mixed header, add the
floating point prototypes as well, and use it in the new unified table.
* range-op-float.cc (foperator_plus): Remove. Move prototypes
to range-op-mixed.h
(operator_plus::fold_range): Rename from foperator_plus.
(operator_plus::op1_range): Ditto.
(operator_plus::op2_range): Ditto.
(operator_plus::rv_fold): Ditto.
(float_table::float_table): Remove PLUS_EXPR.
* range-op-mixed.h (class operator_plus): Combined from integer
and float files.
* range-op.cc (op_plus): New object.
(unified_table::unified_table): Add PLUS_EXPR.
(class operator_plus): Move to range-op-mixed.h.
(integral_table::integral_table): Remove PLUS_EXPR.
(pointer_table::pointer_table): Remove PLUS_EXPR.
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.cc')
0 files changed, 0 insertions, 0 deletions