From 03922af3f28531aeae1646fb56a7da7272ebc177 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Wed, 31 Mar 2010 18:36:54 +0000 Subject: Make print_scop output the scoplib format. 2010-03-16 Sebastian Pop * 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 --- gcc/graphite-poly.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gcc/graphite-poly.h') diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h index b586699..665276b 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. */ -- cgit v1.1