Home
last modified time | relevance | path

Searched refs:thread_idx (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectThreadUtil.cpp70 uint32_t thread_idx; in DoExecute() local
71 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
78 process->GetThreadList().FindThreadByIndexID(thread_idx); in DoExecute()
190 uint32_t thread_idx; in DoExecute() local
191 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
197 ThreadSP thread = process.GetThreadList().FindThreadByIndexID(thread_idx); in DoExecute()
H A DCommandObjectThread.cpp693 uint32_t thread_idx; in DoExecute() local
694 if (entry.ref().getAsInteger(0, thread_idx)) { in DoExecute()
700 process->GetThreadList().FindThreadByIndexID(thread_idx).get(); in DoExecute()
706 thread_idx); in DoExecute()
2243 uint32_t thread_idx; in GetThread() local
2245 if (!llvm::to_integer(arg, thread_idx)) { in GetThread()
2252 thread_idx); in GetThread()
/llvm-project-15.0.7/lldb/test/API/functionalities/process_save_core_minidump/
H A DTestProcessSaveCoreMinidump.py37 for thread_idx in range(process.GetNumThreads()):
38 thread = process.GetThreadAtIndex(thread_idx)
80 for thread_idx in range(process.GetNumThreads()):
81 thread = process.GetThreadAtIndex(thread_idx)
/llvm-project-15.0.7/mlir/test/Dialect/SCF/
H A Dinvalid.mlir531 …%result:2 = scf.foreach_thread (%thread_idx) in (%num_threads) -> (tensor<100xf32>, tensor<100xf32…
532 %1 = tensor.extract_slice %in[%thread_idx][1][1] : tensor<100xf32> to tensor<1xf32>
534 tensor.parallel_insert_slice %1 into %out[%thread_idx][1][1] :
548 %result = scf.foreach_thread (%thread_idx) in (%num_threads) -> (tensor<?xf32>) {
549 %1 = tensor.extract_slice %in[%thread_idx][1][1] : tensor<100xf32> to tensor<1xf32>
551 tensor.parallel_insert_slice %1 into %out[%thread_idx][1][1] :
564 %result = scf.foreach_thread (%thread_idx) in (%num_threads) -> (tensor<100xf32>) {
565 %1 = tensor.extract_slice %in[%thread_idx][1][1] : tensor<100xf32> to tensor<1xf32>
568 tensor.parallel_insert_slice %1 into %out[%thread_idx][1][1] :
H A Done-shot-bufferize-tensor-copy-insertion.mlir124 %result = scf.foreach_thread (%thread_idx) in (%num_threads) -> tensor<100xf32> {
128 %1 = tensor.extract_slice %in[%thread_idx][1][1] : tensor<100xf32> to tensor<1xf32>
130 tensor.parallel_insert_slice %1 into %out[%thread_idx][1][1] :
H A Dops.mlir326 %result = scf.foreach_thread (%thread_idx) in (%num_threads) -> tensor<100xf32> {
327 %1 = tensor.extract_slice %in[%thread_idx][1][1] : tensor<100xf32> to tensor<1xf32>
329 tensor.parallel_insert_slice %1 into %out[%thread_idx][1][1] :
343 scf.foreach_thread (%thread_idx) in (%num_threads) -> () {
/llvm-project-15.0.7/lldb/test/API/functionalities/scripted_process/
H A Dstack_core_scripted_process.py102 thread_idx = args.GetValueForKey("thread_idx")
115 val = extract_value_from_structured_data(thread_idx, 0)
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A Dlldb-vscode.cpp231 for (uint32_t thread_idx = 0; thread_idx < num_threads; ++thread_idx) { in SendThreadStoppedEvent() local
232 lldb::SBThread thread = process.GetThreadAtIndex(thread_idx); in SendThreadStoppedEvent()
260 for (uint32_t thread_idx = 0; thread_idx < num_threads; ++thread_idx) { in SendThreadStoppedEvent() local
261 lldb::SBThread thread = process.GetThreadAtIndex(thread_idx); in SendThreadStoppedEvent()
2653 for (uint32_t thread_idx = 0; thread_idx < num_threads; ++thread_idx) { in request_threads() local
2654 lldb::SBThread thread = process.GetThreadAtIndex(thread_idx); in request_threads()
/llvm-project-15.0.7/lldb/examples/python/
H A Dcrashlog.py724 thread_idx = int(thread_state_match.group(1))
726 self.thread = self.crashlog.threads[thread_idx]
736 thread_idx = int(thread_match.group(1))
737 self.thread = self.crashlog.Thread(thread_idx, False)
860 for thread_idx in range(process.num_threads):
861 thread = process.thread[thread_idx]
862 out_file.write('\nThread %u:\n' % (thread_idx))
/llvm-project-15.0.7/lldb/source/API/
H A DSBBreakpointLocation.cpp326 uint32_t thread_idx = UINT32_MAX; in GetThreadIndex() local
333 return thread_idx; in GetThreadIndex()
H A DSBBreakpoint.cpp385 uint32_t thread_idx = UINT32_MAX; in GetThreadIndex() local
393 thread_idx = thread_spec->GetIndex(); in GetThreadIndex()
396 return thread_idx; in GetThreadIndex()
/llvm-project-15.0.7/mlir/test/Dialect/Tensor/
H A Done-shot-bufferize.mlir208 %result = scf.foreach_thread (%thread_idx) in (%num_threads) -> tensor<200x100xf32> {
209 %1 = tensor.extract_slice %in[%thread_idx][1][1] : tensor<100xf32> to tensor<1xf32>
213 tensor.parallel_insert_slice %1 into %out[1, %thread_idx][1, 1][1, 1] :
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp427 for (uint32_t thread_idx = 0; thread_idx < num_threads; ++thread_idx) { in AddThreadList() local
428 ThreadSP thread_sp(thread_list.GetThreadAtIndex(thread_idx)); in AddThreadList()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DDNB.h129 nub_size_t thread_idx) DNB_EXPORT;
H A DDNB.cpp1403 nub_thread_t DNBProcessGetThreadAtIndex(nub_process_t pid, size_t thread_idx) { in DNBProcessGetThreadAtIndex() argument
1406 return procSP->GetThreadAtIndex(thread_idx); in DNBProcessGetThreadAtIndex()
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.h282 nub_thread_t GetThreadAtIndex(nub_size_t thread_idx) const;
H A DMachProcess.mm583 nub_thread_t MachProcess::GetThreadAtIndex(nub_size_t thread_idx) const {
584 return m_thread_list.ThreadIDAtIndex(thread_idx);
1575 uint32_t thread_idx =
1578 *thread_idx_ptr = thread_idx;
1579 if (thread_idx != UINT32_MAX)
1613 uint32_t thread_idx =
1616 *thread_idx_ptr = thread_idx;
1623 uint32_t thread_idx = UINT32_MAX;
1624 nub_state_t state = DoSIGSTOP(true, true, &thread_idx);
1632 thread_action.tid = m_thread_list.ThreadIDAtIndex(thread_idx);
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp6619 for (uint32_t thread_idx = 0; thread_idx < num_threads; ++thread_idx) {
6620 ThreadSP thread_sp(thread_list.GetThreadAtIndex(thread_idx));
6626 thread_sp.get(), LC_THREAD_datas[thread_idx]);
6631 thread_sp.get(), LC_THREAD_datas[thread_idx]);
6636 thread_sp.get(), LC_THREAD_datas[thread_idx]);
6641 thread_sp.get(), LC_THREAD_datas[thread_idx]);