/haiku-buildtools/gcc/gcc/ |
H A D | cfgloopmanip.h | 38 extern void place_new_loop (struct function *, struct loop *); 39 extern void add_loop (struct loop *, struct loop *); 40 extern void scale_loop_frequencies (struct loop *, int, int); 41 extern void scale_loop_profile (struct loop *, int, gcov_type); 43 extern struct loop *create_empty_loop_on_edge (edge, tree, tree, tree, tree, 44 tree *, tree *, struct loop *); 45 extern struct loop *loopify (edge, edge, 48 extern void unloop (struct loop *, bool *, bitmap); 49 extern void copy_loop_info (struct loop *loo [all...] |
H A D | tree-ssa-loop-niter.h | 1 /* Header file for loop interation estimates. 24 extern bool loop_only_exit_p (const struct loop *, const_edge); 25 extern bool number_of_iterations_exit (struct loop *, edge, 28 extern tree find_loop_niter (struct loop *, edge *); 29 extern bool finite_loop_p (struct loop *); 30 extern tree loop_niter_by_eval (struct loop *, edge); 31 extern tree find_loop_niter_by_eval (struct loop *, edge *); 32 extern bool estimated_loop_iterations (struct loop *, widest_int *); 33 extern HOST_WIDE_INT estimated_loop_iterations_int (struct loop *); 34 extern bool max_loop_iterations (struct loop *, widest_in [all...] |
H A D | tree-ssa-loop-manip.h | 1 /* Header file for High-level loop manipulation functions. 23 typedef void (*transform_callback)(struct loop *, void *); 25 extern void create_iv (tree, tree, tree, struct loop *, gimple_stmt_iterator *, 30 extern basic_block ip_end_pos (struct loop *); 31 extern basic_block ip_normal_pos (struct loop *); 32 extern void standard_iv_increment_position (struct loop *, 34 extern bool gimple_duplicate_loop_to_header_edge (struct loop *, edge, 38 extern bool can_unroll_loop_p (struct loop *loop, unsigned factor, 40 extern void tree_transform_and_unroll_loop (struct loop *, unsigne [all...] |
H A D | tree-scalar-evolution.h | 24 extern tree number_of_latch_executions (struct loop *); 25 extern gcond *get_loop_exit_condition (const struct loop *); 32 extern tree analyze_scalar_evolution (struct loop *, tree); 33 extern tree instantiate_scev (basic_block, struct loop *, tree); 34 extern tree resolve_mixers (struct loop *, tree); 38 extern bool simple_iv (struct loop *, struct loop *, tree, struct affine_iv *, 40 extern tree compute_overall_effect_of_inner_loop (struct loop *, tree); 43 the loop is function's body. */ 46 block_before_loop (loop_p loop) argument 57 instantiate_parameters(struct loop *loop, tree chrec) argument [all...] |
H A D | hw-doloop.c | 72 hwloop_info loop; local 74 for (loop = loops; loop; loop = loop->next) 80 fprintf (dump_file, ";; loop %d: ", loop->loop_no); 81 if (loop->bad) 84 loop->head == NULL ? -1 : loop 102 bb_in_loop_p(hwloop_info loop, basic_block bb) argument 110 scan_loop(hwloop_info loop) argument 190 process_incoming_edges(hwloop_info loop) argument 225 add_forwarder_blocks(hwloop_info loop) argument 262 discover_loop(hwloop_info loop, basic_block tail_bb, rtx_insn *tail_insn, rtx reg) argument 380 hwloop_info loop; local 492 hwloop_info loop = loops; local 526 hwloop_info loop; local 585 optimize_loop(hwloop_info loop, struct hw_doloop_hooks *hooks) argument 653 hwloop_info loop; local [all...] |
H A D | cfgloop.c | 1 /* Natural loop discovery code for GNU compiler. 56 /* Dump loop related CFG information. */ 81 flow_loop_nested_p (const struct loop *outer, const struct loop *loop) 85 return (loop_depth (loop) > odepth 86 && (*loop->superloops)[odepth] == outer); 89 /* Returns the loop such that LOOP is nested DEPTH (indexed from zero) 92 struct loop * argument 93 superloop_at_depth (struct loop *loo 80 flow_loop_nested_p(const struct loop *outer, const struct loop *loop) argument 107 get_loop_latch_edges(const struct loop *loop) argument 126 flow_loop_dump(const struct loop *loop, FILE *file, void (*loop_dump_aux) (const struct loop *, FILE *, int), int verbose) argument 174 struct loop *loop; local 193 flow_loop_free(struct loop *loop) argument 222 loop_p loop; local 241 flow_loop_nodes_find(basic_block header, struct loop *loop) argument 290 establish_preds(struct loop *loop, struct loop *father) argument 311 flow_loop_tree_node_add(struct loop *father, struct loop *loop) argument 322 flow_loop_tree_node_remove(struct loop *loop) argument 346 struct loop *loop = ggc_cleared_alloc<struct loop> (); local 458 struct loop *loop; local 501 struct loop *loop = larray[i]; local 641 find_subloop_latch_edge(struct loop *loop) argument 675 form_subloop(struct loop *loop, edge latch) argument 705 merge_latch_edges(struct loop *loop) argument 738 disambiguate_multiple_latches(struct loop *loop) argument 782 struct loop *loop; local 793 flow_bb_inside_loop_p(const struct loop *loop, const_basic_block bb) argument 809 const struct loop *const loop = (const struct loop *) glb_loop; local 822 get_loop_body_with_size(const struct loop *loop, basic_block *body, unsigned max_size) argument 834 get_loop_body(const struct loop *loop) argument 864 fill_sons_in_loop(const struct loop *loop, basic_block bb, basic_block *tovisit, int *tv) argument 894 get_loop_body_in_dom_order(const struct loop *loop) argument 916 get_loop_body_in_custom_order(const struct loop *loop, int (*bb_comparator) (const void *, const void *)) argument 929 get_loop_body_in_bfs_order(const struct loop *loop) argument 1143 get_loop_exit_edges(const struct loop *loop) argument 1179 num_loop_branches(const struct loop *loop) argument 1198 add_bb_to_loop(basic_block bb, struct loop *loop) argument 1226 struct loop *loop = bb->loop_father; local 1275 delete_loop(struct loop *loop) argument 1290 cancel_loop(struct loop *loop) argument 1309 cancel_loop_tree(struct loop *loop) argument 1330 struct loop *loop; local 1660 loop_latch_edge(const struct loop *loop) argument 1667 loop_preheader_edge(const struct loop *loop) argument 1684 loop_exit_edge_p(const struct loop *loop, const_edge e) argument 1695 single_exit(const struct loop *loop) argument 1711 loop_exits_to_bb_p(struct loop *loop, basic_block bb) argument 1726 loop_exits_from_bb_p(struct loop *loop, basic_block bb) argument 1741 get_loop_location(struct loop *loop) argument 1795 record_niter_bound(struct loop *loop, const widest_int &i_bound, bool realistic, bool upper) argument 1829 get_estimated_loop_iterations_int(struct loop *loop) argument 1849 max_stmt_executions_int(struct loop *loop) argument 1868 get_estimated_loop_iterations(struct loop *loop, widest_int *nit) argument 1892 get_max_loop_iterations(struct loop *loop, widest_int *nit) argument 1906 get_max_loop_iterations_int(struct loop *loop) argument 1932 mark_loop_for_removal(loop_p loop) argument [all...] |
H A D | cfgloop.h | 1 /* Natural loop functions 59 /* The structure describing a bound on number of iterations of a loop. */ 74 /* True if the statement will cause the loop to be leaved the (at most) 83 /* Description of the loop exit. */ 89 /* Previous and next exit in the list of the exits of the loop. */ 106 typedef struct loop *loop_p; 119 /* Structure to hold information for each natural loop. */ 120 struct GTY ((chain_next ("%h.next"))) loop { 124 /* Number of loop insns. */ 127 /* Basic block of loop heade 422 simple_loop_desc(struct loop *loop) argument 440 loop_depth(const struct loop *loop) argument 449 loop_outer(const struct loop *loop) argument 462 loop_has_exit_edges(const struct loop *loop) argument 555 loop_p loop = get_loop (cfun, anum); local 564 loop_iterator(loop_p *loop, unsigned flags) argument 710 loop_outermost(struct loop *loop) argument [all...] |
H A D | tree-ssa-loop-ivopts.h | 23 extern edge single_dom_exit (struct loop *); 29 extern struct loop *outermost_invariant_loop_for_expr (struct loop *, tree); 30 extern bool expr_invariant_in_loop_p (struct loop *, tree);
|
H A D | tree-ssa-loop-unswitch.c | 53 #include "tree-ssa-loop-niter.h" 54 #include "tree-ssa-loop.h" 61 /* This file implements the loop unswitching, i.e. transformation of loops like 74 where inv is the loop invariant, into 94 tree-ssa-loop-im.c ensures that all the suitable conditions are in this 97 static struct loop *tree_unswitch_loop (struct loop *, basic_block, tree); 98 static bool tree_unswitch_single_loop (struct loop *, int); 99 static tree tree_may_unswitch_on (basic_block, struct loop *); 101 /* Main entry point. Perform loop unswitchin 106 struct loop *loop; local 155 tree_may_unswitch_on(basic_block bb, struct loop *loop) argument 196 simplify_using_entry_checks(struct loop *loop, tree cond) argument 229 tree_unswitch_single_loop(struct loop *loop, int num) argument 406 tree_unswitch_loop(struct loop *loop, basic_block unswitch_on, tree cond) argument [all...] |
H A D | cfgloopmanip.c | 49 #include "tree-ssa-loop-manip.h" 52 static void copy_loops_to (struct loop **, int, 53 struct loop *); 58 static void fix_loop_placements (struct loop *, bool *); 97 /* Fix placement of basic block BB inside loop hierarchy -- 98 Let L be a loop to that BB belongs. Then every successor of BB must either 99 1) belong to some superloop of loop L, or 100 2) be a header of loop K such that K->outer is superloop of L 101 Returns true if we had to move BB into other loop to enforce this condition, 109 struct loop *loo local 142 fix_loop_placement(struct loop *loop, bool *irred_invalidated) argument 449 place_new_loop(struct function *fn, struct loop *loop) argument 460 add_loop(struct loop *loop, struct loop *outer) argument 512 scale_loop_frequencies(struct loop *loop, int num, int den) argument 526 scale_loop_profile(struct loop *loop, int scale, gcov_type iteration_bound) argument 633 update_dominators_in_loop(struct loop *loop) argument 790 struct loop *loop; local 884 struct loop *loop = alloc_loop (); local 951 unloop(struct loop *loop, bool *irred_invalidated, bitmap loop_closed_ssa_invalidated) argument 1006 fix_loop_placements(struct loop *loop, bool *irred_invalidated) argument 1031 copy_loop_info(struct loop *loop, struct loop *target) argument 1046 duplicate_loop(struct loop *loop, struct loop *target) argument 1066 duplicate_subloops(struct loop *loop, struct loop *target) argument 1104 can_duplicate_loop_p(const struct loop *loop) argument 1162 duplicate_loop_to_header_edge(struct loop *loop, edge e, unsigned int ndupl, sbitmap wont_exit, edge orig, vec<edge> *to_remove, int flags) argument 1497 has_preds_from_loop(basic_block block, struct loop *loop) argument 1517 create_preheader(struct loop *loop, int flags) argument 1610 struct loop *loop; local 1625 struct loop *loop; local 1709 loop_version(struct loop *loop, void *cond_expr, basic_block *condition_bb, unsigned then_prob, unsigned then_scale, unsigned else_scale, bool place_after) argument [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | pr26425.c | 6 int loop; local 7 for (loop = a - 1; loop >= 0; loop--) 8 key_put(keyring->keys[loop]);
|
/haiku-buildtools/binutils/gas/testsuite/gas/tic6x/ |
H A D | sploop-bad-4.l | 2 [^:]*:6: Error: nested software pipelined loop 3 [^:]*:10: Error: nested software pipelined loop 4 [^:]*:13: Error: nested software pipelined loop
|
H A D | sploop-bad-3.l | 2 [^:]*:5: Error: 'spkernel' instruction not in a software pipelined loop 3 [^:]*:6: Error: 'spkernel' instruction not in a software pipelined loop 4 [^:]*:7: Error: 'spkernelr' instruction not in a software pipelined loop
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.misc-tests/ |
H A D | gcov-10b.c | 10 ix = 10; goto test; loop: ; if (ix & 1) jx++; test: ; if (ix--) goto loop; /* count(11) */
|
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/goacc/ |
H A D | loop-1.c | 10 #pragma acc loop 17 #pragma acc loop 24 #pragma acc loop 30 #pragma acc loop 35 #pragma acc loop 41 #pragma acc loop 45 /* different types of for loop are allowed */ 46 #pragma acc loop 50 #pragma acc loop 56 /* after loop directiv [all...] |
H A D | sb-3.c | 6 #pragma acc loop 10 #pragma acc loop // { dg-error "work-sharing region may not be closely nested inside of work-sharing, critical, ordered, master or explicit task region" }
|
H A D | collapse-1.c | 10 #pragma acc loop collapse (2) 23 #pragma acc loop collapse (2) 40 #pragma acc loop collapse (2) 58 #pragma acc loop collapse (2) 73 #pragma acc loop collapse (2) 88 #pragma acc loop collapse (2)
|
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/goacc/ |
H A D | loop-2.f95 | 11 !$acc loop auto 14 !$acc loop gang 17 !$acc loop gang(5) 20 !$acc loop gang(num:5) 23 !$acc loop gang(static:5) 26 !$acc loop gang(static:*) 29 !$acc loop gang 31 !$acc loop vector 34 !$acc loop worker 37 !$acc loop gan [all...] |
H A D | loop-1.f95 | 13 !$acc loop 14 do 100 ! { dg-error "cannot be a DO WHILE or DO without loop control" } 18 !$acc loop 19 do ! { dg-error "cannot be a DO WHILE or DO without loop control" } 24 !$acc loop 25 do 200 while (i .lt. 4) ! { dg-error "cannot be a DO WHILE or DO without loop control" } 27 !$acc loop 28 do while (i .lt. 8) ! { dg-error "cannot be a DO WHILE or DO without loop control" } 31 !$acc loop 35 !$acc loop [all...] |
/haiku-buildtools/binutils/gas/testsuite/gas/bfin/ |
H A D | loop.d | 2 #name: loop
|
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/goacc-gomp/ |
H A D | nesting-1.c | 8 #pragma acc loop
|
/haiku-buildtools/binutils/gas/testsuite/gas/tic54x/ |
H A D | loop.s | 1 * Test loop directive handling 2 * .loop [well-defined expression] 9 COEF .loop 10
|
/haiku-buildtools/legacy/binutils/gas/testsuite/gas/tic54x/ |
H A D | loop.s | 1 * Test loop directive handling 2 * .loop [well-defined expression] 9 COEF .loop 10
|
/haiku-buildtools/cloog/source/ |
H A D | loop.c | 5 ** loop.c ** 86 * Displays a loop structure in a way that trends to be understandable without 96 void cloog_loop_print_structure(FILE * file, CloogLoop * loop, int level) argument 99 if (loop) 107 /* For each loop. */ 108 while (loop) 125 cloog_domain_print_structure(file, loop->domain, level+1, "CloogDomain"); 130 if (loop->stride) { 132 cloog_int_print(file, loop->stride->stride); 135 cloog_int_print(file, loop 187 cloog_loop_print(FILE * file, CloogLoop * loop) argument 203 cloog_loop_free(CloogLoop * loop) argument 274 CloogLoop * loop ; local 338 { CloogLoop * loop ; local 374 { CloogLoop * loop ; local 397 cloog_loop_add(CloogLoop ** start, CloogLoop ** now, CloogLoop * loop) argument 418 cloog_loop_add_list(CloogLoop ** start, CloogLoop ** now, CloogLoop * loop) argument 442 { CloogLoop * loop ; local 548 cloog_loop_disjoint(CloogLoop * loop) argument 576 cloog_loop_restrict(CloogLoop *loop, CloogDomain *context) argument 608 cloog_loop_restrict_all(CloogLoop *loop, CloogDomain *context) argument 637 cloog_loop_restrict_inner(CloogLoop *loop) argument 671 cloog_loop_project(CloogLoop * loop, int level) argument 695 cloog_loop_project_all(CloogLoop *loop, int level) argument 720 { CloogLoop * loop, * temp ; local 742 cloog_loop_combine(CloogLoop *loop) argument 763 cloog_loop_remove_empty_domain_loops(CloogLoop *loop) argument 792 cloog_loop_specialize(CloogLoop *loop, int level, int scalar, int *scaldims, int nb_scattdims) argument 826 cloog_loop_propagate_lower_bound(CloogLoop *loop, int level) argument 867 cloog_loop_separate(CloogLoop * loop) argument 996 cloog_loop_merge(CloogLoop *loop, int level, CloogOptions *options) argument 1070 cloog_loop_count(CloogLoop *loop) argument 1088 cloog_loop_sort(CloogLoop *loop, int level) argument 1149 cloog_loop_nest(CloogLoop *loop, CloogDomain *context, int level) argument 1201 cloog_loop_variable_offset_stride(CloogLoop *loop, int level) argument 1255 cloog_loop_stride(CloogLoop * loop, int level) argument 1325 cloog_loop_otl(CloogLoop *loop, int level) argument 1343 cloog_loop_stop(CloogLoop * loop, CloogDomain * context) argument 1497 cloog_loop_generate_backtrack(CloogLoop *loop, int level, CloogOptions *options) argument 1552 cloog_loop_more(CloogLoop *loop, int level, int scalar, int nb_scattdims) argument 1566 cloog_loop_is_constant(CloogLoop *loop, int level) argument 1597 cloog_loop_constant(CloogLoop *loop, int level) argument 1628 loop_unroll(CloogLoop *loop, int level) argument 1675 cloog_loop_unroll(CloogLoop *loop, int level) argument 1715 loop_recurse(CloogLoop *loop, int level, int scalar, int *scaldims, int nb_scattdims, int constant, CloogOptions *options) argument 1781 cloog_loop_recurse(CloogLoop *loop, int level, int scalar, int *scaldims, int nb_scattdims, int constant, CloogOptions *options) argument 1828 cloog_loop_get_fl(CloogLoop *loop, int *f, int *l, CloogOptions *options) argument 1870 cloog_loop_generate_general(CloogLoop *loop, int level, int scalar, int *scaldims, int nb_scattdims, CloogOptions *options) argument 1980 cloog_loop_generate_scalar(CloogLoop *loop, int level, int scalar, int *scaldims, int nb_scattdims, CloogOptions *options) argument 2034 cloog_loop_next_scal_cmp(CloogLoop *loop) argument 2109 cloog_loop_block(CloogLoop *loop, int *scaldims, int nb_scattdims) argument 2403 cloog_loop_generate_components(CloogLoop *loop, int level, int scalar, int *scaldims, int nb_scattdims, CloogOptions *options) argument 2460 cloog_loop_decompose_inner(CloogLoop *loop, int level, int scalar, int *scaldims, int nb_scattdims) argument 2521 cloog_loop_generate_restricted(CloogLoop *loop, int level, int scalar, int *scaldims, int nb_scattdims, CloogOptions *options) argument 2543 cloog_loop_generate_restricted_or_stop(CloogLoop *loop, CloogDomain *context, int level, int scalar, int *scaldims, int nb_scattdims, CloogOptions *options) argument 2583 cloog_loop_generate(CloogLoop *loop, CloogDomain *context, int level, int scalar, int *scaldims, int nb_scattdims, CloogOptions *options) argument 2602 loop_simplify(CloogLoop *loop, CloogDomain *context, int level, int nb_scattdims, CloogOptions *options) argument 2676 cloog_loop_simplify(CloogLoop *loop, CloogDomain *context, int level, int nb_scattdims, CloogOptions *options) argument 2718 cloog_loop_scatter(CloogLoop * loop, CloogScattering *scatt) argument [all...] |
/haiku-buildtools/binutils/gas/testsuite/gas/mt/ |
H A D | ms2.s | 3 loop R1, label
|