aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2022-09-22 17:55:56 -0400
committerAndrew MacLeod <amacleod@redhat.com>2022-09-29 18:34:18 -0400
commit431cdfbea1f8c452f581ec3974f2581addec9ac7 (patch)
tree74ada03e4fa453319a778360f865975f3d53f95f /libgcc
parentcfa7434c4b09e439ae8b904ad116adf6d3033f8c (diff)
downloadgcc-431cdfbea1f8c452f581ec3974f2581addec9ac7.zip
gcc-431cdfbea1f8c452f581ec3974f2581addec9ac7.tar.gz
gcc-431cdfbea1f8c452f581ec3974f2581addec9ac7.tar.bz2
Track value_relations in GORI.
This allows GORI to recognize and pass relations along the calculation chain. This will allow relations between the LHS and the operand being calculated to be utilized in op1_range and op2_range. * gimple-range-gori.cc (ori_compute::compute_operand_range): Create a relation record and pass it along when possible. (gori_compute::compute_operand1_range): Pass relation along. (gori_compute::compute_operand2_range): Ditto. (gori_compute::compute_operand1_and_operand2_range): Ditto. * gimple-range-gori.h (class gori_compute): Adjust prototypes. * gimple-range-op.cc (gimple_range_op_handler::calc_op1): Pass relation to op1_range call. (gimple_range_op_handler::calc_op2): Pass relation to op2_range call. * gimple-range-op.h (class gimple_range_op_handler): Adjust prototypes.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions