diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2009-11-25 04:52:38 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2009-11-25 04:52:38 +0000 |
commit | d48e288db9948aff8d1d75af78d8bb30ef31b12c (patch) | |
tree | bbf83ed67944b9d6b349a08a6e0a69692b34e2e3 /gcc/graphite-poly.h | |
parent | d17286f64907bf027dffc9a1b83ad1fdbb166676 (diff) | |
download | gcc-d48e288db9948aff8d1d75af78d8bb30ef31b12c.zip gcc-d48e288db9948aff8d1d75af78d8bb30ef31b12c.tar.gz gcc-d48e288db9948aff8d1d75af78d8bb30ef31b12c.tar.bz2 |
graphite-clast-to-gimple.c (build_cloog_prog): Use pbb_index.
2009-10-05 Sebastian Pop <sebastian.pop@amd.com>
* graphite-clast-to-gimple.c (build_cloog_prog): Use pbb_index.
* graphite-interchange.c (pbb_do_interchange): Same.
* graphite-poly.c (print_scattering_function): Same.
(debug_pdrs): Same.
* graphite-poly.h (pbb_loop): New.
* graphite-sese-to-poly.c (create_linear_expr_from_tree): Use pbb_loop.
From-SVN: r154557
Diffstat (limited to 'gcc/graphite-poly.h')
-rw-r--r-- | gcc/graphite-poly.h | 8 |
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 |