Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 25 of 1014) sorted by relevance

12345678910>>...41

/openbsd/gnu/gcc/gcc/
H A Dcfgloop.c127 if (! loop || ! loop->header) in flow_loop_dump()
135 loop->depth, loop->level, in flow_loop_dump()
180 flow_loop_free (struct loop *loop) in flow_loop_free() argument
277 struct loop *loop; in mark_single_exit_loops() local
302 loop = loop->outer) in mark_single_exit_loops()
339 loop->pred = XNEWVEC (struct loop *, loop->depth); in establish_preds()
352 flow_loop_tree_node_add (struct loop *father, struct loop *loop) in flow_loop_tree_node_add() argument
708 struct loop *loop; in flow_loops_find() local
1060 struct loop *loop; in verify_loop_structure() local
1069 for (loop = bb->loop_father; loop; loop = loop->outer) in verify_loop_structure()
[all …]
H A Dcfgloop.h59 struct loop struct
99 struct loop *next; argument
102 struct loop *copy; argument
195 extern void flow_loop_tree_node_add (struct loop *, struct loop *);
199 extern struct loop * find_common_loop (struct loop *, struct loop *);
200 struct loop *superloop_at_depth (struct loop *, unsigned);
242 extern bool can_duplicate_loop_p (struct loop *loop);
251 extern struct loop * duplicate_loop (struct loops *, struct loop *,
258 struct loop * loop_version (struct loops *, struct loop *, void *,
360 extern void free_simple_loop_desc (struct loop *loop);
[all …]
H A Dcfgloopmanip.c385 add_bb_to_loop (loop->header, loop); in add_loop()
420 struct loop *loop = XCNEW (struct loop); in loopify() local
753 struct loop *loop) in update_single_exits_after_duplication() argument
760 for (; loop->outer; loop = loop->outer) in update_single_exits_after_duplication()
1157 loop->header->loop_father = loop; in create_preheader()
1190 struct loop *loop; in force_single_succ_latches() local
1404 struct loop *loop, *ploop; in fix_loop_structure() local
1444 loop = loop->inner; in fix_loop_structure()
1449 loop = loop->outer; in fix_loop_structure()
1453 loop = loop->next; in fix_loop_structure()
[all …]
H A Dtree-ssa-loop-ivcanon.c73 create_canonical_iv (struct loop *loop, edge exit, tree niter) in create_canonical_iv() argument
117 tree_num_loop_insns (struct loop *loop) in tree_num_loop_insns() argument
163 struct loop *loop, in try_unroll_loop_completely() argument
337 struct loop *loop; in canonicalize_induction_variables() local
344 if (loop) in canonicalize_induction_variables()
367 struct loop *loop; in tree_unroll_loops_completely() local
399 empty_loop_p (struct loop *loop) in empty_loop_p() argument
494 remove_empty_loop (struct loop *loop) in remove_empty_loop() argument
548 try_remove_empty_loop (struct loop *loop, bool *changed) in try_remove_empty_loop() argument
571 struct loop *loop; in remove_empty_loops() local
[all …]
H A Dtree-if-conv.c119 static void clean_predicate_lists (struct loop *loop);
143 tree_if_conversion (struct loop *loop, bool for_vectorizer) in tree_if_conversion() argument
507 if (!loop || loop->inner) in if_convertible_loop_p()
612 add_to_dst_predicate_list (struct loop * loop, edge e, in add_to_dst_predicate_list() argument
661 clean_predicate_lists (struct loop *loop) in clean_predicate_lists() argument
683 find_phi_replacement_condition (struct loop *loop, in find_phi_replacement_condition() argument
851 process_phi_nodes (struct loop *loop) in process_phi_nodes() argument
892 combine_blocks (struct loop *loop) in combine_blocks() argument
1056 get_loop_body_in_if_conv_order (const struct loop *loop) in get_loop_body_in_if_conv_order() argument
1110 bb_with_exit_edge_p (struct loop *loop, basic_block bb) in bb_with_exit_edge_p() argument
[all …]
H A Dloop-unroll.c147 struct loop *loop, *next; in unroll_and_peel_loops() local
159 loop = loop->inner; in unroll_and_peel_loops()
214 loop_exit_at_end_p (struct loop *loop) in loop_exit_at_end_p() argument
236 struct loop *loop; in peel_loops_completely() local
253 loop->ninsns = num_loop_insns (loop); in peel_loops_completely()
274 struct loop *loop = loops->tree_root, *next; in decide_unrolling_and_peeling() local
277 loop = loop->inner; in decide_unrolling_and_peeling()
324 loop->ninsns = num_loop_insns (loop); in decide_unrolling_and_peeling()
325 loop->av_ninsns = average_num_loop_insns (loop); in decide_unrolling_and_peeling()
1166 decide_peel_simple (struct loop *loop, int flags) in decide_peel_simple() argument
[all …]
H A Dtree-ssa-loop-unswitch.c76 static struct loop *tree_unswitch_loop (struct loops *, struct loop *, basic_block,
87 struct loop *loop; in tree_ssa_unswitch_loops() local
97 if (!loop) in tree_ssa_unswitch_loops()
100 if (loop->inner) in tree_ssa_unswitch_loops()
115 tree_may_unswitch_on (basic_block bb, struct loop *loop) in tree_may_unswitch_on() argument
151 simplify_using_entry_checks (struct loop *loop, tree cond) in simplify_using_entry_checks() argument
180 tree_unswitch_single_loop (struct loops *loops, struct loop *loop, int num) in tree_unswitch_single_loop() argument
183 struct loop *nloop; in tree_unswitch_single_loop()
197 if (loop->inner) in tree_unswitch_single_loop()
279 static struct loop *
[all …]
H A Dtree-ssa-loop-im.c483 struct loop *loop = bb->loop_father; in determine_max_movement() local
853 struct loop *loop; member
1063 fmt_data.loop = loop; in schedule_sm()
1399 struct loop *loop; in determine_lsm() local
1414 loop = loop->inner; in determine_lsm()
1419 loop = loop->outer; in determine_lsm()
1426 loop = loop->next; in determine_lsm()
1441 struct loop *inn_loop = loop; in fill_always_executed_in()
1494 for (loop = loop->inner; loop; loop = loop->next) in fill_always_executed_in()
1506 struct loop *loop; in tree_ssa_lim_initialize() local
[all …]
H A Dtree-scalar-evolution.c895 set_nb_iterations_in_loop (struct loop *loop, in set_nb_iterations_in_loop() argument
966 get_loop_exit_condition (struct loop *loop) in get_loop_exit_condition() argument
996 get_exit_conditions_rec (struct loop *loop, in get_exit_conditions_rec() argument
1239 struct loop *loop, in follow_ssa_edge_in_condition_phi_branch() argument
2101 struct loop *loop; in loop_closed_phi_def() local
2407 instantiate_parameters (struct loop *loop, in instantiate_parameters() argument
2443 resolve_mixers (struct loop *loop, tree chrec) in resolve_mixers() argument
2472 number_of_iterations_in_loop (struct loop *loop) in number_of_iterations_in_loop() argument
2674 struct loop *loop; in analyze_scalar_evolution_for_all_loop_phi_nodes() local
2771 struct loop *loop; in scev_reset() local
[all …]
H A Dtree-vectorizer.c155 (struct loop *, struct loop *, bool after);
228 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() argument
1067 struct loop*
1229 find_loop_location (struct loop *loop) in find_loop_location() argument
1235 if (!loop) in find_loop_location()
1385 new_loop_vec_info (struct loop *loop) in new_loop_vec_info() argument
1443 struct loop *loop; in destroy_loop_vec_info() local
1643 struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); in vect_is_simple_use() local
2054 struct loop *loop = loops->parray[i]; in vectorize_loops() local
[all …]
H A Dloop-unswitch.c82 static struct loop *unswitch_loop (struct loops *, struct loop *,
143 struct loop *loop; in unswitch_loops() local
152 if (!loop) in unswitch_loops()
155 if (loop->inner) in unswitch_loops()
173 may_unswitch_on (basic_block bb, struct loop *loop, rtx *cinsn) in may_unswitch_on() argument
262 unswitch_single_loop (struct loops *loops, struct loop *loop, in unswitch_single_loop() argument
266 struct loop *nloop; in unswitch_single_loop()
281 if (loop->inner) in unswitch_single_loop()
400 static struct loop *
401 unswitch_loop (struct loops *loops, struct loop *loop, basic_block unswitch_on, in unswitch_loop() argument
[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() argument
101 do_while_loop_p (struct loop *loop) in do_while_loop_p() argument
103 tree stmt = last_stmt (loop->latch); in do_while_loop_p()
111 stmt = last_and_only_stmt (loop->header); in do_while_loop_p()
128 struct loop *loop; in copy_loop_headers() local
153 loop = loops->parray[i]; in copy_loop_headers()
154 if (!loop) in copy_loop_headers()
156 header = loop->header; in copy_loop_headers()
162 if (do_while_loop_p (loop)) in copy_loop_headers()
192 loop->num, exit->src->index, exit->dest->index); in copy_loop_headers()
[all …]
H A Dtree-ssa-loop-niter.c1008 loop_only_exit_p (struct loop *loop, edge exit) in loop_only_exit_p() argument
1177 find_loop_niter (struct loop *loop, edge *exit) in find_loop_niter() argument
1256 chain_of_csts_start (struct loop *loop, tree x) in chain_of_csts_start() argument
1301 get_base_for (struct loop *loop, tree x) in get_base_for() argument
1374 loop_niter_by_eval (struct loop *loop, edge exit) in loop_niter_by_eval() argument
1711 compute_estimated_nb_iterations (struct loop *loop) in compute_estimated_nb_iterations() argument
1738 infer_loop_bounds_from_undefined (struct loop *loop) in infer_loop_bounds_from_undefined() argument
1784 (loop, analyze_scalar_evolution (loop, op0)); in infer_loop_bounds_from_undefined()
1896 struct loop *loop; in estimate_numbers_of_iterations() local
2001 tree at_stmt, struct loop *loop, in scev_probably_wraps_p() argument
[all …]
H A Dtree-ssa-loop-manip.c51 create_iv (tree base, tree step, tree var, struct loop *loop, in create_iv() argument
131 struct loop *def_loop; in add_exit_phis_edge()
482 struct loop *loop_c; in bsi_insert_on_edge_immediate_loop()
505 ip_end_pos (struct loop *loop) in ip_end_pos() argument
507 return loop->latch; in ip_end_pos()
514 ip_normal_pos (struct loop *loop) in ip_normal_pos() argument
547 basic_block bb = ip_normal_pos (loop), latch = ip_end_pos (loop); in standard_iv_increment_position()
592 tree_duplicate_loop_to_header_edge (struct loop *loop, edge e, in tree_duplicate_loop_to_header_edge() argument
640 can_unroll_loop_p (struct loop *loop, unsigned factor, in can_unroll_loop_p() argument
840 tree_unroll_loop (struct loops *loops, struct loop *loop, unsigned factor, in tree_unroll_loop() argument
[all …]
H A Dloop-invariant.c529 find_exits (struct loop *loop, basic_block *body, in find_exits() argument
535 struct loop *outermost_exit = loop, *aexit; in find_exits()
611 find_defs (struct loop *loop, basic_block *body) in find_defs() argument
873 find_invariants (struct loop *loop) in find_invariants() argument
1236 move_invariants (struct loop *loop) in move_invariants() argument
1307 free_loop_data (struct loop *loop) in free_loop_data() argument
1320 struct loop *loop; in move_loop_invariants() local
1329 loop = loop->inner; in move_loop_invariants()
1337 loop = loop->next; in move_loop_invariants()
1339 loop = loop->inner; in move_loop_invariants()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dcfgloop.c186 struct loop *loop; in flow_loop_free()
241 struct loop *loop; in flow_loop_entry_edges_find()
272 struct loop *loop; in flow_loop_exit_edges_find()
329 struct loop *loop;
380 struct loop *loop; in flow_loop_pre_header_scan()
454 struct loop *loop;
470 struct loop *loop; in flow_loop_tree_node_remove()
496 struct loop *loop; in flow_loop_level_compute()
880 struct loop *loop; local
1089 struct loop *loop; local
[all …]
H A Dloop.c614 struct loop *loop; in scan_loop()
1807 struct loop *loop;
2468 struct loop *loop; in prescan_loop()
2656 struct loop *loop; local
2657 for (loop = uid_loop[INSN_UID (label)]; loop; loop = loop->outer)
2675 struct loop *loop; local
2730 for (loop = current_loop; loop; loop = loop->outer)
3006 struct loop *loop;
3803 struct loop *loop; in emit_prefetch_instructions()
9766 for (insn = loop->top ? loop->top : loop->start; insn != loop->end;
[all …]
H A Ddoloop.c255 doloop_valid_p (loop, jump_insn) in doloop_valid_p() argument
256 const struct loop *loop; in doloop_valid_p()
407 const struct loop *loop; in doloop_modify()
437 emit_label_after (start_label, loop->top ? loop->top : loop->start);
507 GEN_INT (loop->level));
547 const struct loop *loop; in doloop_modify_runtime()
651 if (loop->scan_start)
711 if (! loop->vtop)
759 doloop_optimize (loop) in doloop_optimize() argument
760 const struct loop *loop; in doloop_optimize()
[all …]
H A Dloop.h394 extern struct loop **uid_loop;
400 int loop_invariant_p PARAMS ((const struct loop *, rtx));
401 rtx get_condition_for_loop PARAMS ((const struct loop *, rtx));
410 void unroll_loop PARAMS ((struct loop *, int, int));
412 unsigned HOST_WIDE_INT loop_iterations PARAMS ((struct loop *));
413 int precondition_loop_p PARAMS ((const struct loop *,
419 int back_branch_in_range_p PARAMS ((const struct loop *, rtx));
424 rtx loop_insn_emit_before PARAMS((const struct loop *, basic_block,
426 rtx loop_insn_sink PARAMS((const struct loop *, rtx));
427 rtx loop_insn_hoist PARAMS((const struct loop *, rtx));
[all …]
/openbsd/gnu/llvm/llvm/docs/
H A DTransformMetadata.rst69 different loop or the loop not existing anymore. To avoid having to
90 ``llvm.loop.vectorize.enable`` and ``llvm.loop.unroll.enable`` are
106 all attributes from the original loop excluding its loop vectorizer
158 the vectorized loop. If not specified, ``llvm.loop.isvectorized`` is
174 ``llvm.loop.vectorize.followup_all`` which avoids that the loop
186 If the loop has been unrolled fully, there is no followup-loop. For
214 remainder loop. If not specified the remainder loop will have no
271 ``llvm.loop.unroll_and_jam.followup_remainder_outer`` sets the loop
276 ``llvm.loop.unroll_and_jam.followup_remainder_inner`` sets the loop
295 loop non-vectorizable). Conceptually, it transforms a loop such as
[all …]
H A DLoopTerminology.rst48 dominates the loop without itself being part of the loop.
96 be a subset of another loop with a different loop header. The loop
201 loop, i.e. a loop can be infinite. A **statically infinite loop** is a
239 (also see :ref:`loop-terminology-loop-rotate`), loop trip count is not
305 this loop.
376 :ref:`-loop-unswitch <passes-loop-unswitch>` ing the loop above.
378 the loop will be used either only inside the loop or in a loop closing
406 if a loop is in LCSSA form, in any loop transformation,
573 .. image:: ./loop-terminology-initial-loop.png
600 .. image:: ./loop-terminology-rotated-loop.png
[all …]
/openbsd/regress/usr.bin/sed/
H A Dmath.sed35 : loop
40 b loop
44 b loop
53 b loop
58 b loop
63 b loop
67 b loop
71 b loop
75 b loop
79 b loop
[all …]
/openbsd/usr.bin/tmux/
H A Dresize.c71 struct client *loop; in ignore_client_size() local
101 struct client *loop; in clients_with_window() local
105 if (ignore_client_size(loop) || !session_has(loop->session, w)) in clients_with_window()
119 struct client *loop; in clients_calculate_size() local
153 if (loop != c && ignore_client_size(loop)) { in clients_calculate_size()
157 if (loop != c && skip_client(loop, type, current, s, w)) { in clients_calculate_size()
186 cx = loop->tty.sx; in clients_calculate_size()
187 cy = loop->tty.sy - status_line_size(loop); in clients_calculate_size()
205 if (loop->tty.xpixel > *xpixel && loop->tty.ypixel > *ypixel) { in clients_calculate_size()
224 if (loop != c && ignore_client_size(loop)) in clients_calculate_size()
[all …]
/openbsd/gnu/gcc/gcc/config/mt/
H A Dmt.c1746 if (loop->predecessor == loop->tail) in mt_loop_nesting()
1925 loop->init = loop->end_label = NULL_RTX; in mt_reorg_loops()
1926 loop->loop_init = loop->loop_end = NULL_RTX; in mt_reorg_loops()
1930 work->loop = loop; in mt_reorg_loops()
1960 loop = work->loop; in mt_reorg_loops()
1986 work->loop = loop; in mt_reorg_loops()
2003 work->loop = loop; in mt_reorg_loops()
2011 for (loop = loops; loop; loop = loop->next) in mt_reorg_loops()
2079 if (mt_scan_loop (loop, iter_reg, loop->dbnz)) in mt_reorg_loops()
2116 for (loop = loops; loop; loop = loop->next) in mt_reorg_loops()
[all …]
/openbsd/games/phantasia/
H A Dio.c248 int loop; /* counter */ in interrupt() local
257 for (loop = 0; loop < 80; ++loop) { /* save line on screen */ in interrupt()
258 move(4, loop); in interrupt()
259 line[loop] = inch(); in interrupt()
320 volatile int loop; /* counter */ in getanswer() local
326 for (loop = 3; loop; --loop) in getanswer()
332 if (def || loop <= 1) in getanswer()
356 ++loop; in getanswer()
361 ++loop; /* don't count this input */ in getanswer()
374 else if (!def && loop > 1) { in getanswer()

12345678910>>...41