diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2020-06-26 10:18:52 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2020-06-26 10:18:52 -0400 |
commit | f69ab586f69b0a3a73af12bdd71e18f81bc5ba4a (patch) | |
tree | 7f61f7f18dd5b7197cfbd15cff91312a2369bec1 /gcc/vr-values.h | |
parent | f67c1bddaf9f855a7d03d8c078fd734de96f7ade (diff) | |
download | gcc-devel/ranger.zip gcc-devel/ranger.tar.gz gcc-devel/ranger.tar.bz2 |
ranger restructuringdevel/ranger
Diffstat (limited to 'gcc/vr-values.h')
-rw-r--r-- | gcc/vr-values.h | 11 |
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 { |