aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-edge.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple-range-edge.h')
-rw-r--r--gcc/gimple-range-edge.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/gimple-range-edge.h b/gcc/gimple-range-edge.h
index 8970c9e..87b4124 100644
--- a/gcc/gimple-range-edge.h
+++ b/gcc/gimple-range-edge.h
@@ -35,11 +35,11 @@ along with GCC; see the file COPYING3. If not see
// The return value is NULL for no range, or the branch statement which the
// edge gets the range from, along with the range.
-class outgoing_range
+class gimple_outgoing_range
{
public:
- outgoing_range ();
- ~outgoing_range ();
+ gimple_outgoing_range ();
+ ~gimple_outgoing_range ();
gimple *edge_range_p (irange &r, edge e);
private:
void calc_switch_ranges (gswitch *sw);
@@ -47,9 +47,11 @@ private:
hash_map<edge, irange *> *m_edge_table;
irange_allocator m_range_allocator;
-};
+};
-// If there is a range control statment at the end of block BB, return it.
+// If there is a range control statement at the end of block BB, return it.
gimple *gimple_outgoing_range_stmt_p (basic_block bb);
+// Return the range on edge E if it is from a GCOND. Either TRUE or FALSE.
+void gcond_edge_range (irange &r, edge e);
#endif // GIMPLE_RANGE_EDGE_H