| /src/external/gpl3/gcc/dist/libgomp/ |
| barrier.c | 35 struct gomp_team *team = thr->ts.team; local 38 if (team == NULL) 41 gomp_team_barrier_wait (&team->barrier); 48 struct gomp_team *team = thr->ts.team; local 53 return gomp_team_barrier_wait_cancel (&team->barrier);
|
| single.c | 40 struct gomp_team *team = thr->ts.team; local 43 if (__builtin_expect (team == NULL, 0)) 47 return __sync_bool_compare_and_swap (&team->single_count, single_count, 80 gomp_team_barrier_wait (&thr->ts.team->barrier); 96 struct gomp_team *team = thr->ts.team; local 98 if (team != NULL) 101 gomp_team_barrier_wait (&team->barrier);
|
| work.c | 26 /* This file contains routines to manage the work-share queue for a team 35 /* Allocate a new work share structure, preferably from current team's 39 alloc_work_share (struct gomp_team *team) 45 if (team->work_share_list_alloc != NULL) 47 ws = team->work_share_list_alloc; 48 team->work_share_list_alloc = ws->next_free; 53 ws = team->work_share_list_free; 62 team->work_share_list_alloc = next->next_free; 66 gomp_mutex_lock (&team->work_share_list_free_lock); 67 ws = team->work_share_list_free 190 struct gomp_team *team = thr->ts.team; local 232 struct gomp_team *team = thr->ts.team; local 265 struct gomp_team *team = thr->ts.team; local 291 struct gomp_team *team = thr->ts.team; local [all...] |
| team.c | 26 /* This file handles the maintenance of threads in response to team 67 loop in which a thread waits to be called up to become part of a team. */ 102 thr->ts.team->ordered_release[thr->ts.team_id] = &thr->release; 109 struct gomp_team *team = thr->ts.team; local 112 gomp_barrier_wait (&team->barrier); 115 gomp_team_barrier_wait_final (&team->barrier); 117 gomp_barrier_wait_last (&team->barrier); 126 struct gomp_team *team = thr->ts.team; local 172 struct gomp_team *team; local 951 struct gomp_team *team = thr->ts.team; local [all...] |
| parallel.c | 91 in the contention group. If thr->team is NULL, this isn't 95 if (thr->ts.team == NULL || pool == NULL) 144 struct gomp_team *team = thr->ts.team; local 145 unsigned int nthreads = team ? team->nthreads : 1; 151 if (thr->ts.team == NULL) 206 struct gomp_team *team = thr->ts.team; local 209 if (team == NULL 244 struct gomp_team *team = thr->ts.team; local 279 struct gomp_team *team = gomp_thread ()->ts.team; local [all...] |
| task.c | 476 then the task may be executed by any member of the team. 498 struct gomp_team *team = thr->ts.team; local 512 if (__builtin_expect (gomp_cancel_var, 0) && team) 514 if (gomp_team_barrier_cancelled (&team->barrier)) 534 if (!if_clause || team == NULL 536 || team->task_count > 64 * team->nthreads) 603 gomp_mutex_lock (&team->task_lock); 605 gomp_mutex_unlock (&team->task_lock) 851 struct gomp_team *team = ttask->team; local 875 struct gomp_team *team = thr->ts.team; local 1555 struct gomp_team *team = thr->ts.team; local 1701 struct gomp_team *team = thr->ts.team; local 1866 struct gomp_team *team = thr->ts.team; local 1916 struct gomp_team *team = thr->ts.team; local 2189 struct gomp_team *team = thr->ts.team; local 2205 struct gomp_team *team = thr->ts.team; local 2466 struct gomp_team *team = gomp_new_team (1); local 2524 struct gomp_team *team = thr->ts.team; local 2640 struct gomp_team *team = thr->ts.team; local 2651 struct gomp_team *team = thr->ts.team; local 2669 struct gomp_team *team = thr->ts.team; local 2715 struct gomp_team *team = __atomic_load_n (&task->detach_team, local [all...] |
| ordered.c | 42 struct gomp_team *team = thr->ts.team; local 47 if (team == NULL || team->nthreads == 1) 51 if (index >= team->nthreads) 52 index -= team->nthreads; 59 gomp_sem_post (team->ordered_release[thr->ts.team_id]); 73 struct gomp_team *team = thr->ts.team; local 78 if (team == NULL || team->nthreads == 1 108 struct gomp_team *team = thr->ts.team; local 156 struct gomp_team *team = thr->ts.team; local 174 struct gomp_team *team = thr->ts.team; local 198 struct gomp_team *team = thr->ts.team; local 266 struct gomp_team *team = thr->ts.team; local 516 struct gomp_team *team = thr->ts.team; local [all...] |
| sections.c | 51 struct gomp_team *team = thr->ts.team; local 52 long nthreads = team ? team->nthreads : 1; 218 struct gomp_team *team; local 221 team = gomp_new_team (num_threads); 222 gomp_sections_init (&team->work_shares[0], count); 223 gomp_team_start (fn, data, num_threads, 0, team, NULL); 232 struct gomp_team *team; local 235 team = gomp_new_team (num_threads) [all...] |
| /src/external/gpl3/gcc.old/dist/libgomp/ |
| barrier.c | 35 struct gomp_team *team = thr->ts.team; local 38 if (team == NULL) 41 gomp_team_barrier_wait (&team->barrier); 48 struct gomp_team *team = thr->ts.team; local 53 return gomp_team_barrier_wait_cancel (&team->barrier);
|
| single.c | 40 struct gomp_team *team = thr->ts.team; local 43 if (__builtin_expect (team == NULL, 0)) 47 return __sync_bool_compare_and_swap (&team->single_count, single_count, 80 gomp_team_barrier_wait (&thr->ts.team->barrier); 96 struct gomp_team *team = thr->ts.team; local 98 if (team != NULL) 101 gomp_team_barrier_wait (&team->barrier);
|
| work.c | 26 /* This file contains routines to manage the work-share queue for a team 35 /* Allocate a new work share structure, preferably from current team's 39 alloc_work_share (struct gomp_team *team) 45 if (team->work_share_list_alloc != NULL) 47 ws = team->work_share_list_alloc; 48 team->work_share_list_alloc = ws->next_free; 53 ws = team->work_share_list_free; 62 team->work_share_list_alloc = next->next_free; 66 gomp_mutex_lock (&team->work_share_list_free_lock); 67 ws = team->work_share_list_free 190 struct gomp_team *team = thr->ts.team; local 232 struct gomp_team *team = thr->ts.team; local 265 struct gomp_team *team = thr->ts.team; local 291 struct gomp_team *team = thr->ts.team; local [all...] |
| team.c | 26 /* This file handles the maintenance of threads in response to team 67 loop in which a thread waits to be called up to become part of a team. */ 102 thr->ts.team->ordered_release[thr->ts.team_id] = &thr->release; 109 struct gomp_team *team = thr->ts.team; local 112 gomp_barrier_wait (&team->barrier); 115 gomp_team_barrier_wait_final (&team->barrier); 117 gomp_barrier_wait_last (&team->barrier); 126 struct gomp_team *team = thr->ts.team; local 172 struct gomp_team *team; local 950 struct gomp_team *team = thr->ts.team; local [all...] |
| parallel.c | 91 in the contention group. If thr->team is NULL, this isn't 95 if (thr->ts.team == NULL || pool == NULL) 144 struct gomp_team *team = thr->ts.team; local 145 unsigned int nthreads = team ? team->nthreads : 1; 151 if (thr->ts.team == NULL) 206 struct gomp_team *team = thr->ts.team; local 209 if (team == NULL 244 struct gomp_team *team = thr->ts.team; local 279 struct gomp_team *team = gomp_thread ()->ts.team; local [all...] |
| ordered.c | 42 struct gomp_team *team = thr->ts.team; local 47 if (team == NULL || team->nthreads == 1) 51 if (index >= team->nthreads) 52 index -= team->nthreads; 59 gomp_sem_post (team->ordered_release[thr->ts.team_id]); 73 struct gomp_team *team = thr->ts.team; local 78 if (team == NULL || team->nthreads == 1 108 struct gomp_team *team = thr->ts.team; local 156 struct gomp_team *team = thr->ts.team; local 174 struct gomp_team *team = thr->ts.team; local 198 struct gomp_team *team = thr->ts.team; local 266 struct gomp_team *team = thr->ts.team; local 516 struct gomp_team *team = thr->ts.team; local [all...] |
| task.c | 334 then the task may be executed by any member of the team. 356 struct gomp_team *team = thr->ts.team; local 370 if (__builtin_expect (gomp_cancel_var, 0) && team) 372 if (gomp_team_barrier_cancelled (&team->barrier)) 392 if (!if_clause || team == NULL 394 || team->task_count > 64 * team->nthreads) 461 gomp_mutex_lock (&team->task_lock); 463 gomp_mutex_unlock (&team->task_lock) 696 struct gomp_team *team = ttask->team; local 722 struct gomp_team *team = thr->ts.team; local 1368 struct gomp_team *team = thr->ts.team; local 1514 struct gomp_team *team = thr->ts.team; local 1679 struct gomp_team *team = thr->ts.team; local 1719 struct gomp_team *team = thr->ts.team; local 1948 struct gomp_team *team = thr->ts.team; local 1964 struct gomp_team *team = thr->ts.team; local 2225 struct gomp_team *team = gomp_new_team (1); local 2283 struct gomp_team *team = thr->ts.team; local 2399 struct gomp_team *team = thr->ts.team; local 2410 struct gomp_team *team = thr->ts.team; local 2428 struct gomp_team *team = thr->ts.team; local 2464 struct gomp_team *team = __atomic_load_n (&task->detach_team, local [all...] |
| /src/external/gpl3/gcc/dist/libgomp/config/nvptx/ |
| bar.c | 69 operation with a OR-reduction of "team->task_count != 0" across all threads. 71 task_count was non-zero in at least one of the team threads. 83 struct gomp_team *team = thr->ts.team; local 85 bool run_tasks = (team->task_count != 0); 88 (team->task_count != 0)); 94 team->work_share_cancelled = 0; 130 struct gomp_team *team = thr->ts.team; local 132 bool run_tasks = (team->task_count != 0) [all...] |
| team.c | 48 sets up a per-team thread pool and transfers control by calling FN (FN_DATA) 116 to be called up to become part of a team. */ 135 gomp_team_barrier_wait_final (&thr->ts.team->barrier); 144 /* Launch a team. */ 148 unsigned flags, struct gomp_team *team, 162 /* Always save the previous state, even if this isn't a nested team. 165 team->prev_ts = thr->ts; 167 thr->ts.team = team; 172 thr->ts.work_share = &team->work_shares[0] [all...] |
| /src/external/gpl3/gcc.old/dist/libgomp/config/gcn/ |
| team.c | 35 sets up a per-team thread pool and transfers control by returning to 54 Every team will do this, but that should be harmless. */ 60 /* Initialize the team arena for optimized memory allocation. 62 passed in via the kernargs. Each team takes a small slice of it. */ 72 /* Allocate and initialize the team-local-storage data. */ 77 /* Allocate and initialize a pool of threads in the team. 110 to be called up to become part of a team. */ 133 const char msg[] = ("team master not responding;" 143 gomp_team_barrier_wait_final (&thr->ts.team->barrier); 149 /* Launch a team. * [all...] |
| bar.c | 88 struct gomp_team *team = thr->ts.team; local 91 team->work_share_cancelled = 0; 92 if (__builtin_expect (team->task_count, 0)) 165 struct gomp_team *team = thr->ts.team; local 168 team->work_share_cancelled = 0; 169 if (__builtin_expect (team->task_count, 0)) 226 gomp_team_barrier_cancel (struct gomp_team *team) 228 gomp_mutex_lock (&team->task_lock) [all...] |
| /src/external/gpl3/gcc.old/dist/libgomp/config/nvptx/ |
| team.c | 41 sets up a per-team thread pool and transfers control by calling FN (FN_DATA) 90 to be called up to become part of a team. */ 109 gomp_team_barrier_wait_final (&thr->ts.team->barrier); 118 /* Launch a team. */ 122 unsigned flags, struct gomp_team *team, 136 /* Always save the previous state, even if this isn't a nested team. 139 team->prev_ts = thr->ts; 141 thr->ts.team = team; 146 thr->ts.work_share = &team->work_shares[0] [all...] |
| /src/external/gpl3/gcc/dist/libgomp/config/gcn/ |
| bar.c | 88 struct gomp_team *team = thr->ts.team; local 91 team->work_share_cancelled = 0; 92 if (__builtin_expect (team->task_count, 0)) 165 struct gomp_team *team = thr->ts.team; local 168 team->work_share_cancelled = 0; 169 if (__builtin_expect (team->task_count, 0)) 226 gomp_team_barrier_cancel (struct gomp_team *team) 228 gomp_mutex_lock (&team->task_lock) [all...] |
| /src/external/gpl3/gcc/dist/libgomp/config/linux/ |
| bar.c | 89 struct gomp_team *team = thr->ts.team; local 92 team->work_share_cancelled = 0; 93 if (__builtin_expect (team->task_count, 0)) 153 struct gomp_team *team = thr->ts.team; local 156 team->work_share_cancelled = 0; 157 if (__builtin_expect (team->task_count, 0)) 200 gomp_team_barrier_cancel (struct gomp_team *team) 202 gomp_mutex_lock (&team->task_lock) [all...] |
| /src/external/gpl3/gcc.old/dist/libgomp/config/linux/ |
| bar.c | 89 struct gomp_team *team = thr->ts.team; local 92 team->work_share_cancelled = 0; 93 if (__builtin_expect (team->task_count, 0)) 153 struct gomp_team *team = thr->ts.team; local 156 team->work_share_cancelled = 0; 157 if (__builtin_expect (team->task_count, 0)) 200 gomp_team_barrier_cancel (struct gomp_team *team) 202 gomp_mutex_lock (&team->task_lock) [all...] |
| /src/external/gpl3/gcc/dist/libgomp/config/posix/ |
| bar.c | 123 struct gomp_team *team = thr->ts.team; local 125 team->work_share_cancelled = 0; 126 if (team->task_count) 185 struct gomp_team *team = thr->ts.team; local 187 team->work_share_cancelled = 0; 188 if (team->task_count) 272 gomp_team_barrier_cancel (struct gomp_team *team) 274 if (team->barrier.generation & BAR_CANCELLED [all...] |
| /src/external/gpl3/gcc.old/dist/libgomp/config/posix/ |
| bar.c | 123 struct gomp_team *team = thr->ts.team; local 125 team->work_share_cancelled = 0; 126 if (team->task_count) 185 struct gomp_team *team = thr->ts.team; local 187 team->work_share_cancelled = 0; 188 if (team->task_count) 272 gomp_team_barrier_cancel (struct gomp_team *team) 274 if (team->barrier.generation & BAR_CANCELLED [all...] |