aboutsummaryrefslogtreecommitdiff
path: root/gcc/vr-values.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/vr-values.h')
-rw-r--r--gcc/vr-values.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/vr-values.h b/gcc/vr-values.h
index 17e71b7..ab8849a 100644
--- a/gcc/vr-values.h
+++ b/gcc/vr-values.h
@@ -21,7 +21,16 @@ along with GCC; see the file COPYING3. If not see
#define GCC_VR_VALUES_H
#include "value-range-equiv.h"
-#include "gimple-range-gori.h"
+#include "gimple-range.h"
+
+// Generic object to return a range for an SSA.
+class range_store
+{
+public:
+ virtual bool range_of_expr (irange &r, tree expr, gimple *stmt = NULL) = 0;
+ virtual const class value_range_equiv *get_value_range (const_tree expr,
+ gimple *stmt = NULL) = 0;
+};
class simplify_using_ranges
{