diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2010-03-31 18:36:54 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-03-31 18:36:54 +0000 |
commit | 03922af3f28531aeae1646fb56a7da7272ebc177 (patch) | |
tree | 496b04f923347750b0a93595d2a1b26498418d34 /gcc/graphite-poly.h | |
parent | 7da9e6ed3fabd75056877b359fd6d1c46e6a1e51 (diff) | |
download | gcc-03922af3f28531aeae1646fb56a7da7272ebc177.tar.gz |
Make print_scop output the scoplib format.
2010-03-16 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_scattering_function): Pretty print following
the scoplib format.
(print_pdr): Same.
(print_pbb_domain): Same.
(dump_gbb_cases): Same.
(dump_gbb_conditions): Same.
(print_pdrs): Same.
(print_pbb): Same.
(print_scop_params): Same.
(print_scop_context): Same.
(print_scop): Same.
(print_pbb_body): New.
(lst_indent_to): New.
(print_lst): Start new lines with a #.
* graphite-poly.h (pbb_bb): New.
(pbb_index): Use pbb_bb.
* graphite-ppl.c (ppl_print_powerset_matrix): Print the number of
disjuncts.
* tree-data-ref.c (dump_data_reference): Start new lines with a #.
From-SVN: r157883
Diffstat (limited to 'gcc/graphite-poly.h')
-rw-r--r-- | gcc/graphite-poly.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h index b5866995a63..665276bdaeb 100644 --- a/gcc/graphite-poly.h +++ b/gcc/graphite-poly.h @@ -385,12 +385,19 @@ number_of_write_pdrs (poly_bb_p pbb) return res; } +/* The basic block of the PBB. */ +static inline basic_block +pbb_bb (poly_bb_p pbb) +{ + return GBB_BB (PBB_BLACK_BOX (pbb)); +} + /* The index of the PBB. */ static inline int pbb_index (poly_bb_p pbb) { - return GBB_BB (PBB_BLACK_BOX (pbb))->index; + return pbb_bb (pbb)->index; } /* The loop of the PBB. */ |