Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 25 of 679) sorted by relevance

12345678910>>...28

/llvm-project-15.0.7/lldb/test/API/functionalities/plugins/python_os_plugin/
H A Doperating_system2.py96 tid + 1,
97 tid + 2,
98 tid + 3,
99 tid + 4,
100 tid + 5,
101 tid + 6,
102 tid + 7,
103 tid + 8,
104 tid + 9,
105 tid + 10,
[all …]
H A Doperating_system.py108 tid + 1,
109 tid + 2,
110 tid + 3,
111 tid + 4,
112 tid + 5,
113 tid + 6,
114 tid + 7,
115 tid + 8,
116 tid + 9,
117 tid + 10,
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp21 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase()
90 if (tid != kMainTid) in SetCreated()
142 tid = tctx->tid; in CreateThread()
175 return tid; in CreateThread()
181 for (u32 tid = 0; tid < threads_.size(); tid++) { in RunCallbackForEachThreadLocked() local
191 for (u32 tid = 0; tid < threads_.size(); tid++) { in FindThread() local
202 for (u32 tid = 0; tid < threads_.size(); tid++) { in FindThreadContextLocked() local
346 u32 tid; in ConsumeThreadUserId() local
349 tid = t->second; in ConsumeThreadUserId()
354 return tid; in ConsumeThreadUserId()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dicmp.i16.ll14 %tid.ext = sext i32 %tid to i64
32 %tid.ext = sext i32 %tid to i64
50 %tid.ext = sext i32 %tid to i64
68 %tid.ext = sext i32 %tid to i64
86 %tid.ext = sext i32 %tid to i64
104 %tid.ext = sext i32 %tid to i64
123 %tid.ext = sext i32 %tid to i64
141 %tid.ext = sext i32 %tid to i64
159 %tid.ext = sext i32 %tid to i64
177 %tid.ext = sext i32 %tid to i64
[all …]
H A Dcommute-compares.ll12 %tid = call i32 @llvm.amdgcn.workitem.id.x() #0
25 %tid = call i32 @llvm.amdgcn.workitem.id.x() #0
40 %tid = call i32 @llvm.amdgcn.workitem.id.x() #0
53 %tid = call i32 @llvm.amdgcn.workitem.id.x() #0
66 %tid = call i32 @llvm.amdgcn.workitem.id.x() #0
79 %tid = call i32 @llvm.amdgcn.workitem.id.x() #0
92 %tid = call i32 @llvm.amdgcn.workitem.id.x() #0
106 %tid = call i32 @llvm.amdgcn.workitem.id.x() #0
119 %tid = call i32 @llvm.amdgcn.workitem.id.x() #0
132 %tid = call i32 @llvm.amdgcn.workitem.id.x() #0
[all …]
H A Dfneg-combines.ll22 %tid.ext = sext i32 %tid to i64
45 %tid.ext = sext i32 %tid to i64
75 %tid.ext = sext i32 %tid to i64
101 %tid.ext = sext i32 %tid to i64
125 %tid.ext = sext i32 %tid to i64
149 %tid.ext = sext i32 %tid to i64
179 %tid.ext = sext i32 %tid to i64
209 %tid.ext = sext i32 %tid to i64
277 %tid.ext = sext i32 %tid to i64
298 %tid.ext = sext i32 %tid to i64
[all …]
H A Dmax3.ll8 %tid = call i32 @llvm.amdgcn.workitem.id.x()
27 %tid = call i32 @llvm.amdgcn.workitem.id.x()
51 %tid = call i32 @llvm.amdgcn.workitem.id.x()
75 %tid = call i32 @llvm.amdgcn.workitem.id.x()
99 %tid = call i32 @llvm.amdgcn.workitem.id.x()
123 %tid = call i32 @llvm.amdgcn.workitem.id.x()
147 %tid = call i32 @llvm.amdgcn.workitem.id.x()
171 %tid = call i32 @llvm.amdgcn.workitem.id.x()
190 %tid = call i32 @llvm.amdgcn.workitem.id.x()
209 %tid = call i32 @llvm.amdgcn.workitem.id.x()
[all …]
H A Dmin3.ll8 %tid = call i32 @llvm.amdgcn.workitem.id.x()
27 %tid = call i32 @llvm.amdgcn.workitem.id.x()
47 %tid = call i32 @llvm.amdgcn.workitem.id.x()
48 %tid2 = mul i32 %tid, 2
81 %tid = call i32 @llvm.amdgcn.workitem.id.x()
82 %tid2 = mul i32 %tid, 2
121 %tid = call i32 @llvm.amdgcn.workitem.id.x()
145 %tid = call i32 @llvm.amdgcn.workitem.id.x()
169 %tid = call i32 @llvm.amdgcn.workitem.id.x()
193 %tid = call i32 @llvm.amdgcn.workitem.id.x()
[all …]
H A Dfdiv.f16.ll41 %tid = call i32 @llvm.amdgcn.workitem.id.x()
42 %tid.ext = sext i32 %tid to i64
62 %tid.ext = sext i32 %tid to i64
80 %tid.ext = sext i32 %tid to i64
102 %tid.ext = sext i32 %tid to i64
120 %tid.ext = sext i32 %tid to i64
138 %tid.ext = sext i32 %tid to i64
156 %tid.ext = sext i32 %tid to i64
176 %tid.ext = sext i32 %tid to i64
197 %tid.ext = sext i32 %tid to i64
[all …]
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_errors.h29 u32 tid; member
32 explicit ErrorBase(u32 tid_) : tid(tid_) {} in ErrorBase()
44 : ErrorBase(tid), in ErrorDeadlySignal()
73 : ErrorBase(tid, 42, "double-free"), in ErrorDoubleFree()
105 : ErrorBase(tid, 40, "bad-free"), in ErrorFreeNotMalloced()
160 : ErrorBase(tid, 10, "calloc-overflow"), in ErrorCallocOverflow()
188 : ErrorBase(tid, 10, "pvalloc-overflow"), in ErrorPvallocOverflow()
257 : ErrorBase(tid, 10, "rss-limit-exceeded"), in ErrorRssLimitExceeded()
268 : ErrorBase(tid, 10, "out-of-memory"), in ErrorOutOfMemory()
285 : ErrorBase(tid), in ErrorStringFunctionMemoryRangesOverlap()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/
H A DIntelPTThreadTraceCollection.cpp17 return m_thread_traces.count(tid); in TracesThread()
20 Error IntelPTThreadTraceCollection::TraceStop(lldb::tid_t tid) { in TraceStop() argument
21 auto it = m_thread_traces.find(tid); in TraceStop()
26 m_thread_traces.erase(tid); in TraceStop()
32 if (TracesThread(tid)) in TraceStart()
37 IntelPTSingleBufferTrace::Start(request, tid); in TraceStart()
42 m_thread_traces.try_emplace(tid, std::move(*trace)); in TraceStart()
59 auto it = m_thread_traces.find(tid); in GetTracedThread()
78 if (!request.tid) in TryGetBinaryData()
83 if (!TracesThread(*request.tid)) in TryGetBinaryData()
[all …]
H A DIntelPTCollector.cpp50 Error IntelPTCollector::TraceStop(lldb::tid_t tid) { in TraceStop() argument
52 return m_process_trace_up->TraceStop(tid); in TraceStop()
53 return m_thread_traces.TraceStop(tid); in TraceStop()
62 for (int64_t tid : *request.tids) in TraceStop()
155 for (int64_t tid : *request.tids) { in TraceStart()
162 tid) in TraceStart()
185 return m_process_trace_up->TraceStart(tid); in OnThreadCreated()
192 return m_process_trace_up->TraceStop(tid); in OnThreadDestroyed()
193 else if (m_thread_traces.TracesThread(tid)) in OnThreadDestroyed()
194 return m_thread_traces.TraceStop(tid); in OnThreadDestroyed()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/
H A DRegisterContextMach_arm.cpp26 int RegisterContextMach_arm::DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { in DoReadGPR() argument
28 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
31 int RegisterContextMach_arm::DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) { in DoReadFPU() argument
33 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU()
38 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC()
43 return ::thread_get_state(tid, flavor, (thread_state_t)&dbg, &count); in DoReadDBG()
46 int RegisterContextMach_arm::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() argument
49 tid, flavor, reinterpret_cast<thread_state_t>(const_cast<GPR *>(&gpr)), in DoWriteGPR()
53 int RegisterContextMach_arm::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() argument
60 int RegisterContextMach_arm::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC() argument
[all …]
H A DRegisterContextMach_x86_64.cpp24 int RegisterContextMach_x86_64::DoReadGPR(lldb::tid_t tid, int flavor, in DoReadGPR() argument
27 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
30 int RegisterContextMach_x86_64::DoReadFPU(lldb::tid_t tid, int flavor, in DoReadFPU() argument
33 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU()
36 int RegisterContextMach_x86_64::DoReadEXC(lldb::tid_t tid, int flavor, in DoReadEXC() argument
39 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC()
42 int RegisterContextMach_x86_64::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() argument
45 tid, flavor, reinterpret_cast<thread_state_t>(const_cast<GPR *>(&gpr)), in DoWriteGPR()
49 int RegisterContextMach_x86_64::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() argument
52 tid, flavor, reinterpret_cast<thread_state_t>(const_cast<FPU *>(&fpu)), in DoWriteFPU()
[all …]
H A DRegisterContextMach_i386.cpp24 int RegisterContextMach_i386::DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { in DoReadGPR() argument
26 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
29 int RegisterContextMach_i386::DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) { in DoReadFPU() argument
31 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU()
36 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC()
39 int RegisterContextMach_i386::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() argument
42 tid, flavor, reinterpret_cast<thread_state_t>(const_cast<GPR *>(&gpr)), in DoWriteGPR()
46 int RegisterContextMach_i386::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() argument
49 tid, flavor, reinterpret_cast<thread_state_t>(const_cast<FPU *>(&fpu)), in DoWriteFPU()
53 int RegisterContextMach_i386::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC() argument
[all …]
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_barrier.cpp391 if (!KMP_MASTER_TID(tid)) { in __kmp_dist_barrier_release()
502 __kmp_dist_barrier_wakeup(bt, team, tid + 1, group_end, 1, tid); in __kmp_dist_barrier_release()
542 __kmp_dist_barrier_wakeup(bt, team, tid + 1, group_end, 1, tid); in __kmp_dist_barrier_release()
547 b->iter[tid].iter = (b->iter[tid].iter + 1) % distributedBarrier::MAX_ITERS; in __kmp_dist_barrier_release()
665 if (KMP_MASTER_TID(tid)) { in __kmp_linear_barrier_release_template()
1107 if (KMP_MASTER_TID(tid)) { in __kmp_hyper_barrier_gather()
1268 __kmp_init_implicit_task(team->t.t_ident, team->t.t_threads[tid], team, tid, in __kmp_hyper_barrier_release()
1331 thr_bar->old_tid = tid; in __kmp_init_hierarchical_barrier_thread()
1412 for (child_tid = tid + 1; child_tid <= tid + thr_bar->leaf_kids; in __kmp_hierarchical_barrier_gather()
1612 __kmp_init_implicit_task(team->t.t_ident, team->t.t_threads[tid], team, tid, in __kmp_hierarchical_barrier_release()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/POSIX/
H A DProcessMessage.h54 return ProcessMessage(tid, eLimboMessage, status); in Limbo()
59 return ProcessMessage(tid, eSignalMessage, signum); in Signal()
69 static ProcessMessage Trace(lldb::tid_t tid) { in Trace() argument
70 return ProcessMessage(tid, eTraceMessage); in Trace()
74 static ProcessMessage Break(lldb::tid_t tid) { in Break() argument
75 return ProcessMessage(tid, eBreakpointMessage); in Break()
98 return ProcessMessage(tid, eExitMessage, status); in Exit()
102 static ProcessMessage Exec(lldb::tid_t tid) { in Exec() argument
103 return ProcessMessage(tid, eExecMessage); in Exec()
151 : m_tid(tid), m_kind(kind), in m_tid() argument
[all …]
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachThreadList.h35 uint32_t SaveRegisterState(nub_thread_t tid);
37 const char *GetThreadInfo(nub_thread_t tid) const;
43 const char *GetName(nub_thread_t tid);
44 nub_state_t GetState(nub_thread_t tid);
45 nub_thread_t SetCurrentThread(nub_thread_t tid);
49 nub_addr_t GetPThreadT(nub_thread_t tid);
50 nub_addr_t GetDispatchQueueT(nub_thread_t tid);
52 GetTSDAddressForThread(nub_thread_t tid,
57 bool GetThreadStoppedReason(nub_thread_t tid,
60 bool GetIdentifierInfo(nub_thread_t tid,
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_rtl_thread.cpp62 if (tctx->tid == kMainTid) { in ReportIgnoresEnabled()
124 return tid; in ThreadCreate()
129 if (tid == kMainTid) in OnCreated()
181 if (tid != kMainTid) { in ThreadStart()
278 CHECK_GT(tid, 0); in ThreadJoin()
279 CHECK_LT(tid, kMaxTid); in ThreadJoin()
280 DPrintf("#%d: ThreadJoin tid=%d\n", thr->tid, tid); in ThreadJoin()
293 CHECK_GT(tid, 0); in ThreadDetach()
294 CHECK_LT(tid, kMaxTid); in ThreadDetach()
304 CHECK_GT(tid, 0); in ThreadNotJoined()
[all …]
/llvm-project-15.0.7/compiler-rt/test/xray/TestCases/Posix/
H A Dfork_basic_logging.cpp50 uint64_t tid = syscall_gettid(); in log_syscall_gettid() local
51 printf("Logging tid %lu\n", tid); in log_syscall_gettid()
52 return tid; in log_syscall_gettid()
56 void __attribute__((noinline)) print_parent_tid(uint64_t tid) in print_parent_tid() argument
58 printf("Parent with tid %lu", tid); in print_parent_tid()
62 void __attribute__((noinline)) print_child_tid(uint64_t tid) in print_child_tid() argument
64 printf("Child with tid %lu", tid); in print_child_tid()
69 uint64_t tid = syscall_gettid(); in print_parent_or_child() local
70 if(tid == parent_tid) in print_parent_or_child()
72 print_parent_tid(tid); in print_parent_or_child()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DRegisterContextKDP_arm64.cpp30 .SendRequestReadRegisters(tid, GPRRegSet, &gpr, sizeof(gpr), in DoReadGPR()
45 .SendRequestReadRegisters(tid, FPURegSet, &fpu, sizeof(fpu), in DoReadFPU()
60 .SendRequestReadRegisters(tid, EXCRegSet, &exc, sizeof(exc), in DoReadEXC()
75 .SendRequestReadRegisters(tid, DBGRegSet, &dbg, sizeof(dbg), in DoReadDBG()
84 int RegisterContextKDP_arm64::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() argument
91 .SendRequestWriteRegisters(tid, GPRRegSet, &gpr, sizeof(gpr), in DoWriteGPR()
100 int RegisterContextKDP_arm64::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() argument
107 .SendRequestWriteRegisters(tid, FPURegSet, &fpu, sizeof(fpu), in DoWriteFPU()
116 int RegisterContextKDP_arm64::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC() argument
123 .SendRequestWriteRegisters(tid, EXCRegSet, &exc, sizeof(exc), in DoWriteEXC()
[all …]
H A DRegisterContextKDP_arm.cpp30 .SendRequestReadRegisters(tid, GPRRegSet, &gpr, sizeof(gpr), in DoReadGPR()
45 .SendRequestReadRegisters(tid, FPURegSet, &fpu, sizeof(fpu), in DoReadFPU()
60 .SendRequestReadRegisters(tid, EXCRegSet, &exc, sizeof(exc), in DoReadEXC()
75 .SendRequestReadRegisters(tid, DBGRegSet, &dbg, sizeof(dbg), in DoReadDBG()
84 int RegisterContextKDP_arm::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() argument
91 .SendRequestWriteRegisters(tid, GPRRegSet, &gpr, sizeof(gpr), in DoWriteGPR()
100 int RegisterContextKDP_arm::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() argument
107 .SendRequestWriteRegisters(tid, FPURegSet, &fpu, sizeof(fpu), in DoWriteFPU()
116 int RegisterContextKDP_arm::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC() argument
123 .SendRequestWriteRegisters(tid, EXCRegSet, &exc, sizeof(exc), in DoWriteEXC()
[all …]
/llvm-project-15.0.7/clang/test/OpenMP/
H A Ddebug_threadprivate_copyin.c37 int tid; in main() local
39 tid = omp_get_thread_num(); in main()
44 if (tid == 0) in main()
46 nt, tid, data, &gbl_dynamic_int, &gbl_static_int); in main()
47 if (tid == 1) in main()
49 nt, tid, data, &gbl_dynamic_int, &gbl_static_int); in main()
50 if (tid == 2) in main()
52 nt, tid, data, &gbl_dynamic_int, &gbl_static_int); in main()
53 if (tid == 3) in main()
55 nt, tid, data, &gbl_dynamic_int, &gbl_static_int); in main()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cpp24 ThreadContext::ThreadContext(Tid tid) : ThreadContextBase(tid), thr(), sync() {} in ThreadContext() argument
58 if (tctx->tid == kMainTid) { in ReportIgnoresEnabled()
121 parent = thr->tid; in ThreadCreate()
132 return tid; in ThreadCreate()
189 if (tid != kMainTid) { in ThreadStart()
204 DPrintf("#%d: ThreadStart\n", tid); in OnStarted()
205 new (thr) ThreadState(tid); in OnStarted()
294 CHECK_GT(tid, 0); in ThreadJoin()
295 DPrintf("#%d: ThreadJoin tid=%d\n", thr->tid, tid); in ThreadJoin()
317 CHECK_GT(tid, 0); in ThreadDetach()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_fuchsia.cpp28 ThreadContext::ThreadContext(int tid) : ThreadContextLsanBase(tid) {} in ThreadContext() argument
54 void ThreadStart(u32 tid) { in ThreadStart() argument
65 u32 tid = ThreadCreate(kMainTid, true, &args); in InitializeMainThread() local
66 CHECK_EQ(tid, 0); in InitializeMainThread()
67 ThreadStart(tid); in InitializeMainThread()
102 u32 tid = ThreadCreate(parent_tid, detached, &args); in __sanitizer_before_thread_create_hook() local
103 return reinterpret_cast<void *>(static_cast<uptr>(tid)); in __sanitizer_before_thread_create_hook()
109 u32 tid = static_cast<u32>(reinterpret_cast<uptr>(hook)); in __sanitizer_thread_create_hook() local
113 GetThreadRegistryLocked()->FinishThread(tid); in __sanitizer_thread_create_hook()
120 u32 tid = static_cast<u32>(reinterpret_cast<uptr>(hook)); in __sanitizer_thread_start_hook() local
[all …]

12345678910>>...28