Home
last modified time | relevance | path

Searched defs:loop (Results 1 – 25 of 185) sorted by relevance

12345678

/openbsd-src/gnu/gcc/gcc/
H A Dcfgloop.c96 flow_loop_nested_p (const struct loop *outer, const struct loop *loop) in flow_loop_nested_p()
106 superloop_at_depth (struct loop *loop, unsigned depth) in superloop_at_depth()
120 flow_loop_dump (const struct loop *loop, FILE *file, in flow_loop_dump()
153 …ct loops *loops, FILE *file, void (*loop_dump_aux) (const struct loop *, FILE *, int), int verbose) in flow_loops_dump()
166 struct loop *loop = loops->parray[i]; in flow_loops_dump() local
180 flow_loop_free (struct loop *loop) in flow_loop_free()
201 struct loop *loop = loops->parray[i]; in flow_loops_free() local
224 flow_loop_nodes_find (basic_block header, struct loop *loop) in flow_loop_nodes_find()
277 struct loop *loop; in mark_single_exit_loops() local
328 establish_preds (struct loop *loop) in establish_preds()
[all …]
H A Dcfgloop.h59 struct loop struct
64 /* Basic block of loop header. */ argument
67 /* Basic block of loop latch. */ argument
70 /* For loop unrolling/peeling decision. */ argument
73 /* Number of loop insns. */ argument
79 /* Number of blocks contained within the loop. */ argument
82 /* The loop nesting depth. */ argument
85 /* Superloops of the loop. */ argument
86 struct loop **pred; argument
92 /* The outer (parent) loop or NULL if outermost loop. */ argument
[all …]
H A Dtree-if-conv.c143 tree_if_conversion (struct loop *loop, bool for_vectorizer) in tree_if_conversion()
218 tree_if_convert_stmt (struct loop * loop, tree t, tree cond, in tree_if_convert_stmt()
261 tree_if_convert_cond_expr (struct loop *loop, tree stmt, tree cond, in tree_if_convert_cond_expr()
302 if_convertible_phi_p (struct loop *loop, basic_block bb, tree phi) in if_convertible_phi_p()
344 if_convertible_modify_expr_p (struct loop *loop, basic_block bb, tree m_expr) in if_convertible_modify_expr_p()
399 if_convertible_stmt_p (struct loop *loop, basic_block bb, tree stmt) in if_convertible_stmt_p()
439 if_convertible_bb_p (struct loop *loop, basic_block bb, basic_block exit_bb) in if_convertible_bb_p()
496 if_convertible_loop_p (struct loop *loop, bool for_vectorizer ATTRIBUTE_UNUSED) in if_convertible_loop_p()
612 add_to_dst_predicate_list (struct loop * loop, edge e, in add_to_dst_predicate_list()
661 clean_predicate_lists (struct loop *loop) in clean_predicate_lists()
[all …]
H A Dtree-ssa-loop-ivcanon.c73 create_canonical_iv (struct loop *loop, edge exit, tree niter) in create_canonical_iv()
117 tree_num_loop_insns (struct loop *loop) in tree_num_loop_insns()
163 struct loop *loop, in try_unroll_loop_completely()
276 canonicalize_loop_induction_variables (struct loops *loops, struct loop *loop, in canonicalize_loop_induction_variables()
337 struct loop *loop; in canonicalize_induction_variables() local
367 struct loop *loop; in tree_unroll_loops_completely() local
399 empty_loop_p (struct loop *loop) in empty_loop_p()
494 remove_empty_loop (struct loop *loop) in remove_empty_loop()
548 try_remove_empty_loop (struct loop *loop, bool *changed) in try_remove_empty_loop()
571 struct loop *loop; in remove_empty_loops() local
H A Dtree-scalar-evolution.c378 struct loop *loop = current_loops->parray[loop_nb]; in chrec_contains_symbols_defined_in_loop() local
459 compute_overall_effect_of_inner_loop (struct loop *loop, tree evolution_fn) in compute_overall_effect_of_inner_loop()
895 set_nb_iterations_in_loop (struct loop *loop, in set_nb_iterations_in_loop()
966 get_loop_exit_condition (struct loop *loop) in get_loop_exit_condition()
996 get_exit_conditions_rec (struct loop *loop, in get_exit_conditions_rec()
1043 follow_ssa_edge_in_rhs (struct loop *loop, tree at_stmt, tree rhs, in follow_ssa_edge_in_rhs()
1239 struct loop *loop, in follow_ssa_edge_in_condition_phi_branch()
1274 follow_ssa_edge_in_condition_phi (struct loop *loop, in follow_ssa_edge_in_condition_phi()
1323 struct loop *loop = loop_containing_stmt (loop_phi_node); in follow_ssa_edge_inner_loop_phi() local
1365 follow_ssa_edge (struct loop *loop, tree def, tree halting_phi, in follow_ssa_edge()
[all …]
H A Dtree-ssa-loop-unswitch.c87 struct loop *loop; in tree_ssa_unswitch_loops() local
115 tree_may_unswitch_on (basic_block bb, struct loop *loop) in tree_may_unswitch_on()
151 simplify_using_entry_checks (struct loop *loop, tree cond) in simplify_using_entry_checks()
180 tree_unswitch_single_loop (struct loops *loops, struct loop *loop, int num) in tree_unswitch_single_loop()
280 tree_unswitch_loop (struct loops *loops, struct loop *loop, in tree_unswitch_loop()
H A Dcfgloopmanip.c104 struct loop *loop = loops->tree_root, *act; in fix_bb_placement() local
369 add_loop (struct loops *loops, struct loop *loop) in add_loop()
392 scale_loop_frequencies (struct loop *loop, int num, int den) in scale_loop_frequencies()
420 struct loop *loop = XCNEW (struct loop); in loopify() local
511 unloop (struct loops *loops, struct loop *loop, bool *irred_invalidated) in unloop()
564 fix_loop_placement (struct loop *loop) in fix_loop_placement()
603 fix_loop_placements (struct loops *loops, struct loop *loop, in fix_loop_placements()
627 place_new_loop (struct loops *loops, struct loop *loop) in place_new_loop()
639 duplicate_loop (struct loops *loops, struct loop *loop, struct loop *target) in duplicate_loop()
660 duplicate_subloops (struct loops *loops, struct loop *loop, struct loop *target) in duplicate_subloops()
[all …]
H A Dloop-unroll.c147 struct loop *loop, *next; in unroll_and_peel_loops() local
214 loop_exit_at_end_p (struct loop *loop) in loop_exit_at_end_p()
236 struct loop *loop; in peel_loops_completely() local
274 struct loop *loop = loops->tree_root, *next; in decide_unrolling_and_peeling() local
345 decide_peel_once_rolling (struct loop *loop, int flags ATTRIBUTE_UNUSED) in decide_peel_once_rolling()
384 decide_peel_completely (struct loop *loop, int flags ATTRIBUTE_UNUSED) in decide_peel_completely()
478 peel_loop_completely (struct loops *loops, struct loop *loop) in peel_loop_completely()
545 decide_unroll_constant_iterations (struct loop *loop, int flags) in decide_unroll_constant_iterations()
661 unroll_loop_constant_iterations (struct loops *loops, struct loop *loop) in unroll_loop_constant_iterations()
826 decide_unroll_runtime_iterations (struct loop *loop, int flags) in decide_unroll_runtime_iterations()
[all …]
H A Dtree-vectorizer.c228 struct loop *loop = bb->loop_father; in rename_variables_in_bb() local
251 rename_variables_in_loop (struct loop *loop) in rename_variables_in_loop()
505 slpeel_update_phi_nodes_for_guard1 (edge guard_edge, struct loop *loop, in slpeel_update_phi_nodes_for_guard1()
632 slpeel_update_phi_nodes_for_guard2 (edge guard_edge, struct loop *loop, in slpeel_update_phi_nodes_for_guard2()
766 slpeel_make_loop_iterate_ntimes (struct loop *loop, tree niters) in slpeel_make_loop_iterate_ntimes()
827 slpeel_tree_duplicate_loop_to_edge_cfg (struct loop *loop, struct loops *loops, in slpeel_tree_duplicate_loop_to_edge_cfg()
971 slpeel_can_duplicate_loop_p (struct loop *loop, edge e) in slpeel_can_duplicate_loop_p()
1068 slpeel_tree_peel_loop_to_edge (struct loop *loop, struct loops *loops, in slpeel_tree_peel_loop_to_edge()
1229 find_loop_location (struct loop *loop) in find_loop_location()
1385 new_loop_vec_info (struct loop *loop) in new_loop_vec_info()
[all …]
H A Dtree-ssa-loop-niter.c907 simplify_using_initial_conditions (struct loop *loop, tree expr, in simplify_using_initial_conditions()
955 simplify_using_outer_evolutions (struct loop *loop, tree expr) in simplify_using_outer_evolutions()
1008 loop_only_exit_p (struct loop *loop, edge exit) in loop_only_exit_p()
1045 number_of_iterations_exit (struct loop *loop, edge exit, in number_of_iterations_exit()
1177 find_loop_niter (struct loop *loop, edge *exit) in find_loop_niter()
1256 chain_of_csts_start (struct loop *loop, tree x) in chain_of_csts_start()
1301 get_base_for (struct loop *loop, tree x) in get_base_for()
1374 loop_niter_by_eval (struct loop *loop, edge exit) in loop_niter_by_eval()
1471 find_loop_niter_by_eval (struct loop *loop, edge *exit) in find_loop_niter_by_eval()
1683 record_estimate (struct loop *loop, tree bound, tree additional, tree at_stmt) in record_estimate()
[all …]
H A Dtree-ssa-loop-im.c301 outermost_invariant_loop (tree def, struct loop *loop) in outermost_invariant_loop()
331 outermost_invariant_loop_expr (tree expr, struct loop *loop) in outermost_invariant_loop_expr()
375 add_dependency (tree def, struct lim_aux_data *data, struct loop *loop, in add_dependency()
483 struct loop *loop = bb->loop_father; in determine_max_movement() local
792 struct loop *loop = data, *max_loop; in may_move_till() local
821 force_move_till_expr (tree expr, struct loop *orig_loop, struct loop *loop) in force_move_till_expr()
853 struct loop *loop; member
1044 schedule_sm (struct loop *loop, edge *exits, unsigned n_exits, tree ref, in schedule_sm()
1099 determine_lsm_ref (struct loop *loop, edge *exits, unsigned n_exits, in determine_lsm_ref()
1153 hoist_memory_references (struct loop *loop, struct mem_ref *mem_refs, in hoist_memory_references()
[all …]
H A Dtree-vect-analyze.c97 struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); in vect_determine_vectorization_factor() local
230 struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); in vect_analyze_operations() local
501 struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); in vect_analyze_scalar_cycles() local
585 struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); in vect_analyze_data_ref_dependence() local
1330 struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); in vect_analyze_data_refs() local
1489 struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); in vect_stmt_relevant_p() local
1556 struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); in vect_mark_stmts_to_be_vectorized() local
1734 struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); in vect_can_advance_ivs_p() local
1819 vect_get_loop_niters (struct loop *loop, tree *number_of_iterations) in vect_get_loop_niters()
1855 vect_analyze_loop_form (struct loop *loop) in vect_analyze_loop_form()
[all …]
H A Dtree-ssa-loop-ch.c51 should_duplicate_loop_header_p (basic_block header, struct loop *loop, in should_duplicate_loop_header_p()
101 do_while_loop_p (struct loop *loop) in do_while_loop_p()
128 struct loop *loop; in copy_loop_headers() local
H A Dloop-unswitch.c143 struct loop *loop; in unswitch_loops() local
173 may_unswitch_on (basic_block bb, struct loop *loop, rtx *cinsn) in may_unswitch_on()
262 unswitch_single_loop (struct loops *loops, struct loop *loop, in unswitch_single_loop()
401 unswitch_loop (struct loops *loops, struct loop *loop, basic_block unswitch_on, in unswitch_loop()
H A Dloop-doloop.c156 doloop_valid_p (struct loop *loop, struct niter_desc *desc) in doloop_valid_p()
290 doloop_modify (struct loop *loop, struct niter_desc *desc, in doloop_modify()
479 doloop_optimize (struct loop *loop) in doloop_optimize()
622 struct loop *loop; in doloop_optimize_loops() local
H A Dtree-ssa-loop-manip.c51 create_iv (tree base, tree step, tree var, struct loop *loop, in create_iv()
505 ip_end_pos (struct loop *loop) in ip_end_pos()
514 ip_normal_pos (struct loop *loop) in ip_normal_pos()
544 standard_iv_increment_position (struct loop *loop, block_stmt_iterator *bsi, in standard_iv_increment_position()
592 tree_duplicate_loop_to_header_edge (struct loop *loop, edge e, in tree_duplicate_loop_to_header_edge()
640 can_unroll_loop_p (struct loop *loop, unsigned factor, in can_unroll_loop_p()
687 determine_exit_conditions (struct loop *loop, struct tree_niter_desc *desc, in determine_exit_conditions()
840 tree_unroll_loop (struct loops *loops, struct loop *loop, unsigned factor, in tree_unroll_loop()
H A Dtree-ssa-loop-prefetch.c325 struct loop *loop; /* Loop of the reference. */ member
396 analyze_ref (struct loop *loop, tree *ref_p, tree *base, in analyze_ref()
436 gather_memory_references_ref (struct loop *loop, struct mem_ref_group **refs, in gather_memory_references_ref()
455 gather_memory_references (struct loop *loop) in gather_memory_references()
877 should_unroll_loop_p (struct loop *loop, struct tree_niter_desc *desc, in should_unroll_loop_p()
901 determine_unroll_factor (struct loop *loop, struct mem_ref_group *refs, in determine_unroll_factor()
956 loop_prefetch_arrays (struct loops *loops, struct loop *loop) in loop_prefetch_arrays()
1017 struct loop *loop; in tree_ssa_prefetch_arrays() local
H A Dlambda-code.c298 print_lambda_loop (FILE * outfile, lambda_loop loop, int depth, in print_lambda_loop()
388 lambda_loop loop; in lambda_lattice_compute_base() local
490 lambda_loop loop; in compute_nest_using_fourier_motzkin() local
637 lambda_loop loop; in lambda_compute_auxillary_space() local
1033 lambda_loop loop; in lambda_loopnest_transform() local
1187 invariant_in_loop_and_outer_loops (struct loop *loop, tree op) in invariant_in_loop_and_outer_loops()
1210 gcc_loop_to_lambda_loop (struct loop *loop, int depth, in gcc_loop_to_lambda_loop()
1421 find_induction_var_from_exit_cond (struct loop *loop) in find_induction_var_from_exit_cond()
1992 phi_loop_edge_uses_def (struct loop *loop, tree phi, tree def) in phi_loop_edge_uses_def()
2021 stmt_is_bumper_for_loop (struct loop *loop, tree stmt) in stmt_is_bumper_for_loop()
[all …]
H A Dloop-invariant.c509 compute_always_reached (struct loop *loop, basic_block *body, in compute_always_reached()
529 find_exits (struct loop *loop, basic_block *body, in find_exits()
611 find_defs (struct loop *loop, basic_block *body) in find_defs()
859 find_invariants_body (struct loop *loop, basic_block *body, in find_invariants_body()
873 find_invariants (struct loop *loop) in find_invariants()
1130 move_invariant_reg (struct loop *loop, unsigned invno) in move_invariant_reg()
1236 move_invariants (struct loop *loop) in move_invariants()
1293 move_single_loop_invariants (struct loop *loop) in move_single_loop_invariants()
1307 free_loop_data (struct loop *loop) in free_loop_data()
1320 struct loop *loop; in move_loop_invariants() local
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dcfgloop.c96 flow_loop_nested_p (outer, loop) in flow_loop_nested_p() argument
108 flow_loop_dump (loop, file, loop_dump_aux, verbose) in flow_loop_dump() argument
171 struct loop *loop = loops->parray[i]; local
185 flow_loop_free (loop) in flow_loop_free() argument
215 struct loop *loop = loops->parray[i]; local
240 flow_loop_entry_edges_find (loop) in flow_loop_entry_edges_find() argument
271 flow_loop_exit_edges_find (loop) in flow_loop_exit_edges_find() argument
327 flow_loop_nodes_find (header, loop) in flow_loop_nodes_find() argument
379 flow_loop_pre_header_scan (loop) in flow_loop_pre_header_scan() argument
452 flow_loop_tree_node_add (father, loop) in flow_loop_tree_node_add() argument
[all …]
H A Dbasic-block.h371 struct loop struct
376 /* Basic block of loop header. */ argument
379 /* Basic block of loop latch. */ argument
382 /* Basic block of loop pre-header or NULL if it does not exist. */ argument
393 /* The first block in the loop. This is not necessarily the same as argument
397 /* The last block in the loop. This is not necessarily the same as argument
401 /* Bitmap of blocks contained within the loop. */ argument
404 /* Number of blocks contained within the loop. */ argument
407 /* Array of edges that enter the loop. */ argument
410 /* Number of edges that enter the loop. */ argument
[all …]
H A Dloop.c553 struct loop *loop = &loops->array[i]; local
581 next_insn_in_loop (loop, insn) in next_insn_in_loop() argument
613 scan_loop (loop, flags) in scan_loop() argument
1598 num_unmoved_movables (loop) in num_unmoved_movables() argument
2411 count_nonfixed_reads (loop, x) in count_nonfixed_reads() argument
2467 prescan_loop (loop) in prescan_loop() argument
2656 struct loop *loop; local
2675 struct loop *loop; local
3004 mark_loop_jump (x, loop) in mark_loop_jump() argument
3239 loop_invariant_p (loop, x) in loop_invariant_p() argument
[all …]
H A Dunroll.c229 unroll_loop (loop, insn_count, strength_reduce_p) in unroll_loop() argument
1400 precondition_loop_p (loop, initial_value, final_value, increment, mode) in precondition_loop_p() argument
1784 copy_loop_body (loop, copy_start, copy_end, map, exit_label, last_iteration, in copy_loop_body() argument
2374 back_branch_in_range_p (loop, insn) in back_branch_in_range_p() argument
2529 find_splittable_regs (loop, unroll_type, unroll_number) in find_splittable_regs() argument
2688 find_splittable_givs (loop, bl, unroll_type, increment, unroll_number) in find_splittable_givs() argument
2928 reg_dead_after_loop (loop, reg) in reg_dead_after_loop() argument
3004 final_biv_value (loop, bl) in final_biv_value() argument
3078 final_giv_value (loop, v) in final_giv_value() argument
3207 loop_find_equiv_value (loop, reg) in loop_find_equiv_value() argument
[all …]
H A Ddoloop.c255 doloop_valid_p (loop, jump_insn) in doloop_valid_p() argument
405 doloop_modify (loop, iterations, iterations_max, in doloop_modify() argument
545 doloop_modify_runtime (loop, iterations_max, in doloop_modify_runtime() argument
759 doloop_optimize (loop) in doloop_optimize() argument
/openbsd-src/usr.bin/tmux/
H A Dresize.c71 struct client *loop; in ignore_client_size() local
101 struct client *loop; in clients_with_window() local
119 struct client *loop; in clients_calculate_size() local
267 default_window_size_skip_client(struct client * loop,int type,__unused int current,struct session * s,struct window * w) default_window_size_skip_client() argument
344 recalculate_size_skip_client(struct client * loop,__unused int type,int current,__unused struct session * s,struct window * w) recalculate_size_skip_client() argument
[all...]

12345678