Lines Matching refs:loop

325   struct loop *loop;			/* Loop of the reference.  */  member
346 if (!simple_iv (ar_data->loop, ar_data->stmt, *index, &iv, false)) in idx_analyze_ref()
396 analyze_ref (struct loop *loop, tree *ref_p, tree *base, in analyze_ref() argument
425 ar_data.loop = loop; in analyze_ref()
436 gather_memory_references_ref (struct loop *loop, struct mem_ref_group **refs, in gather_memory_references_ref() argument
443 if (!analyze_ref (loop, &ref, &base, &step, &delta, stmt)) in gather_memory_references_ref()
455 gather_memory_references (struct loop *loop) in gather_memory_references() argument
457 basic_block *body = get_loop_body_in_dom_order (loop); in gather_memory_references()
466 for (i = 0; i < loop->num_nodes; i++) in gather_memory_references()
469 if (bb->loop_father != loop) in gather_memory_references()
482 gather_memory_references_ref (loop, &refs, rhs, false, stmt); in gather_memory_references()
484 gather_memory_references_ref (loop, &refs, lhs, true, stmt); in gather_memory_references()
877 should_unroll_loop_p (struct loop *loop, struct tree_niter_desc *desc, in should_unroll_loop_p() argument
880 if (!can_unroll_loop_p (loop, factor, desc)) in should_unroll_loop_p()
888 if (loop->num_nodes > 2) in should_unroll_loop_p()
901 determine_unroll_factor (struct loop *loop, struct mem_ref_group *refs, in determine_unroll_factor() argument
945 if (!should_unroll_loop_p (loop, desc, factor)) in determine_unroll_factor()
956 loop_prefetch_arrays (struct loops *loops, struct loop *loop) in loop_prefetch_arrays() argument
964 refs = gather_memory_references (loop); in loop_prefetch_arrays()
976 ninsns = tree_num_loop_insns (loop); in loop_prefetch_arrays()
978 unroll_factor = determine_unroll_factor (loop, refs, ahead, ninsns, in loop_prefetch_arrays()
998 tree_unroll_loop (loops, loop, unroll_factor, in loop_prefetch_arrays()
999 single_dom_exit (loop), &desc); in loop_prefetch_arrays()
1017 struct loop *loop; in tree_ssa_prefetch_arrays() local
1050 loop = loops->parray[i]; in tree_ssa_prefetch_arrays()
1053 fprintf (dump_file, "Processing loop %d:\n", loop->num); in tree_ssa_prefetch_arrays()
1055 if (loop) in tree_ssa_prefetch_arrays()
1056 unrolled |= loop_prefetch_arrays (loops, loop); in tree_ssa_prefetch_arrays()