Home
last modified time | relevance | path

Searched refs:current_loops (Results 1 – 19 of 19) sorted by relevance

/freebsd-9-stable/contrib/gcc/
Dtree-ssa-loop.c43 struct loops *current_loops = NULL; variable
93 current_loops = tree_loop_optimizer_init (); in tree_ssa_loop_init()
94 if (!current_loops) in tree_ssa_loop_init()
97 scev_initialize (current_loops); in tree_ssa_loop_init()
123 if (!current_loops) in tree_ssa_loop_im()
126 tree_ssa_lim (current_loops); in tree_ssa_loop_im()
158 if (!current_loops) in tree_ssa_loop_unswitch()
161 return tree_ssa_unswitch_loops (current_loops); in tree_ssa_loop_unswitch()
192 vectorize_loops (current_loops); in tree_vectorize()
199 return flag_tree_vectorize && current_loops; in gate_tree_vectorize()
[all …]
Dloop-init.c176 current_loops = loop_optimizer_init (LOOPS_NORMAL); in rtl_loop_init()
204 if (current_loops) in rtl_loop_done()
205 loop_optimizer_finalize (current_loops); in rtl_loop_done()
221 current_loops = NULL; in rtl_loop_done()
253 if (current_loops) in rtl_move_loop_invariants()
254 move_loop_invariants (current_loops); in rtl_move_loop_invariants()
286 if (current_loops) in rtl_unswitch()
287 unswitch_loops (current_loops); in rtl_unswitch()
319 if (current_loops) in rtl_unroll_and_peel_loops()
330 unroll_and_peel_loops (current_loops, flags); in rtl_unroll_and_peel_loops()
[all …]
Dtree-scalar-evolution.c378 struct loop *loop = current_loops->parray[loop_nb]; in chrec_contains_symbols_defined_in_loop()
471 current_loops->parray[CHREC_VARIABLE (evolution_fn)]; in compute_overall_effect_of_inner_loop()
538 (current_loops->parray[CHREC_VARIABLE (chrec)]); in chrec_is_positive()
2534 fprintf (dump_file, "%d\tnb_total_loops\n", current_loops->num); in number_of_iterations_for_all_loops()
2752 current_loops = loops; in scev_initialize()
2773 if (!scalar_evolution_info || !current_loops) in scev_reset()
2777 for (i = 1; i < current_loops->num; i++) in scev_reset()
2779 loop = current_loops->parray[i]; in scev_reset()
2853 select_loops_exit_conditions (current_loops, &exit_conditions); in scev_analysis()
2895 if (!current_loops) in scev_const_prop()
[all …]
Dtree-cfgcleanup.c304 if (current_loops) in tree_forwarder_block_p()
612 fix_loop_structure (current_loops, changed_bbs); in cleanup_tree_cfg_loop()
623 verify_loop_structure (current_loops); in cleanup_tree_cfg_loop()
Dtree-if-conv.c1136 if (!current_loops) in main_tree_if_conversion()
1139 loop_num = current_loops->num; in main_tree_if_conversion()
1142 loop = current_loops->parray[i]; in main_tree_if_conversion()
Dcfgloop.h179 extern struct loops *current_loops;
Dtree-chrec.c942 && expr_invariant_in_loop_p (current_loops->parray[loopnum], in evolution_function_is_invariant_rec_p()
985 if (current_loops != NULL) in evolution_function_is_invariant_p()
1283 loop = current_loops->parray[CHREC_VARIABLE (chrec)]; in chrec_convert_1()
Dtree-vrp.c2508 current_loops->parray[CHREC_VARIABLE (chrec)], in adjust_range_with_scev()
2613 if (current_loops == NULL) in vrp_var_may_overflow()
2636 current_loops->parray[CHREC_VARIABLE (chrec)], in vrp_var_may_overflow()
4064 if (current_loops && (l = loop_containing_stmt (stmt))) in vrp_visit_assignment()
5479 current_loops = loop_optimizer_init (LOOPS_NORMAL); in execute_vrp()
5480 if (current_loops) in execute_vrp()
5481 scev_initialize (current_loops); in execute_vrp()
5487 if (current_loops) in execute_vrp()
5490 loop_optimizer_finalize (current_loops); in execute_vrp()
5491 current_loops = NULL; in execute_vrp()
Dtree-ssa-dce.c936 free_numbers_of_iterations_estimates (current_loops); in tree_ssa_dce_loop()
Dtree-cfg.c1244 if (current_loops in tree_can_merge_blocks_p()
1299 if (current_loops) in replace_uses_by()
1303 for (i = 0; i < current_loops->num; i++) in replace_uses_by()
1305 loop = current_loops->parray[i]; in replace_uses_by()
1335 if (current_loops in tree_merge_blocks()
2019 if (current_loops) in remove_bb()
Dpasses.c733 if (current_loops) in execute_todo()
Dtree-ssa-pre.c3766 current_loops = loop_optimizer_init (LOOPS_NORMAL); in init_pre()
3879 if (!do_fre && current_loops) in fini_pre()
3881 loop_optimizer_finalize (current_loops); in fini_pre()
3882 current_loops = NULL; in fini_pre()
Dtree-ssa-loop-manip.c426 if (current_loops == NULL) in verify_loop_closed_ssa()
Dpredict.c782 current_loops = NULL; in predict_loops()
Dtree-data-ref.c2409 tree numiter = number_of_iterations_in_loop (current_loops->parray[loopnum]); in get_number_of_iters_for_loop()
2412 numiter = current_loops->parray[loopnum]->estimated_nb_iterations; in get_number_of_iters_for_loop()
DChangeLog-200612808 Use current_loops instead of cfg_loops. Pass flags to
DChangeLog-200423875 (current_loops): Declare.
27048 * tree-ssa-loop.c (current_loops): New variable.
DChangeLog-20057051 * tree-ssa-loop.c (tree_vectorize): Move current_loops check ...
/freebsd-9-stable/contrib/gcc/doc/
Dloop.texi76 CFG. It is recommended to use the global variable @code{current_loops}
122 @code{current_loops} is set.