Lines Matching refs:counts
262 gomp_doacross_init (unsigned ncounts, long *counts, long chunk_size,
289 if (counts[i] == 0)
295 if (counts[i] == 1)
299 - __builtin_clzl (counts[i] - 1);
313 num_ents = counts[0];
315 num_ents = (counts[0] - 1) / chunk_size + 1;
362 unsigned long q = counts[0] / num_ents;
363 unsigned long t = counts[0] % num_ents;
374 GOMP_doacross_post (long *counts)
392 ent = counts[0];
394 ent = counts[0] / doacross->chunk_size;
401 = (unsigned long) counts[0] << doacross->shift_counts[0];
404 flattened |= (unsigned long) counts[i]
417 if (counts[i] + 1UL != __atomic_load_n (&array[i], MEMMODEL_RELAXED))
418 __atomic_store_n (&array[i], counts[i] + 1UL, MEMMODEL_RELEASE);
512 gomp_doacross_ull_init (unsigned ncounts, gomp_ull *counts,
539 if (counts[i] == 0)
545 if (counts[i] == 1)
549 - __builtin_clzll (counts[i] - 1);
563 num_ents = counts
565 num_ents = (counts[0] - 1) / chunk_size + 1;
618 gomp_ull q = counts[0] / num_ents;
619 gomp_ull t = counts[0] % num_ents;
630 GOMP_doacross_ull_post (gomp_ull *counts)
648 ent = counts[0];
650 ent = counts[0] / doacross->chunk_size_ull;
657 = counts[0] << doacross->shift_counts[0];
660 flattened |= counts[i] << doacross->shift_counts[i];
677 if (counts[i] + 1UL != __atomic_load_n (&array[i], MEMMODEL_RELAXED))
678 __atomic_store_n (&array[i], counts[i] + 1UL, MEMMODEL_RELEASE);
688 gomp_ull cull = counts[i] + 1UL;