aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/graphite-poly.h')
-rw-r--r--gcc/graphite-poly.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h
index a96d5c2..955f12f 100644
--- a/gcc/graphite-poly.h
+++ b/gcc/graphite-poly.h
@@ -355,6 +355,14 @@ pbb_index (poly_bb_p pbb)
return GBB_BB (PBB_BLACK_BOX (pbb))->index;
}
+/* The loop of the PBB. */
+
+static inline loop_p
+pbb_loop (poly_bb_p pbb)
+{
+ return gbb_loop (PBB_BLACK_BOX (pbb));
+}
+
/* The scop that contains the PDR. */
static inline scop_p