/netbsd-current/external/gpl3/gcc.old/dist/libgomp/ |
H A D | oacc-cuda.c | 37 struct goacc_thread *thr = goacc_thread (); local 40 if (thr && thr->dev && thr->dev->openacc.cuda.get_current_device_func) 44 bool profiling_p = GOACC_PROFILING_SETUP_P (thr, &prof_info, &api_info); 46 ret = thr->dev->openacc.cuda.get_current_device_func (); 50 thr->prof_info = NULL; 51 thr->api_info = NULL; 61 struct goacc_thread *thr = goacc_thread (); local 64 if (thr 85 struct goacc_thread *thr = goacc_thread (); local 121 struct goacc_thread *thr; local [all...] |
H A D | barrier.c | 34 struct gomp_thread *thr = gomp_thread (); local 35 struct gomp_team *team = thr->ts.team; 47 struct gomp_thread *thr = gomp_thread (); local 48 struct gomp_team *team = thr->ts.team;
|
H A D | single.c | 39 struct gomp_thread *thr = gomp_thread (); local 40 struct gomp_team *team = thr->ts.team; 46 single_count = thr->ts.single_count++; 66 struct gomp_thread *thr = gomp_thread (); local 80 gomp_team_barrier_wait (&thr->ts.team->barrier); 82 ret = thr->ts.work_share->copyprivate; 95 struct gomp_thread *thr = gomp_thread (); local 96 struct gomp_team *team = thr->ts.team; 100 thr->ts.work_share->copyprivate = data;
|
/netbsd-current/external/gpl3/gcc/dist/libgomp/ |
H A D | oacc-cuda.c | 37 struct goacc_thread *thr = goacc_thread (); local 40 if (thr && thr->dev && thr->dev->openacc.cuda.get_current_device_func) 44 bool profiling_p = GOACC_PROFILING_SETUP_P (thr, &prof_info, &api_info); 46 ret = thr->dev->openacc.cuda.get_current_device_func (); 50 thr->prof_info = NULL; 51 thr->api_info = NULL; 61 struct goacc_thread *thr = goacc_thread (); local 64 if (thr 85 struct goacc_thread *thr = goacc_thread (); local 121 struct goacc_thread *thr; local [all...] |
H A D | teams.c | 35 struct gomp_thread *thr = gomp_thread (); local 49 thr->num_teams = num_teams - 1; 50 for (thr->team_num = 0; thr->team_num < num_teams; thr->team_num++) 52 thr->num_teams = 0; 53 thr->team_num = 0; 64 struct gomp_thread *thr = gomp_thread (); local 65 return thr->num_teams + 1; 71 struct gomp_thread *thr local [all...] |
H A D | barrier.c | 34 struct gomp_thread *thr = gomp_thread (); local 35 struct gomp_team *team = thr->ts.team; 47 struct gomp_thread *thr = gomp_thread (); local 48 struct gomp_team *team = thr->ts.team;
|
H A D | single.c | 39 struct gomp_thread *thr = gomp_thread (); local 40 struct gomp_team *team = thr->ts.team; 46 single_count = thr->ts.single_count++; 66 struct gomp_thread *thr = gomp_thread (); local 80 gomp_team_barrier_wait (&thr->ts.team->barrier); 82 ret = thr->ts.work_share->copyprivate; 95 struct gomp_thread *thr = gomp_thread (); local 96 struct gomp_team *team = thr->ts.team; 100 thr->ts.work_share->copyprivate = data;
|
H A D | scope.c | 46 struct gomp_thread *thr = gomp_thread (); local 52 thr->task->taskgroup->workshare = true; 53 thr->ts.work_share->task_reductions = reductions; 58 uintptr_t *first_reductions = thr->ts.work_share->task_reductions;
|
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/nvptx/ |
H A D | pool.h | 37 gomp_get_thread_pool (struct gomp_thread *thr, unsigned nthreads) argument 40 return thr->thread_pool;
|
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/accel/ |
H A D | pool.h | 37 gomp_get_thread_pool (struct gomp_thread *thr, unsigned nthreads) argument 40 return thr->thread_pool;
|
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/accel/ |
H A D | pool.h | 37 gomp_get_thread_pool (struct gomp_thread *thr, unsigned nthreads) argument 40 return thr->thread_pool;
|
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
H A D | tsan_fd.h | 42 void FdAcquire(ThreadState *thr, uptr pc, int fd); 43 void FdRelease(ThreadState *thr, uptr pc, int fd); 44 void FdAccess(ThreadState *thr, uptr pc, int fd); 45 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true); 46 void FdFileCreate(ThreadState *thr, uptr pc, int fd); 47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write); 48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd); 49 void FdEventCreate(ThreadState *thr, uptr pc, int fd); 50 void FdSignalCreate(ThreadState *thr, uptr pc, int fd); 51 void FdInotifyCreate(ThreadState *thr, upt [all...] |
H A D | tsan_rtl_thread.cc | 27 , thr() 49 ThreadState *thr; member in struct:__tsan::OnCreatedArgs 54 thr = 0; 58 if (!args->thr) // GCD workers don't have a parent thread. 60 args->thr->fast_state.IncrementEpoch(); 62 TraceAddEvent(args->thr, args->thr->fast_state, EventTypeMop, 0); 63 ReleaseImpl(args->thr, 0, &sync); 64 creation_stack_id = CurrentStackId(args->thr, args->pc); 66 StatInc(args->thr, StatThreadMaxTi 82 ThreadState *thr; member in struct:__tsan::OnStartedArgs 196 ThreadCheckIgnore(ThreadState *thr) argument 205 ThreadCheckIgnore(ThreadState *thr) argument 208 ThreadFinalize(ThreadState *thr) argument 226 ThreadCount(ThreadState *thr) argument 232 ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) argument 243 ThreadStart(ThreadState *thr, int tid, tid_t os_id, bool workerthread) argument 276 ThreadFinish(ThreadState *thr) argument 296 ThreadTid(ThreadState *thr, uptr pc, uptr uid) argument 302 ThreadJoin(ThreadState *thr, uptr pc, int tid) argument 309 ThreadDetach(ThreadState *thr, uptr pc, int tid) argument 315 ThreadNotJoined(ThreadState *thr, uptr pc, int tid, uptr uid) argument 321 ThreadSetName(ThreadState *thr, const char *name) argument 325 MemoryAccessRange(ThreadState *thr, uptr pc, uptr addr, uptr size, bool is_write) argument [all...] |
H A D | tsan_rtl_proc.cc | 25 proc->thr = nullptr; 35 CHECK_EQ(proc->thr, nullptr); 47 void ProcWire(Processor *proc, ThreadState *thr) { argument 48 CHECK_EQ(thr->proc1, nullptr); 49 CHECK_EQ(proc->thr, nullptr); 50 thr->proc1 = proc; 51 proc->thr = thr; 54 void ProcUnwire(Processor *proc, ThreadState *thr) { argument 55 CHECK_EQ(thr [all...] |
H A D | tsan_rtl_mutex.cc | 26 void ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r); 29 ThreadState *thr; member in struct:__tsan::Callback 32 Callback(ThreadState *thr, uptr pc) argument 33 : thr(thr) 35 DDCallback::pt = thr->proc()->dd_pt; 36 DDCallback::lt = thr->dd_lt; 39 u32 Unwind() override { return CurrentStackId(thr, pc); } 40 int UniqueTid() override { return thr->unique_id; } 43 void DDMutexInit(ThreadState *thr, upt argument 49 ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, uptr addr, u64 mid) argument 65 MutexCreate(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 81 MutexDestroy(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 143 MutexPreLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 159 MutexPostLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz, int rec) argument 214 MutexUnlock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 257 MutexPreReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 269 MutexPostReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 309 MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr) argument 341 MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr) argument 388 MutexRepair(ThreadState *thr, uptr pc, uptr addr) argument 396 MutexInvalidAccess(ThreadState *thr, uptr pc, uptr addr) argument 404 Acquire(ThreadState *thr, uptr pc, uptr addr) argument 416 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local 424 AcquireGlobal(ThreadState *thr, uptr pc) argument 433 Release(ThreadState *thr, uptr pc, uptr addr) argument 445 ReleaseStore(ThreadState *thr, uptr pc, uptr addr) argument 459 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local 467 AfterSleep(ThreadState *thr, uptr pc) argument 478 AcquireImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 486 ReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 495 ReleaseStoreImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 504 AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 514 ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r) argument [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
H A D | tsan_fd.h | 40 void FdAcquire(ThreadState *thr, uptr pc, int fd); 41 void FdRelease(ThreadState *thr, uptr pc, int fd); 42 void FdAccess(ThreadState *thr, uptr pc, int fd); 43 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true); 44 void FdFileCreate(ThreadState *thr, uptr pc, int fd); 45 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write); 46 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd); 47 void FdEventCreate(ThreadState *thr, uptr pc, int fd); 48 void FdSignalCreate(ThreadState *thr, uptr pc, int fd); 49 void FdInotifyCreate(ThreadState *thr, upt [all...] |
H A D | tsan_rtl_thread.cc | 25 , thr() 47 ThreadState *thr; member in struct:__tsan::OnCreatedArgs 52 thr = 0; 56 if (!args->thr) // GCD workers don't have a parent thread. 58 args->thr->fast_state.IncrementEpoch(); 60 TraceAddEvent(args->thr, args->thr->fast_state, EventTypeMop, 0); 61 ReleaseImpl(args->thr, 0, &sync); 62 creation_stack_id = CurrentStackId(args->thr, args->pc); 64 StatInc(args->thr, StatThreadMaxTi 80 ThreadState *thr; member in struct:__tsan::OnStartedArgs 194 ThreadCheckIgnore(ThreadState *thr) argument 203 ThreadCheckIgnore(ThreadState *thr) argument 206 ThreadFinalize(ThreadState *thr) argument 224 ThreadCount(ThreadState *thr) argument 230 ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) argument 241 ThreadStart(ThreadState *thr, int tid, tid_t os_id, bool workerthread) argument 274 ThreadFinish(ThreadState *thr) argument 294 ThreadTid(ThreadState *thr, uptr pc, uptr uid) argument 300 ThreadJoin(ThreadState *thr, uptr pc, int tid) argument 307 ThreadDetach(ThreadState *thr, uptr pc, int tid) argument 313 ThreadSetName(ThreadState *thr, const char *name) argument 317 MemoryAccessRange(ThreadState *thr, uptr pc, uptr addr, uptr size, bool is_write) argument [all...] |
H A D | tsan_rtl_proc.cc | 23 proc->thr = nullptr; 33 CHECK_EQ(proc->thr, nullptr); 45 void ProcWire(Processor *proc, ThreadState *thr) { argument 46 CHECK_EQ(thr->proc1, nullptr); 47 CHECK_EQ(proc->thr, nullptr); 48 thr->proc1 = proc; 49 proc->thr = thr; 52 void ProcUnwire(Processor *proc, ThreadState *thr) { argument 53 CHECK_EQ(thr [all...] |
H A D | tsan_rtl_mutex.cc | 24 void ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r); 27 ThreadState *thr; member in struct:__tsan::Callback 30 Callback(ThreadState *thr, uptr pc) argument 31 : thr(thr) 33 DDCallback::pt = thr->proc()->dd_pt; 34 DDCallback::lt = thr->dd_lt; 37 u32 Unwind() override { return CurrentStackId(thr, pc); } 38 int UniqueTid() override { return thr->unique_id; } 41 void DDMutexInit(ThreadState *thr, upt argument 47 ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, uptr addr, u64 mid) argument 63 MutexCreate(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 79 MutexDestroy(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 141 MutexPreLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 157 MutexPostLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz, int rec) argument 212 MutexUnlock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 255 MutexPreReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 267 MutexPostReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 307 MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr) argument 339 MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr) argument 386 MutexRepair(ThreadState *thr, uptr pc, uptr addr) argument 394 MutexInvalidAccess(ThreadState *thr, uptr pc, uptr addr) argument 402 Acquire(ThreadState *thr, uptr pc, uptr addr) argument 414 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local 422 AcquireGlobal(ThreadState *thr, uptr pc) argument 431 Release(ThreadState *thr, uptr pc, uptr addr) argument 443 ReleaseStore(ThreadState *thr, uptr pc, uptr addr) argument 457 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local 465 AfterSleep(ThreadState *thr, uptr pc) argument 476 AcquireImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 484 ReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 493 ReleaseStoreImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 502 AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 512 ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r) argument [all...] |
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/tsan/ |
H A D | tsan_fd.h | 41 void FdAcquire(ThreadState *thr, uptr pc, int fd); 42 void FdRelease(ThreadState *thr, uptr pc, int fd); 43 void FdAccess(ThreadState *thr, uptr pc, int fd); 44 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true); 45 void FdFileCreate(ThreadState *thr, uptr pc, int fd); 46 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write); 47 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd); 48 void FdEventCreate(ThreadState *thr, uptr pc, int fd); 49 void FdSignalCreate(ThreadState *thr, uptr pc, int fd); 50 void FdInotifyCreate(ThreadState *thr, upt [all...] |
H A D | tsan_rtl_proc.cpp | 24 proc->thr = nullptr; 34 CHECK_EQ(proc->thr, nullptr); 46 void ProcWire(Processor *proc, ThreadState *thr) { argument 47 CHECK_EQ(thr->proc1, nullptr); 48 CHECK_EQ(proc->thr, nullptr); 49 thr->proc1 = proc; 50 proc->thr = thr; 53 void ProcUnwire(Processor *proc, ThreadState *thr) { argument 54 CHECK_EQ(thr [all...] |
H A D | tsan_rtl_mutex.cpp | 25 void ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r); 28 ThreadState *thr; member in struct:__tsan::final 31 Callback(ThreadState *thr, uptr pc) argument 32 : thr(thr) 34 DDCallback::pt = thr->proc()->dd_pt; 35 DDCallback::lt = thr->dd_lt; 38 StackID Unwind() override { return CurrentStackId(thr, pc); } 39 int UniqueTid() override { return thr->unique_id; } 42 void DDMutexInit(ThreadState *thr, upt argument 48 ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, uptr addr, u64 mid) argument 66 MutexCreate(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 82 MutexDestroy(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 140 MutexPreLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 157 MutexPostLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz, int rec) argument 212 MutexUnlock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 255 MutexPreReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 270 MutexPostReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) argument 310 MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr) argument 343 MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr) argument 389 MutexRepair(ThreadState *thr, uptr pc, uptr addr) argument 397 MutexInvalidAccess(ThreadState *thr, uptr pc, uptr addr) argument 403 Acquire(ThreadState *thr, uptr pc, uptr addr) argument 415 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local 425 AcquireGlobal(ThreadState *thr) argument 433 ReleaseStoreAcquire(ThreadState *thr, uptr pc, uptr addr) argument 445 Release(ThreadState *thr, uptr pc, uptr addr) argument 457 ReleaseStore(ThreadState *thr, uptr pc, uptr addr) argument 471 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local 479 AfterSleep(ThreadState *thr, uptr pc) argument 490 AcquireImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 497 ReleaseStoreAcquireImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 505 ReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 513 ReleaseStoreImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 521 AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c) argument 529 ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r) argument [all...] |
H A D | tsan_rtl_thread.cpp | 25 : ThreadContextBase(tid), thr(), sync(), epoch0(), epoch1() {} 78 static void ThreadCheckIgnore(ThreadState *thr) { argument 81 if (thr->ignore_reads_and_writes) 82 ReportIgnoresEnabled(thr->tctx, &thr->mop_ignore_set); 83 if (thr->ignore_sync) 84 ReportIgnoresEnabled(thr->tctx, &thr->sync_ignore_set); 87 static void ThreadCheckIgnore(ThreadState *thr) {} argument 90 void ThreadFinalize(ThreadState *thr) { argument 108 ThreadCount(ThreadState *thr) argument 115 ThreadState *thr; member in struct:__tsan::OnCreatedArgs 119 ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) argument 144 ThreadState *thr; member in struct:__tsan::OnStartedArgs 151 ThreadStart(ThreadState *thr, Tid tid, tid_t os_id, ThreadType thread_type) argument 223 ThreadFinish(ThreadState *thr) argument 282 ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid) argument 290 ThreadJoin(ThreadState *thr, uptr pc, Tid tid) argument 305 ThreadDetach(ThreadState *thr, uptr pc, Tid tid) argument 316 ThreadNotJoined(ThreadState *thr, uptr pc, Tid tid, uptr uid) argument 322 ThreadSetName(ThreadState *thr, const char *name) argument 334 FiberCreate(ThreadState *thr, uptr pc, unsigned flags) argument 345 FiberDestroy(ThreadState *thr, uptr pc, ThreadState *fiber) argument 352 FiberSwitch(ThreadState *thr, uptr pc, ThreadState *fiber, unsigned flags) argument [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/ |
H A D | dd_rtl.cc | 22 static u32 CurrentStackTrace(Thread *thr, uptr skip) { argument 24 thr->ignore_interceptors = true; 26 thr->ignore_interceptors = false; 32 static void PrintStackTrace(Thread *thr, u32 stk) { argument 34 thr->ignore_interceptors = true; 36 thr->ignore_interceptors = false; 39 static void ReportDeadlock(Thread *thr, DDReport *rep) { argument 48 PrintStackTrace(thr, rep->loop[i].stk[1]); 52 PrintStackTrace(thr, rep->loop[i].stk[0]); 58 Callback::Callback(Thread *thr) argument 100 ThreadInit(Thread *thr) argument 107 ThreadDestroy(Thread *thr) argument 112 MutexBeforeLock(Thread *thr, uptr m, bool writelock) argument 125 MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) argument 138 MutexBeforeUnlock(Thread *thr, uptr m, bool writelock) argument 149 MutexDestroy(Thread *thr, uptr m) argument [all...] |
H A D | dd_rtl.h | 35 Thread *thr; member in struct:__dsan::Callback 37 Callback(Thread *thr); 58 void ThreadInit(Thread *thr); 59 void ThreadDestroy(Thread *thr); 61 void MutexBeforeLock(Thread *thr, uptr m, bool writelock); 62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock); 63 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock); 64 void MutexDestroy(Thread *thr, uptr m);
|