Lines Matching refs:pbb

54 isl_id_for_pbb (scop_p s, poly_bb_p pbb)  in isl_id_for_pbb()  argument
57 snprintf (name, sizeof (name), "S_%d", pbb_index (pbb)); in isl_id_for_pbb()
58 return isl_id_alloc (s->isl_context, name, pbb); in isl_id_for_pbb()
317 create_pw_aff_from_tree (poly_bb_p pbb, loop_p loop, tree t) in create_pw_aff_from_tree() argument
319 scop_p scop = PBB_SCOP (pbb); in create_pw_aff_from_tree()
326 return extract_affine (scop, t, isl_set_get_space (pbb->domain)); in create_pw_aff_from_tree()
334 add_condition_to_pbb (poly_bb_p pbb, gcond *stmt, enum tree_code code) in add_condition_to_pbb() argument
337 isl_pw_aff *lhs = create_pw_aff_from_tree (pbb, loop, gimple_cond_lhs (stmt)); in add_condition_to_pbb()
338 isl_pw_aff *rhs = create_pw_aff_from_tree (pbb, loop, gimple_cond_rhs (stmt)); in add_condition_to_pbb()
372 cond = isl_set_set_tuple_id (cond, isl_set_get_tuple_id (pbb->domain)); in add_condition_to_pbb()
373 pbb->domain = isl_set_coalesce (isl_set_intersect (pbb->domain, cond)); in add_condition_to_pbb()
379 add_conditions_to_domain (poly_bb_p pbb) in add_conditions_to_domain() argument
383 gimple_poly_bb_p gbb = PBB_BLACK_BOX (pbb); in add_conditions_to_domain()
404 add_condition_to_pbb (pbb, cond_stmt, code); in add_conditions_to_domain()
507 poly_bb_p pbb = dri.pbb; in pdr_add_memory_accesses() local
509 scop_p scop = PBB_SCOP (pbb); in pdr_add_memory_accesses()
613 poly_bb_p pbb = dri.pbb; in build_poly_dr() local
615 scop_p scop = PBB_SCOP (pbb); in build_poly_dr()
619 isl_space *dc = isl_set_get_space (pbb->domain); in build_poly_dr()
642 new_poly_dr (pbb, DR_STMT (dr), DR_IS_READ (dr) ? PDR_READ : PDR_WRITE, in build_poly_dr()
647 build_poly_sr_1 (poly_bb_p pbb, gimple *stmt, tree var, enum poly_dr_type kind, in build_poly_sr_1() argument
650 scop_p scop = PBB_SCOP (pbb); in build_poly_sr_1()
664 new_poly_dr (pbb, stmt, kind, isl_map_add_constraint (acc, c), in build_poly_sr_1()
671 build_poly_sr (poly_bb_p pbb) in build_poly_sr() argument
673 scop_p scop = PBB_SCOP (pbb); in build_poly_sr()
674 gimple_poly_bb_p gbb = PBB_BLACK_BOX (pbb); in build_poly_sr()
678 isl_space *dc = isl_set_get_space (pbb->domain); in build_poly_sr()
691 build_poly_sr_1 (pbb, SSA_NAME_DEF_STMT (var), var, PDR_WRITE, in build_poly_sr()
696 build_poly_sr_1 (pbb, use->first, use->second, PDR_READ, isl_map_copy (acc), in build_poly_sr()
713 poly_bb_p pbb; in build_scop_drs() local
714 FOR_EACH_VEC_ELT (scop->pbbs, i, pbb) in build_scop_drs()
715 build_poly_sr (pbb); in build_scop_drs()
849 poly_bb_p pbb; in build_iteration_domains() local
850 FOR_EACH_VEC_ELT_FROM (scop->pbbs, i, pbb, index) in build_iteration_domains()
852 loop_p loop = pbb_loop (pbb); in build_iteration_domains()
855 pbb->iterators = isl_set_copy (domain); in build_iteration_domains()
856 pbb->domain = isl_set_copy (domain); in build_iteration_domains()
857 pbb->domain = isl_set_set_tuple_id (pbb->domain, in build_iteration_domains()
858 isl_id_for_pbb (scop, pbb)); in build_iteration_domains()
859 add_conditions_to_domain (pbb); in build_iteration_domains()
864 pbb_index (pbb)); in build_iteration_domains()
934 poly_bb_p pbb; in index_outermost_in_loop() local
935 FOR_EACH_VEC_ELT (scop->pbbs, i, pbb) in index_outermost_in_loop()
936 if (nested_in (pbb_loop (pbb), a) in index_outermost_in_loop()
938 || last_depth > (int) loop_depth (pbb_loop (pbb)))) in index_outermost_in_loop()
941 last_depth = loop_depth (pbb_loop (pbb)); in index_outermost_in_loop()
952 poly_bb_p pbb; in index_pbb_in_loop() local
953 FOR_EACH_VEC_ELT (scop->pbbs, i, pbb) in index_pbb_in_loop()
954 if (pbb_loop (pbb) == a) in index_pbb_in_loop()
1034 poly_bb_p pbb = outermost_pbb_in (loop, scop); in add_loop_schedule() local
1035 isl_set *iterators = pbb->iterators; in add_loop_schedule()
1052 loop_p ploop = pbb_loop (pbb); in add_loop_schedule()
1079 poly_bb_p pbb = scop->pbbs[*index]; in build_schedule_pbb() local
1081 isl_set *domain = isl_set_copy (pbb->domain); in build_schedule_pbb()
1178 poly_bb_p pbb = scop->pbbs[i]; in build_original_schedule() local
1180 if (!loop_in_sese_p (pbb_loop (pbb), scop->scop_info->region)) in build_original_schedule()