Home
last modified time | relevance | path

Searched refs:loop_father (Results 1 – 25 of 124) sorted by relevance

12345

/dragonfly/contrib/gcc-4.7/gcc/
HDcfgloopanal.c50 if (bb->loop_father != loop) in just_once_each_iteration_p()
111 if (e->dest->loop_father->header == e->dest in mark_irreducible_loops()
112 && e->dest->loop_father->latch == act) in mark_irreducible_loops()
123 if (e->dest->loop_father->header == e->dest) in mark_irreducible_loops()
124 dest = LOOP_REPR (e->dest->loop_father); in mark_irreducible_loops()
126 if (!flow_bb_inside_loop_p (act->loop_father, e->dest)) in mark_irreducible_loops()
128 depth = 1 + loop_depth (find_common_loop (act->loop_father, in mark_irreducible_loops()
129 e->dest->loop_father)); in mark_irreducible_loops()
130 if (depth == loop_depth (act->loop_father)) in mark_irreducible_loops()
131 cloop = act->loop_father; in mark_irreducible_loops()
[all …]
HDcfgloopmanip.c102 act = e->dest->loop_father; in fix_bb_placement()
110 if (loop == bb->loop_father) in fix_bb_placement()
135 act = find_common_loop (loop, e->dest->loop_father); in fix_loop_placement()
187 base_loop = from->loop_father; in fix_bb_placements()
216 if (from->loop_father->header == from) in fix_bb_placements()
219 if (!fix_loop_placement (from->loop_father)) in fix_bb_placements()
221 target_loop = loop_outer (from->loop_father); in fix_bb_placements()
228 target_loop = from->loop_father; in fix_bb_placements()
252 nca = find_common_loop (pred->loop_father, base_loop); in fix_bb_placements()
253 if (pred->loop_father != base_loop in fix_bb_placements()
[all …]
HDcfgloop.c236 header->loop_father = loop; in flow_loop_nodes_find()
241 if (latch->src->loop_father == loop in flow_loop_nodes_find()
247 latch->src->loop_father = loop; in flow_loop_nodes_find()
262 if (ancestor->loop_father != loop) in flow_loop_nodes_find()
264 ancestor->loop_father = loop; in flow_loop_nodes_find()
362 ENTRY_BLOCK_PTR->loop_father = root; in init_loops_structure()
363 EXIT_BLOCK_PTR->loop_father = root; in init_loops_structure()
443 bb->loop_father = loops->tree_root; in flow_loops_find()
474 flow_loop_tree_node_add (header->loop_father, loop); in flow_loops_find()
776 source_loop = bb->loop_father; in flow_bb_inside_loop_p()
[all …]
HDcfghooks.c131 if (bb->loop_father != NULL && current_loops == NULL) in verify_flow_info()
137 if (bb->loop_father == NULL && current_loops != NULL) in verify_flow_info()
409 = find_common_loop (single_pred (ret)->loop_father, in redirect_edge_and_branch_force()
410 single_succ (ret)->loop_father); in redirect_edge_and_branch_force()
450 add_bb_to_loop (new_bb, bb->loop_father); in split_block()
451 if (bb->loop_father->latch == bb) in split_block()
452 bb->loop_father->latch = new_bb; in split_block()
502 struct loop *loop = bb->loop_father; in delete_basic_block()
599 loop = find_common_loop (src->loop_father, dest->loop_father); in split_edge()
769 && dummy->loop_father != NULL in make_forwarder_block()
[all …]
HDgraphite-scop-detection.c64 struct loop *loop = bb->loop_father; in get_bb_type()
304 loop_p loop = bb->loop_father; in stmt_simple_for_scop_p()
433 loop_p loop = bb->loop_father; in scopdet_basic_block_info()
513 if (exit_e->src->loop_father != loop) in scopdet_basic_block_info()
548 if (e->src->loop_father == loop in scopdet_basic_block_info()
556 if (e->dest->loop_father->header == e->dest) in scopdet_basic_block_info()
558 loop_outer (e->dest->loop_father)); in scopdet_basic_block_info()
561 e->dest->loop_father); in scopdet_basic_block_info()
674 if (loop_depth (find_common_loop (loop, dom_bb->loop_father)) in scopdet_basic_block_info()
685 if (loop_depth (loop) > loop_depth (dom_bb->loop_father)) in scopdet_basic_block_info()
[all …]
HDsese.h173 && (SESE_ENTRY_BB (region)->loop_father == loop in sese_loop_depth()
174 || SESE_EXIT (region)->src->loop_father == loop)) in sese_loop_depth()
360 return GBB_BB (gbb)->loop_father; in gbb_loop()
HDtree-ssa-loop-im.c465 max_loop = find_common_loop (loop, def_bb->loop_father); in outermost_invariant_loop()
519 && def_bb->loop_father == loop) in add_dependency()
772 struct loop *loop = bb->loop_father; in determine_max_movement()
894 struct loop *stmt_loop = gimple_bb (stmt)->loop_father; in set_level()
921 set_level (stmt, gimple_bb (stmt)->loop_father, get_lim_data (stmt)->max_loop); in set_profitable_level()
1080 if (!loop_outer (bb->loop_father)) in determine_invariantness_stmt()
1085 bb->index, bb->loop_father->num, loop_depth (bb->loop_father)); in determine_invariantness_stmt()
1234 if (!loop_outer (bb->loop_father)) in move_computations_stmt()
1649 loop = bb->loop_father; in gather_mem_refs_in_loops()
2034 if (current_loops && new_bb->loop_father) in execute_sm_if_changed()
[all …]
HDgraphite.c83 if (bb == bb->loop_father->header in print_global_statistics()
134 loop_p loop = bb->loop_father; in print_graphite_scop_statistics()
HDtree-ssa-threadupdate.c600 struct loop *loop = bb->loop_father; in thread_block()
646 && bb == bb->loop_father->header in thread_block()
647 && (!loop_exit_edge_p (bb->loop_father, e2) in thread_block()
975 if (tgt_bb->loop_father->header == tgt_bb) in thread_through_loop_header()
982 tgt_bb = create_preheader (tgt_bb->loop_father, 0); in thread_through_loop_header()
/dragonfly/contrib/gcc-8.0/gcc/
HDcfghooks.c132 if (bb->loop_father != NULL && current_loops == NULL) in verify_flow_info()
138 if (bb->loop_father == NULL && current_loops != NULL) in verify_flow_info()
496 = find_common_loop (single_pred (ret)->loop_father, in redirect_edge_and_branch_force()
497 single_succ (ret)->loop_father); in redirect_edge_and_branch_force()
537 add_bb_to_loop (new_bb, bb->loop_father); in split_block_1()
540 if (e->dest->loop_father->latch == bb) in split_block_1()
541 e->dest->loop_father->latch = new_bb; in split_block_1()
603 struct loop *loop = bb->loop_father; in delete_basic_block()
694 loop = find_common_loop (src->loop_father, dest->loop_father); in split_edge()
798 if (a->loop_father->header == a) in merge_blocks()
[all …]
HDcfgloopanal.c51 if (bb->loop_father != loop) in just_once_each_iteration_p()
114 if (e->dest->loop_father->header == e->dest in mark_irreducible_loops()
115 && e->dest->loop_father->latch == act) in mark_irreducible_loops()
126 if (e->dest->loop_father->header == e->dest) in mark_irreducible_loops()
127 dest = LOOP_REPR (e->dest->loop_father); in mark_irreducible_loops()
129 if (!flow_bb_inside_loop_p (act->loop_father, e->dest)) in mark_irreducible_loops()
131 depth = 1 + loop_depth (find_common_loop (act->loop_father, in mark_irreducible_loops()
132 e->dest->loop_father)); in mark_irreducible_loops()
133 if (depth == loop_depth (act->loop_father)) in mark_irreducible_loops()
134 cloop = act->loop_father; in mark_irreducible_loops()
[all …]
HDcfgloop.c239 header->loop_father = loop; in flow_loop_nodes_find()
243 if (latch->src->loop_father == loop in flow_loop_nodes_find()
249 latch->src->loop_father = loop; in flow_loop_nodes_find()
263 if (ancestor->loop_father != loop) in flow_loop_nodes_find()
265 ancestor->loop_father = loop; in flow_loop_nodes_find()
378 ENTRY_BLOCK_PTR_FOR_FN (fn)->loop_father = root; in init_loops_structure()
379 EXIT_BLOCK_PTR_FOR_FN (fn)->loop_father = root; in init_loops_structure()
468 && header->loop_father->header == header) in flow_loops_find()
470 loop = header->loop_father; in flow_loops_find()
497 header->loop_father = loops->tree_root; in flow_loops_find()
[all …]
HDcfgloopmanip.c99 act = e->dest->loop_father; in fix_bb_placement()
107 if (loop == bb->loop_father) in fix_bb_placement()
135 act = find_common_loop (loop, e->dest->loop_father); in fix_loop_placement()
195 base_loop = from->loop_father; in fix_bb_placements()
224 if (from->loop_father->header == from) in fix_bb_placements()
227 if (!fix_loop_placement (from->loop_father, irred_invalidated)) in fix_bb_placements()
229 target_loop = loop_outer (from->loop_father); in fix_bb_placements()
232 basic_block *bbs = get_loop_body (from->loop_father); in fix_bb_placements()
233 for (unsigned i = 0; i < from->loop_father->num_nodes; ++i) in fix_bb_placements()
243 target_loop = from->loop_father; in fix_bb_placements()
[all …]
HDloop-init.c172 bb->loop_father = NULL; in loop_optimizer_finalize()
218 bb->aux = (void *) (size_t) loop_depth (bb->loop_father); in fix_loop_structure()
266 if ((void *) (size_t) loop_depth (bb->loop_father) != bb->aux) in fix_loop_structure()
290 if (former_header->loop_father->header == former_header) in fix_loop_structure()
293 loop->num, former_header->loop_father->num, in fix_loop_structure()
295 else if ((unsigned) former_header->loop_father->num in fix_loop_structure()
301 former_header->loop_father->num, in fix_loop_structure()
302 former_header->loop_father->header->index); in fix_loop_structure()
HDtree-cfgcleanup.c391 if (dest->loop_father->header == dest) in tree_forwarder_block_p()
393 if (bb->loop_father == dest->loop_father) in tree_forwarder_block_p()
404 else if (bb->loop_father == loop_outer (dest->loop_father)) in tree_forwarder_block_p()
598 if (current_loops && bb->loop_father->latch == bb) in remove_forwarder_block()
599 bb->loop_father->latch = pred; in remove_forwarder_block()
908 cloop = find_common_loop (cloop, e->src->loop_father); in cleanup_tree_cfg_noloop()
1049 if (dest->loop_father->header == dest in remove_forwarder_block_with_phi()
1052 dest->loop_father->any_upper_bound = false; in remove_forwarder_block_with_phi()
1053 dest->loop_father->any_likely_upper_bound = false; in remove_forwarder_block_with_phi()
1054 free_numbers_of_iterations_estimates (dest->loop_father); in remove_forwarder_block_with_phi()
[all …]
HDtree-ssa-threadupdate.c317 && loop_outer (bb->loop_father) in remove_ctrl_stmt_and_useless_edges()
318 && loop_exit_edge_p (bb->loop_father, single_succ_edge (bb))) in remove_ctrl_stmt_and_useless_edges()
1311 if (bb->loop_father != e2->src->loop_father in thread_block_1()
1312 && (!loop_exit_edge_p (e2->src->loop_father, e2) in thread_block_1()
1313 || flow_loop_nested_p (bb->loop_father, in thread_block_1()
1314 e2->dest->loop_father))) in thread_block_1()
1330 if ((*path)[i]->e->src == bb->loop_father->header in thread_block_1()
1331 && (!loop_exit_edge_p (bb->loop_father, e2) in thread_block_1()
1350 if (bb->loop_father == e2->src->loop_father in thread_block_1()
1351 && loop_exits_from_bb_p (bb->loop_father, in thread_block_1()
[all …]
HDtree-ssa-threadbackward.c102 if (loop != start_bb->loop_father) in fsm_find_thread_path()
185 loop_p loop = m_path[0]->loop_father; in profitable_jump_thread_path()
215 if (bb->loop_father != loop) in profitable_jump_thread_path()
345 && loop == taken_edge->dest->loop_father in profitable_jump_thread_path()
502 local_visited_bbs, e->src->loop_father)) in check_subpath_and_update_thread_path()
556 vect_free_loop_info_assumptions (m_path[0]->loop_father); in register_jump_thread_path_if_profitable()
577 if (!arg || def_bb->loop_father != bbi->loop_father) in handle_phi()
HDtree-ssa-loop-im.c394 max_loop = find_common_loop (loop, def_bb->loop_father); in outermost_invariant_loop()
447 && def_bb->loop_father == loop) in add_dependency()
628 struct loop *loop = bb->loop_father; in determine_max_movement()
667 && gimple_bb (def_stmt)->loop_father == loop) in determine_max_movement()
758 struct loop *stmt_loop = gimple_bb (stmt)->loop_father; in set_level()
786 set_level (stmt, gimple_bb (stmt)->loop_father, get_lim_data (stmt)->max_loop); in set_profitable_level()
956 if (!loop_outer (bb->loop_father)) in before_dom_children()
961 bb->index, bb->loop_father->num, loop_depth (bb->loop_father)); in before_dom_children()
1096 if (!loop_outer (bb->loop_father)) in move_computations_worker()
1485 struct loop *loop1 = bb1->loop_father; in sort_bbs_in_loop_postorder_cmp()
[all …]
HDgimple-loop-jam.c124 if (bbs[i]->loop_father == old in merge_loop_tree()
125 || loop_depth (bbs[i]->loop_father) < loop_depth (old)) in merge_loop_tree()
133 subloop = bbs[i]->loop_father; in merge_loop_tree()
262 if (bbs[i]->loop_father == outer && bb_prevents_fusion_p (bbs[i])) in unroll_jam_possible_p()
HDtree-ssa-loop-manip.c186 struct loop *def_loop = def_bb->loop_father; in compute_live_loop_exits()
198 struct loop *use_loop = use_bb->loop_father; in compute_live_loop_exits()
224 struct loop *pred_loop = pred->loop_father; in compute_live_loop_exits()
283 struct loop *aloop = find_common_loop (def_bb->loop_father, in add_exit_phi()
284 e->src->loop_father); in add_exit_phi()
382 def_loop = def_bb->loop_father; in find_uses_to_rename_use()
709 gcc_assert (flow_bb_inside_loop_p (def_bb->loop_father, use_bb)); in check_loop_closed_ssa_def()
759 if (bb->loop_father && bb->loop_father->num > 0) in verify_loop_closed_ssa()
1485 if (bb->loop_father != loop) in rewrite_all_phi_nodes_with_iv()
HDgimple-loop-interchange.cc325 if (bb->loop_father != m_loop) in can_interchange_p()
422 if (!bb || bb->loop_father != m_outer) in classify_simple_reduction()
1289 gcc_assert (loop == bb->loop_father); in compute_access_stride()
1756 || (e0->src->loop_father == loop && e1->src->loop_father == loop)) in proper_loop_form_for_interchange()
1763 || (e0->dest->loop_father == loop && e1->dest->loop_father == loop)) in proper_loop_form_for_interchange()
1773 if (bb->loop_father != loop in proper_loop_form_for_interchange()
1844 bool a_outer_p = gimple_bb (DR_STMT (a))->loop_father != innermost; in tree_loop_interchange_compute_ddrs()
1848 bool b_outer_p = gimple_bb (DR_STMT (b))->loop_father != innermost; in tree_loop_interchange_compute_ddrs()
1930 loop_nest = bb->loop_father->inner; in prepare_data_references()
HDtree-ssa-loop-ivcanon.c1372 struct loop *loop_father; in tree_unroll_loops_completely_1() local
1399 loop_father = loop_outer (loop); in tree_unroll_loops_completely_1()
1400 if (!loop_father) in tree_unroll_loops_completely_1()
1408 && (unroll_outer || loop_outer (loop_father))) in tree_unroll_loops_completely_1()
1420 if (loop_outer (loop_father)) in tree_unroll_loops_completely_1()
1421 bitmap_set_bit (father_bbs, loop_father->header->index); in tree_unroll_loops_completely_1()
1480 if (loop_outer (unrolled_loop_bb->loop_father)) in tree_unroll_loops_completely()
1482 unrolled_loop_bb->loop_father->num); in tree_unroll_loops_completely()
HDgraphite.c88 if (bb == bb->loop_father->header in print_global_statistics()
146 loop_p loop = bb->loop_father; in print_graphite_scop_statistics()
416 (scops[i]->scop_info->region.entry->dest->loop_father); in graphite_transform_loops()
HDtree-ssa-loop-unswitch.c425 if (dest->loop_father == loop in tree_unswitch_single_loop()
513 if (!exit || exit->src->loop_father != loop) in tree_unswitch_outer_loop()
604 if (header->loop_father->header == next) in find_loop_guard()
668 if (bb->loop_father != loop) in find_loop_guard()
964 if (!flow_bb_inside_loop_p (def_bb->loop_father, pre_header)) in check_exit_phi()
HDtree-ssa-loop.h79 return bb->loop_father; in loop_containing_stmt()

12345