diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-25 04:52:38 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-25 04:52:38 +0000 |
commit | ef43e9983dfaa981d443e26a2351848b0d9f27cc (patch) | |
tree | bbf83ed67944b9d6b349a08a6e0a69692b34e2e3 /gcc/graphite-poly.h | |
parent | 7bf7d520ef11ffbfa97c8798870d16ccf5b7d815 (diff) | |
download | gcc-ef43e9983dfaa981d443e26a2351848b0d9f27cc.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154557 138bc75d-0d04-0410-961f-82ee72b054a4
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 a96d5c20a8a..955f12f41b7 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 |