aboutsummaryrefslogtreecommitdiff
path: root/gcc/sbitmap.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2017-09-29 12:20:41 -0600
committerJeff Law <law@gcc.gnu.org>2017-09-29 12:20:41 -0600
commite9d297a15d68121ba5bdd5a76ea71c1916180622 (patch)
treeec865a0c1b998f4757f69e3cea2d7245e66f6287 /gcc/sbitmap.h
parent79310774839953f17cc5aae75ab332c788784466 (diff)
downloadgcc-e9d297a15d68121ba5bdd5a76ea71c1916180622.zip
gcc-e9d297a15d68121ba5bdd5a76ea71c1916180622.tar.gz
gcc-e9d297a15d68121ba5bdd5a76ea71c1916180622.tar.bz2
sbitmap.c (bitmap_bit_in_range_p): New function.
* sbitmap.c (bitmap_bit_in_range_p): New function. * sbitmap.h (bitmap_bit_in_range_p): Prototype. * tree-ssa-dse.c (live_bytes_read): New function. (dse_classify_store): Ignore reads of dead bytes. * testsuite/gcc.dg/tree-ssa/ssa-dse-26.c: New test. From-SVN: r253305
Diffstat (limited to 'gcc/sbitmap.h')
-rw-r--r--gcc/sbitmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/sbitmap.h b/gcc/sbitmap.h
index ce4d27d..ff52e93 100644
--- a/gcc/sbitmap.h
+++ b/gcc/sbitmap.h
@@ -51,6 +51,7 @@ along with GCC; see the file COPYING3. If not see
* set_difference : bitmap_and_compl
* set_disjuction : (not implemented)
* set_compare : bitmap_equal_p
+ * bit_in_range_p : bitmap_bit_in_range_p
Some operations on 3 sets that occur frequently in data flow problems
are also implemented:
@@ -253,6 +254,7 @@ extern bool bitmap_and (sbitmap, const_sbitmap, const_sbitmap);
extern bool bitmap_ior (sbitmap, const_sbitmap, const_sbitmap);
extern bool bitmap_xor (sbitmap, const_sbitmap, const_sbitmap);
extern bool bitmap_subset_p (const_sbitmap, const_sbitmap);
+extern bool bitmap_bit_in_range_p (const_sbitmap, unsigned int, unsigned int);
extern int bitmap_first_set_bit (const_sbitmap);
extern int bitmap_last_set_bit (const_sbitmap);