| /llvm-project-15.0.7/openmp/runtime/test/worksharing/for/ |
| H A D | omp_for_schedule_static_3.c | 22 int * tids; in test_omp_for_schedule_static_3() local 55 #pragma omp parallel shared(tids) in test_omp_for_schedule_static_3() 84 tids[j] = tid; in test_omp_for_schedule_static_3() 96 lasttid = tids[0]; in test_omp_for_schedule_static_3() 102 if (tids[i] == lasttid) { in test_omp_for_schedule_static_3() 113 if (tids[i] == (lasttid + 1) % threads || tids[i] == -1) { in test_omp_for_schedule_static_3() 117 lasttid = tids[i]; in test_omp_for_schedule_static_3() 123 if (tids[i] == -1) { in test_omp_for_schedule_static_3() 154 free (tids); in test_omp_for_schedule_static_3() 180 if (tids[i] != tids2[i]) { in test_omp_for_schedule_static_3() [all …]
|
| H A D | omp_for_schedule_static.c | 19 int * tids; in test_omp_for_schedule_static() local 33 #pragma omp parallel shared(tids,counter) in test_omp_for_schedule_static() 47 tids[CFSMAX_SIZE] = -1; /* setting endflag */ in test_omp_for_schedule_static() 48 #pragma omp parallel shared(tids) in test_omp_for_schedule_static() 77 tids[j] = tid; in test_omp_for_schedule_static() 88 lasttid = tids[0]; in test_omp_for_schedule_static() 93 if (tids[i] == lasttid) { in test_omp_for_schedule_static() 104 if (tids[i] == (lasttid + 1) % threads || tids[i] == -1) { in test_omp_for_schedule_static() 108 lasttid = tids[i]; in test_omp_for_schedule_static() 114 if (tids[i] == -1) { in test_omp_for_schedule_static() [all …]
|
| H A D | omp_for_schedule_guided.c | 34 int * tids; in test_omp_for_schedule_guided() local 42 tids = (int *) malloc (sizeof (int) * (CFSMAX_SIZE + 1)); in test_omp_for_schedule_guided() 65 #pragma omp parallel shared(tids,maxiter) in test_omp_for_schedule_guided() 97 tids[j] = tid; in test_omp_for_schedule_guided() 111 int last_threadnr = tids[0]; in test_omp_for_schedule_guided() 121 tids[CFSMAX_SIZE] = -1; in test_omp_for_schedule_guided() 128 if (last_threadnr==tids[i]) { in test_omp_for_schedule_guided() 135 last_threadnr = tids[i]; in test_omp_for_schedule_guided() 147 last_threadnr = tids[0]; in test_omp_for_schedule_guided() 154 if (last_threadnr == tids[i]) { in test_omp_for_schedule_guided() [all …]
|
| H A D | omp_for_schedule_dynamic.c | 21 int *tids; in test_omp_for_schedule_dynamic() local 29 tids = tidsArray; in test_omp_for_schedule_dynamic() 31 #pragma omp parallel private(tid) shared(tids) in test_omp_for_schedule_dynamic() 37 tids[i] = tid; in test_omp_for_schedule_dynamic() 42 if (tids[i] != tids[i + 1]) { in test_omp_for_schedule_dynamic() 55 if (tids[i] != tids[i + 1]) { in test_omp_for_schedule_dynamic()
|
| /llvm-project-15.0.7/openmp/runtime/test/tasking/ |
| H A D | omp_taskloop_grainsize.c | 26 int *tmp, *tids, *tidsArray; in test_omp_taskloop_grainsize() local 29 tids = tidsArray; in test_omp_taskloop_grainsize() 36 tids[i] = -1; in test_omp_taskloop_grainsize() 39 #pragma omp parallel shared(tids) in test_omp_taskloop_grainsize() 44 tids[i] = omp_get_thread_num(); in test_omp_taskloop_grainsize() 49 if (tids[i] == -1) { in test_omp_taskloop_grainsize() 56 if (tids[i] != tids[i + 1]) { in test_omp_taskloop_grainsize() 70 if (tids[i] != tids[i + 1]) { in test_omp_taskloop_grainsize()
|
| H A D | omp_taskloop_num_tasks.c | 29 int *tids; in test_omp_taskloop_num_tasks() local 38 tids = tidsArray; in test_omp_taskloop_num_tasks() 40 #pragma omp parallel shared(tids) in test_omp_taskloop_num_tasks() 46 tids[i] = omp_get_thread_num(); in test_omp_taskloop_num_tasks() 51 if (tids[i] != tids[i + 1]) { in test_omp_taskloop_num_tasks()
|
| H A D | omp_task.c | 9 int tids[NUM_TASKS]; in test_omp_task() local 27 tids[myi] = omp_get_thread_num(); in test_omp_task() 35 if (tids[0] != tids[i]) in test_omp_task()
|
| H A D | omp_task_final.c | 9 int tids[NUM_TASKS]; in test_omp_task_final() local 28 tids[myi] = omp_get_thread_num(); in test_omp_task_final() 46 if (tids[i] != includedtids[i]) { in test_omp_task_final()
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectThreadUtil.cpp | 55 std::vector<lldb::tid_t> tids; in DoExecute() local 61 tids.push_back(thread_sp->GetID()); in DoExecute() 86 tids.push_back(thread->GetID()); in DoExecute() 93 for (const lldb::tid_t &tid : tids) { in DoExecute() 122 for (const lldb::tid_t &tid : tids) { in DoExecute() 174 std::vector<lldb::tid_t> tids; in DoExecute() local 182 tids.push_back(thread_sp->GetID()); in DoExecute() 186 tids.push_back(thread.GetID()); in DoExecute() 205 tids.push_back(thread->GetID()); in DoExecute() 209 return DoExecuteOnThreads(command, result, tids); in DoExecute()
|
| H A D | CommandObjectThreadUtil.h | 98 llvm::ArrayRef<lldb::tid_t> tids) = 0;
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | TraceGDBRemotePackets.cpp | 32 bool TraceStartRequest::IsProcessTracing() const { return !(bool)tids; } in IsProcessTracing() 36 return o && o.map("type", packet.type) && o.map("tids", packet.tids); in fromJSON() 40 return json::Value(Object{{"tids", packet.tids}, {"type", packet.type}}); in toJSON() 49 tids.emplace(); in TraceStopRequest() 51 tids->push_back(tid); in TraceStopRequest() 54 bool TraceStopRequest::IsProcessTracing() const { return !(bool)tids; } in IsProcessTracing() 58 return o && o.map("type", packet.type) && o.map("tids", packet.tids); in fromJSON() 62 return json::Value(Object{{"type", packet.type}, {"tids", packet.tids}}); in toJSON()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/ |
| H A D | halt_on_error-torture.cpp | 58 pthread_t *tids = new pthread_t[nthreads]; in main() local 61 if (0 != pthread_create(&tids[i], 0, run, (void *)i)) { in main() 68 if (0 != pthread_join(tids[i], 0)) { in main() 77 delete [] tids; in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_thread_registry_test.cpp | 184 std::vector<int> tids; in RunThread() local 186 tids.push_back( in RunThread() 189 args->registry->StartThread(tids[i], 0, ThreadType::Regular, in RunThread() 192 args->registry->FinishThread(tids[i]); in RunThread() 194 args->registry->JoinThread(tids[i], (void*)args->shard); in RunThread()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPT.cpp | 102 std::vector<tid_t> tids; in CreateInstanceForPostmortemTrace() local 105 tids.push_back(thread.tid); in CreateInstanceForPostmortemTrace() 531 std::vector<tid_t> tids; in DoRefreshLiveProcessState() local 533 tids.push_back(thread.tid); in DoRefreshLiveProcessState() 635 llvm::Error TraceIntelPT::Start(llvm::ArrayRef<lldb::tid_t> tids, in Start() argument 643 request.tids.emplace(); in Start() 644 for (lldb::tid_t tid : tids) in Start() 645 request.tids->push_back(tid); in Start() 649 Error TraceIntelPT::Start(llvm::ArrayRef<lldb::tid_t> tids, in Start() argument 679 return Start(tids, ipt_trace_size, enable_tsc, psb_period); in Start()
|
| H A D | TraceIntelPT.h | 144 llvm::Error Start(llvm::ArrayRef<lldb::tid_t> tids, uint64_t ipt_trace_size, 148 llvm::Error Start(llvm::ArrayRef<lldb::tid_t> tids,
|
| H A D | CommandObjectTraceStartIntelPT.cpp | 78 llvm::ArrayRef<lldb::tid_t> tids) { in DoExecuteOnThreads() argument 79 if (Error err = m_trace.Start(tids, m_options.m_ipt_trace_size, in DoExecuteOnThreads()
|
| H A D | CommandObjectTraceStartIntelPT.h | 58 llvm::ArrayRef<lldb::tid_t> tids) override;
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/ |
| H A D | sysobjs.py | 149 tids = (c_ulong * num_threads)() 152 tids[x] = DEBUG_ANY_ID 154 res = self.vt.GetThreadIdsByIndex(self.sysobjects, 0, num_threads, engineids, tids) 156 return list(zip(engineids, tids))
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | TraceGDBRemotePackets.h | 49 llvm::Optional<std::vector<lldb::tid_t>> tids; member 67 TraceStopRequest(llvm::StringRef type, const std::vector<lldb::tid_t> &tids); 77 llvm::Optional<std::vector<lldb::tid_t>> tids; member
|
| /llvm-project-15.0.7/lldb/test/API/tools/lldb-server/vCont-threads/ |
| H A D | TestSignal.py | 36 tids = [] 40 tids.append(int(m.group(1), 16)) 41 self.assertEqual(sorted(tids), sorted(threads))
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/ |
| H A D | IntelPTCollector.cpp | 62 for (int64_t tid : *request.tids) in TraceStop() 155 for (int64_t tid : *request.tids) { in TraceStart()
|
| H A D | NativeProcessLinux.cpp | 313 llvm::ArrayRef<::pid_t> tids) in NativeProcessLinux() argument 326 for (const auto &tid : tids) { in NativeProcessLinux() 332 SetCurrentThreadID(tids[0]); in NativeProcessLinux() 396 std::vector<::pid_t> tids; in Attach() local 397 tids.reserve(tid_count); in Attach() 399 tids.push_back(p.first); in Attach() 400 return std::move(tids); in Attach()
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | Trace.h | 231 llvm::ArrayRef<lldb::tid_t> tids, 242 llvm::Error Stop(llvm::ArrayRef<lldb::tid_t> tids);
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_report.cpp | 755 Tid tids[kMop] = {thr->tid, kInvalidTid}; in ReportRace() local 773 size1, typ1, &tids[1], &traces[1], mset[1], &tags[1])) { in ReportRace() 796 rep.AddMemoryAccess(addr, tags[i], s[i], tids[i], traces[i], mset[i]); in ReportRace() 800 ctx->thread_registry.GetThreadLocked(tids[i])); in ReportRace()
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Trace.cpp | 169 Error Trace::Stop(llvm::ArrayRef<lldb::tid_t> tids) { in Stop() argument 174 return m_live_process->TraceStop(TraceStopRequest(GetPluginName(), tids)); in Stop()
|