Lines Matching refs:ahead
84 3) We determine how much ahead we need to prefetch. The number of
749 AHEAD is the number of iterations to prefetch ahead (which corresponds
756 unsigned ahead)
762 max_prefetches = (SIMULTANEOUS_PREFETCHES * unroll_factor) / ahead;
816 HEAD is the number of iterations to prefetch ahead. UNROLL_FACTOR
820 issue_prefetch_ref (struct mem_ref *ref, unsigned unroll_factor, unsigned ahead)
840 delta = (ahead + ap * ref->prefetch_mod) * ref->group->step;
857 HEAD is the number of iterations to prefetch ahead. UNROLL_FACTOR is the
862 unsigned unroll_factor, unsigned ahead)
869 issue_prefetch_ref (ref, unroll_factor, ahead);
897 of iterations ahead that we need to prefetch. NINSNS is number of
902 unsigned ahead, unsigned ninsns,
931 /* If ahead is too large in comparison with the number of available
934 ahead_factor = ((ahead + SIMULTANEOUS_PREFETCHES - 1)
959 unsigned ahead, ninsns, unroll_factor;
972 /* Step 3: determine the ahead and unroll factor. */
977 ahead = (PREFETCH_LATENCY + ninsns - 1) / ninsns;
978 unroll_factor = determine_unroll_factor (loop, refs, ahead, ninsns,
981 fprintf (dump_file, "Ahead %d, unroll factor %d\n", ahead, unroll_factor);
991 if (!schedule_prefetches (refs, unroll_factor, ahead))
1004 issue_prefetches (refs, unroll_factor, ahead);