Lines Matching refs:pbb
53 /* Prints to FILE the iteration domain of PBB. */
56 print_iteration_domain (FILE *file, poly_bb_p pbb)
58 print_pbb_domain (file, pbb);
61 /* Prints to FILE the iteration domains of every PBB of SCOP. */
66 for (poly_bb_p pbb : scop->pbbs)
67 print_iteration_domain (file, pbb);
70 /* Prints to STDERR the iteration domain of PBB. */
73 debug_iteration_domain (poly_bb_p pbb)
75 print_iteration_domain (stderr, pbb);
78 /* Prints to STDERR the iteration domains of every PBB of SCOP. */
86 /* Create a new polyhedral data reference and add it to PBB. It is
91 new_poly_dr (poly_bb_p pbb, gimple *stmt, enum poly_dr_type type,
100 PDR_PBB (pdr) = pbb;
104 PBB_DRS (pbb).safe_push (pdr);
133 poly_bb_p pbb = XNEW (struct poly_bb);
135 pbb->domain = NULL;
136 pbb->iterators = NULL;
137 PBB_SCOP (pbb) = scop;
138 pbb_set_black_box (pbb, black_box);
139 PBB_DRS (pbb).create (3);
140 GBB_PBB ((gimple_poly_bb_p) black_box) = pbb;
142 return pbb;
148 free_poly_bb (poly_bb_p pbb)
150 isl_set_free (pbb->domain);
151 pbb->domain = NULL;
152 isl_set_free (pbb->iterators);
153 pbb->iterators = NULL;
155 if (PBB_DRS (pbb).exists ())
156 for (poly_dr_p pdr : PBB_DRS (pbb))
159 PBB_DRS (pbb).release ();
160 XDELETE (pbb);
240 for (poly_bb_p pbb : scop->pbbs)
241 free_gimple_poly_bb (PBB_BLACK_BOX (pbb));
270 for (poly_bb_p pbb : scop->pbbs)
271 free_poly_bb (pbb);
287 /* Print to FILE the domain of PBB. */
290 print_pbb_domain (FILE *file, poly_bb_p pbb)
292 print_isl_set (file, pbb->domain);
339 /* Print to FILE all the data references of PBB. */
342 print_pdrs (FILE *file, poly_bb_p pbb)
347 if (PBB_DRS (pbb).is_empty ())
352 for (poly_dr_p pdr : PBB_DRS (pbb))
360 for (poly_dr_p pdr : PBB_DRS (pbb))
366 for (poly_dr_p pdr : PBB_DRS (pbb))
373 /* Print to STDERR all the data references of PBB. */
376 debug_pdrs (poly_bb_p pbb)
378 print_pdrs (stderr, pbb);
381 /* Print to FILE the body of PBB. */
384 print_pbb_body (FILE *file, poly_bb_p pbb)
387 dump_bb (file, pbb_bb (pbb), 0, TDF_NONE);
391 /* Print to FILE the domain and scattering function of PBB. */
394 print_pbb (FILE *file, poly_bb_p pbb)
396 fprintf (file, "pbb_%d (\n", pbb_index (pbb));
397 dump_gbb_conditions (file, PBB_BLACK_BOX (pbb));
398 dump_gbb_cases (file, PBB_BLACK_BOX (pbb));
400 print_pbb_domain (file, pbb);
401 print_pdrs (file, pbb);
402 print_pbb_body (file, pbb);
451 for (poly_bb_p pbb : scop->pbbs)
452 print_pbb (file, pbb);
457 /* Print to STDERR the domain of PBB. */
460 debug_pbb_domain (poly_bb_p pbb)
462 print_pbb_domain (stderr, pbb);
465 /* Print to FILE the domain and scattering function of PBB. */
468 debug_pbb (poly_bb_p pbb)
470 print_pbb (stderr, pbb);