Home
last modified time | relevance | path

Searched refs:loop_info (Results 1 – 13 of 13) sorted by relevance

/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Ddoloop.c62 PARAMS ((const struct loop_info *, enum machine_mode, int));
146 doloop_iterations_max (loop_info, mode, nonneg) in doloop_iterations_max() argument
147 const struct loop_info *loop_info; in doloop_iterations_max()
159 abs_inc = INTVAL (loop_info->increment);
168 code = swap_condition (loop_info->comparison_code);
169 min_value = loop_info->final_equiv_value;
170 max_value = loop_info->initial_equiv_value;
174 code = loop_info->comparison_code;
175 min_value = loop_info->initial_equiv_value;
176 max_value = loop_info->final_equiv_value;
[all …]
H A Dunroll.c234 struct loop_info *loop_info = LOOP_INFO (loop); local
282 loop_info->n_iterations = 0;
284 if (loop_dump_stream && loop_info->n_iterations > 0)
288 loop_info->n_iterations);
299 if (loop_info->n_iterations == 1)
353 if (loop_info->n_iterations > 0
355 && loop_info->n_iterations < (unsigned) MAX_UNROLLED_INSNS
356 && loop_info->n_iterations * insn_count < (unsigned) MAX_UNROLLED_INSNS)
358 unroll_number = loop_info->n_iterations;
361 else if (loop_info->n_iterations > 0)
[all …]
H A Dloop.c303 struct loop_info *));
458 struct loop_info *loops_info;
502 loops_info = xcalloc (loops->num, sizeof (struct loop_info));
617 struct loop_info *loop_info = LOOP_INFO (loop); local
690 threshold = (loop_info->has_call ? 1 : 2) * (1 + n_non_fixed_regs);
737 loop_regs_scan (loop, loop_info->mems_idx + 16);
898 if (loop_info->has_call
2472 struct loop_info *loop_info = LOOP_INFO (loop); local
2481 loop_info->has_indirect_jump = indirect_jump_in_function;
2482 loop_info->pre_header_has_call = 0;
[all …]
H A Dloop.h34 #define LOOP_INFO(LOOP) ((struct loop_info *) (LOOP)->aux)
303 struct loop_info struct
H A DChangeLog.17632 * loop.h (loop_info): New field 'vtop'.
7633 * loop.c (check_dbra_loop): Use loop_info->vtop rather than
7637 number of iterations. Set loop_info->vtop. Don't subtract
8179 in the loop_info structure.
8200 * loop.c (check_dbra_loop): New argument loop_info. Update fields
8696 * loop.h (struct loop_info): Define new structure.
8698 (unroll_loop): Added new argument loop_info to prototype.
8702 and new pointer loop_info.
8704 loop_info structure.
8706 (insert_bct): New argument loop_info.
[all …]
H A DChangeLog.29760 (prescan_loop, strength_reduce): New argument loop_info. All callers
9762 (scan_loop): New variable loop_info, initialize to address of
9764 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
9769 loop_info with function argument of same name.
9772 * loop.h (struct loop_info): New fields num, loops_enclosed,
9778 field of loop_info.
9780 loop_info->vtop computed in prescan_loop.
H A DChangeLog.48815 (struct loop_info): Add ivs field.
8831 (struct loop_info): Add regs field.
8833 in loop_regs structure as part of loop_info structure.
8843 * loop.h (loop_info): New field iv.
9086 (struct loop_info): Add fields store_mems, mems, mems_idx,
9091 * loop.c (loop_store_mems): Replace with field in loop_info struct.
H A DChangeLog.314718 (precondition_loop_p): Delete loop_start and loop_info arguments;
14722 (precondition_loop_p): Delete loop_start and loop_info arguments;
15228 * loop.c (loop_optimize): Allocate loop_info structure for each loop
15244 (loop_optimize): Allocate loop_info structure for each loop
15555 loop_info structure.
15565 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
H A DChangeLog.513954 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
13955 Use it instead of loop_info->has_call for scanning loop mems.
13956 (check_dbra_loop): Replace loop_info->has_call test with
13957 loop_info->has_nonconst_call.
H A DChangeLog1065 field in loop_info.
11704 * loop.c: Set loop_info->preconditioned from it.
11705 * doloop.c: Permit doloop treatment when loop_info->preconditoned.
18615 * loop.h (struct loop_info): Add "preconditioned".
H A DChangeLog.77152 * loop.h (struct loop_info): Add member has_prefetch.
/openbsd-src/gnu/gcc/gcc/config/mt/
H A Dmt.c1658 typedef struct loop_info *loop_info; typedef
1659 DEF_VEC_P (loop_info);
1660 DEF_VEC_ALLOC_P (loop_info,heap);
1664 struct loop_info GTY (())
1706 struct loop_info *next;
1713 VEC (loop_info,heap) *loops;
1723 loop_info loop;
1734 mt_loop_nesting (loop_info loop) in mt_loop_nesting()
1736 loop_info inner; in mt_loop_nesting()
1761 for (ix = 0; VEC_iterate (loop_info, loop->loops, ix++, inner);) in mt_loop_nesting()
[all …]
/openbsd-src/gnu/gcc/gcc/config/bfin/
H A Dbfin.c2750 typedef struct loop_info *loop_info; typedef
2751 DEF_VEC_P (loop_info);
2752 DEF_VEC_ALLOC_P (loop_info,heap);
2756 struct loop_info GTY (())
2816 struct loop_info *next;
2819 struct loop_info *outer;
2829 VEC (loop_info,heap) *loops;
2833 bfin_dump_loops (loop_info loops) in bfin_dump_loops()
2835 loop_info loop; in bfin_dump_loops()
2839 loop_info i; in bfin_dump_loops()
[all …]