aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-03-02 20:09:31 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2007-03-02 20:09:31 +0000
commit12df8a7eb6ef9965506dfa101aa4d0e6698be159 (patch)
tree08d9af36c26e8904e6735ae169f37837147cbdc7 /gcc/tree-flow.h
parent386e9d408b56891b27b419e89f67320ff36f71aa (diff)
downloadgcc-12df8a7eb6ef9965506dfa101aa4d0e6698be159.zip
gcc-12df8a7eb6ef9965506dfa101aa4d0e6698be159.tar.gz
gcc-12df8a7eb6ef9965506dfa101aa4d0e6698be159.tar.bz2
Used signed infinities in VRP.
* tree-vrp.c (uses_overflow_infinity): New static function. (supports_overflow_infinity): New static function. (make_overflow_infinity): New static function. (negative_overflow_infinity): New static function. (positive_overflow_infinity): New static function. (is_negative_overflow_infinity): New static function. (is_positive_overflow_infinity): New static function. (is_overflow_infinity): New static function. (overflow_infinity_range_p): New static function. (compare_values_warnv): New function split out of compare_values. (compare_value): Call it. (set_value_range_to_nonnegative): Add overflow_infinity parameter. Change caller. (vrp_expr_computes_nonnegative): Add strict_overflow_p parameter. Change callers. (vrp_expr_computes_nonzero): Likewise. (compare_ranges, compare_range_with_value): Likewise. (compare_name_with_value, compare_names): Likewise. (vrp_evaluate_conditional): Likewise. (set_value_range): Handle infinity (vrp_operand_equal_p, operand_less_p): Likewise. (extract_range_from_assert): Likewise. (vrp_int_const_binop): Likewise. (extract_range_from_binary_expr): Likewise. (extract_range_from_unary_expr): Likewise. (extract_range_from_comparison): Likewise. (extract_range_from_expr): Likewise. (dump_value_range): Likewise. (vrp_visit_cond_stmt, vrp_visit_phi_node): Likewise. (test_for_singularity): Likewise. (vrp_int_const_binop): Remove inline qualifier. (adjust_range_with_scev): Add comment. * tree-flow.h (vrp_evaluate_conditional): Update declaration. From-SVN: r122487
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 2d661f5..87b655b 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -776,7 +776,7 @@ bool fold_stmt_inplace (tree);
tree widen_bitfield (tree, tree, tree);
/* In tree-vrp.c */
-tree vrp_evaluate_conditional (tree, bool);
+tree vrp_evaluate_conditional (tree, bool, bool *);
void simplify_stmt_using_ranges (tree);
/* In tree-ssa-dom.c */