Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/llvm-project/llvm/include/llvm/Support/
H A Dthread.h72 thread() : Thread(native_handle_type()) {} in thread() function
73 thread(thread &&Other) noexcept in thread() function
77 explicit thread(Function &&f, Args &&...args) in thread() function
125 thread::thread(std::optional<unsigned> StackSizeInBytes, Function &&f, in thread() function
218 struct thread { struct
219 thread() {} in thread() function
220 thread(thread &&other) {} in thread() function
222 explicit thread(std::optional<unsigned> StackSizeInBytes, Function &&f, in thread() function
227 explicit thread(Function &&f, Args &&...args) { in thread() function
233 report_fatal_error("Detaching from a thread does not make sense with no " in detach() argument
[all …]
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dcreate_thread_loop2.cpp22 pthread_t thread; in loop() local
32 for (auto &thread : threads) in main() local
36 for (auto &thread : threads) in main() local
/llvm-project/openmp/runtime/src/
H A Dkmp_taskdeps.h21 static inline void __kmp_node_deref(kmp_info_t *thread, kmp_depnode_t *node) { in __kmp_node_deref()
40 static inline void __kmp_depnode_list_free(kmp_info_t *thread, in __kmp_depnode_list_free()
56 static inline void __kmp_dephash_free_entries(kmp_info_t *thread, in __kmp_dephash_free_entries()
83 static inline void __kmp_dephash_free(kmp_info_t *thread, kmp_dephash_t *h) { in __kmp_dephash_free()
112 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_release_deps() local
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_arg_retval.cpp20 void ThreadArgRetval::CreateLocked(uptr thread, bool detached, in CreateLocked()
42 void ThreadArgRetval::Finish(uptr thread, void* retval) { in Finish()
75 void ThreadArgRetval::AfterJoin(uptr thread, u32 gen) { in AfterJoin()
87 void ThreadArgRetval::DetachLocked(uptr thread) { in DetachLocked()
H A Dsanitizer_thread_arg_retval.h47 if (uptr thread = fn()) in Create() local
60 void Detach(uptr thread, const DetachFn& fn) { in Detach()
70 void Join(uptr thread, const JoinFn& fn) { in Join()
/llvm-project/lldb/source/Commands/
H A DCommandObjectThreadUtil.cpp41 Thread *thread = m_exe_ctx.GetThreadPtr(); in DoExecute() local
75 ThreadSP thread = in DoExecute() local
112 ThreadSP thread = process->GetThreadList().FindThreadByIndexID( in DoExecute() local
137 Thread *thread = process->GetThreadList().FindThreadByID(tid).get(); in BucketThread() local
182 Thread &thread = m_exe_ctx.GetThreadRef(); in DoExecute() local
194 ThreadSP thread = process.GetThreadList().FindThreadByIndexID(thread_idx); in DoExecute() local
/llvm-project/lldb/source/Symbol/
H A DFuncUnwinders.cpp61 Thread &thread) { in GetUnwindPlanAtCallSite() argument
199 UnwindPlanSP FuncUnwinders::GetSymbolFileUnwindPlan(Thread &thread) { in GetSymbolFileUnwindPlan() argument
215 Thread &thread) { in GetObjectFileAugmentedUnwindPlan() argument
246 Thread &thread) { in GetEHFrameAugmentedUnwindPlan() argument
287 Thread &thread) { in GetDebugFrameAugmentedUnwindPlan() argument
328 GetAssemblyUnwindPlan(Target & target,Thread & thread) GetAssemblyUnwindPlan() argument
353 CompareUnwindPlansForIdenticalInitialPCLocation(Thread & thread,const UnwindPlanSP & a,const UnwindPlanSP & b) CompareUnwindPlansForIdenticalInitialPCLocation() argument
384 GetUnwindPlanAtNonCallSite(Target & target,Thread & thread) GetUnwindPlanAtNonCallSite() argument
435 GetUnwindPlanFastUnwind(Target & target,Thread & thread) GetUnwindPlanFastUnwind() argument
454 GetUnwindPlanArchitectureDefault(Thread & thread) GetUnwindPlanArchitectureDefault() argument
478 GetUnwindPlanArchitectureDefaultAtFunctionEntry(Thread & thread) GetUnwindPlanArchitectureDefaultAtFunctionEntry() argument
[all...]
/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/
H A Dllgdb.py141 thread = process.GetThreadAtIndex(0) variable
146 thread = process.GetThreadAtIndex(0) variable
151 thread = process.GetThreadAtIndex(0) variable
/llvm-project/lldb/test/API/functionalities/thread/thread_specific_break/
H A DTestThreadSpecificBreakpoint.py12 def using_current(test, thread, breakpoint): argument
17 def set_thread_id(test, thread, breakpoint): argument
22 def set_thread_name(test, thread, breakpoint): argument
/llvm-project/lldb/source/Target/
H A DInstrumentationRuntimeStopInfo.cpp19 Thread &thread, std::string description, in InstrumentationRuntimeStopInfo()
32 Thread &thread, std::string description, in CreateStopReasonWithInstrumentationData()
H A DStopInfo.cpp33 StopInfo(Thread & thread,uint64_t value) StopInfo() argument
89 StopInfoBreakpoint(Thread & thread,break_id_t break_id) StopInfoBreakpoint() argument
97 StopInfoBreakpoint(Thread & thread,break_id_t break_id,bool should_stop) StopInfoBreakpoint() argument
138 IsValidForOperatingSystemThread(Thread & thread) IsValidForOperatingSystemThread() argument
674 StopInfoWatchpoint(Thread & thread,break_id_t watch_id,bool silently_skip_wp) StopInfoWatchpoint() argument
700 ThreadPlanStepOverWatchpoint(Thread & thread,StopInfoWatchpointSP stop_info_sp,WatchpointSP watch_sp) ThreadPlanStepOverWatchpoint() argument
1049 StopInfoUnixSignal(Thread & thread,int signo,const char * description,std::optional<int> code) StopInfoUnixSignal() argument
1132 StopInfoTrace(Thread & thread) StopInfoTrace() argument
1150 StopInfoException(Thread & thread,const char * description) StopInfoException() argument
1172 StopInfoProcessorTrace(Thread & thread,const char * description) StopInfoProcessorTrace() argument
1239 StopInfoExec(Thread & thread) StopInfoExec() argument
1272 StopInfoFork(Thread & thread,lldb::pid_t child_pid,lldb::tid_t child_tid) StopInfoFork() argument
1306 StopInfoVFork(Thread & thread,lldb::pid_t child_pid,lldb::tid_t child_tid) StopInfoVFork() argument
1340 StopInfoVForkDone(Thread & thread) StopInfoVForkDone() argument
1366 CreateStopReasonWithBreakpointSiteID(Thread & thread,break_id_t break_id) CreateStopReasonWithBreakpointSiteID() argument
1371 CreateStopReasonWithBreakpointSiteID(Thread & thread,break_id_t break_id,bool should_stop) CreateStopReasonWithBreakpointSiteID() argument
1379 CreateStopReasonWithWatchpointID(Thread & thread,break_id_t watch_id,bool silently_continue) CreateStopReasonWithWatchpointID() argument
1386 CreateStopReasonWithSignal(Thread & thread,int signo,const char * description,std::optional<int> code) CreateStopReasonWithSignal() argument
1393 CreateStopReasonToTrace(Thread & thread) CreateStopReasonToTrace() argument
1404 CreateStopReasonWithException(Thread & thread,const char * description) CreateStopReasonWithException() argument
1409 CreateStopReasonProcessorTrace(Thread & thread,const char * description) CreateStopReasonProcessorTrace() argument
1414 CreateStopReasonWithExec(Thread & thread) CreateStopReasonWithExec() argument
1418 CreateStopReasonFork(Thread & thread,lldb::pid_t child_pid,lldb::tid_t child_tid) CreateStopReasonFork() argument
1425 CreateStopReasonVFork(Thread & thread,lldb::pid_t child_pid,lldb::tid_t child_tid) CreateStopReasonVFork() argument
1431 CreateStopReasonVForkDone(Thread & thread) CreateStopReasonVForkDone() argument
[all...]
H A DThreadPlanStepInstruction.cpp23 ThreadPlanStepInstruction::ThreadPlanStepInstruction(Thread &thread, in ThreadPlanStepInstruction()
40 Thread &thread = GetThread(); in SetUpState() local
100 Thread &thread = GetThread(); in IsPlanStale() local
129 Thread &thread = GetThread(); in ShouldStop() local
H A DThreadPlanCallFunction.cpp35 Thread &thread, ABI *&abi, lldb::addr_t &start_load_addr, in ConstructorSetup()
98 Thread &thread, const Address &function, const CompilerType &return_type, in ThreadPlanCallFunction()
131 Thread &thread, const Address &function, in ThreadPlanCallFunction()
188 Thread &thread = GetThread(); in DoTakedown() local
379 Thread &thread = GetThread(); in DidPush() local
H A DThreadPlanTracer.cpp36 ThreadPlanTracer::ThreadPlanTracer(Thread &thread, lldb::StreamSP &stream_sp) in ThreadPlanTracer() argument
40 ThreadPlanTracer::ThreadPlanTracer(Thread &thread) in ThreadPlanTracer() argument
87 ThreadPlanAssemblyTracer::ThreadPlanAssemblyTracer(Thread &thread, in ThreadPlanAssemblyTracer() argument
92 ThreadPlanAssemblyTracer::ThreadPlanAssemblyTracer(Thread &thread) in ThreadPlanAssemblyTracer() argument
[all...]
/llvm-project/compiler-rt/test/lsan/TestCases/
H A Dthread_context_crash.cpp30 for (auto &thread : threads) in main() local
33 for (auto &thread : threads) in main() local
H A Dcreate_thread_leak.cpp35 for (auto &thread : threads) { in main() local
41 for (auto &thread : threads) { in main() local
/llvm-project/lldb/source/API/
H A DSBHostOS.cpp109 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) { in ThreadCancel()
114 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) { in ThreadDetach()
119 bool SBHostOS::ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result, in ThreadJoin()
H A DSBTrace.cpp46 SBTraceCursor SBTrace::CreateNewCursor(SBError &error, SBThread &thread) { in CreateNewCursor() argument
104 Start(const SBThread & thread,const SBStructuredData & configuration) Start() argument
131 Stop(const SBThread & thread) Stop() argument
[all...]
/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp118 Thread *thread = static_cast<Thread *>(hook); in ThreadCreateHook() local
134 Thread *thread = static_cast<Thread *>(hook); in ThreadStartHook() local
143 static void FinishThreadInitialization(Thread *thread) { in FinishThreadInitialization()
153 Thread *thread = static_cast<Thread *>(hook); in ThreadExitHook() local
215 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook()
223 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
/llvm-project/compiler-rt/test/tsan/
H A Dsignal_recursive.cpp63 static void StopWorld(pthread_t thread) { in StopWorld()
73 static void StartWorld(pthread_t thread) { in StartWorld()
83 static void CollectGarbage(pthread_t thread) { in CollectGarbage()
/llvm-project/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/
H A Dmain.cpp35 for (auto &thread : threads) in main() local
38 for (auto &thread : threads) in main() local
/llvm-project/lldb/source/Plugins/ABI/Hexagon/
H A DABISysV_hexagon.cpp1011 bool ABISysV_hexagon::PrepareTrivialCall(Thread &thread, lldb::addr_t sp, in PrepareTrivialCall() argument
1051 Thread &thread, lldb::addr_t sp, lldb::addr_t pc, lldb::addr_t ra, in PrepareTrivialCall() argument
1172 bool ABISysV_hexagon::GetArgumentValues(Thread &thread, in GetArgumentValues() argument
1185 Thread &thread, CompilerType &return_compiler_type) const { in GetReturnValueObjectSimple() argument
1191 Thread &thread, CompilerType &return_compiler_type) const { in GetReturnValueObjectImpl() argument
1283 ABISysV_hexagon::GetReturnValueObjectImpl(lldb_private::Thread &thread, in GetReturnValueObjectImpl() argument
[all...]
/llvm-project/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp122 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread() local
182 AsanThread *thread = CreateAsanThread(&stack, parent_tid, detached, name); BeforeThreadCreateHook() local
195 AsanThread *thread = static_cast<AsanThread *>(hook); ThreadCreateHook() local
211 AsanThread *thread = static_cast<AsanThread *>(hook); ThreadStartHook() local
254 __sanitizer_before_thread_create_hook(thrd_t thread,bool detached,const char * name,void * stack_base,size_t stack_size) __sanitizer_before_thread_create_hook() argument
262 __sanitizer_thread_create_hook(void * hook,thrd_t thread,int error) __sanitizer_thread_create_hook() argument
[all...]
/llvm-project/lldb/utils/lui/
H A Dlldbutil.py690 def get_caller_symbol(thread): argument
704 def get_function_names(thread): argument
715 def get_symbol_names(thread): argument
726 def get_pc_addresses(thread): argument
737 def get_filenames(thread): argument
748 def get_line_numbers(thread): argument
759 def get_module_names(thread): argument
770 def get_stack_frames(thread): argument
781 def print_stacktrace(thread, string_buffer=False): argument
/llvm-project/lldb/test/Shell/ExecControl/StopHook/Inputs/
H A Dstop-hook-threads.cpp61 for (auto &thread : threads) in main() local
65 for (auto &thread : threads) in main() local

12345678910>>...16