| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | ThreadPool.cpp | 24 : ThreadCount(S.compute_thread_count()) { in ThreadPool() 27 Threads.reserve(ThreadCount); in ThreadPool() 28 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool() 115 : ThreadCount(S.compute_thread_count()) { in ThreadPool() 116 if (ThreadCount != 1) { in ThreadPool() 117 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
|
| H A D | Parallel.cpp | 44 unsigned ThreadCount = S.compute_thread_count(); in ThreadPoolExecutor() local 47 Threads.reserve(ThreadCount); in ThreadPoolExecutor() 50 Threads[0] = std::thread([this, ThreadCount, S] { in ThreadPoolExecutor() 51 for (unsigned I = 1; I < ThreadCount; ++I) { in ThreadPoolExecutor()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | AllTUsExecution.cpp | 65 const CompilationDatabase &Compilations, unsigned ThreadCount, in AllTUsToolExecutor() argument 68 Context(Results.get()), ThreadCount(ThreadCount) {} in AllTUsToolExecutor() 71 CommonOptionsParser Options, unsigned ThreadCount, in AllTUsToolExecutor() argument 76 ThreadCount(ThreadCount) {} in AllTUsToolExecutor() 118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ParallelCG.cpp | 57 int ThreadCount = 0; in splitCodeGen() local 73 BCOSs[ThreadCount]->write(BC.begin(), BC.size()); in splitCodeGen() 74 BCOSs[ThreadCount]->flush(); in splitCodeGen() 77 llvm::raw_pwrite_stream *ThreadOS = OSs[ThreadCount++]; in splitCodeGen()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Threading.h | 165 heavyweight_hardware_concurrency(unsigned ThreadCount = 0) { 168 S.ThreadsRequested = ThreadCount; 188 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) { 190 S.ThreadsRequested = ThreadCount;
|
| H A D | ThreadPool.h | 71 unsigned getThreadCount() const { return ThreadCount; } in getThreadCount() 104 unsigned ThreadCount; variable
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/ |
| H A D | AllTUsExecution.h | 33 unsigned ThreadCount, 41 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount, 69 unsigned ThreadCount; variable
|
| /freebsd-13.1/sys/contrib/dev/acpica/components/dispatcher/ |
| H A D | dsmethod.c | 480 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX) in AcpiDsBeginMethodExecution() 608 ObjDesc->Method.ThreadCount++; in AcpiDsBeginMethodExecution() 917 (MethodDesc->Method.ThreadCount == 1)) in AcpiDsTerminateControlMethod() 965 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod() 967 MethodDesc->Method.ThreadCount--; in AcpiDsTerminateControlMethod() 977 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod() 985 MethodDesc->Method.ThreadCount)); in AcpiDsTerminateControlMethod()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_mac.cpp | 36 uptr ThreadCount() const override; 75 uptr num_suspended = suspended_threads_list.ThreadCount(); in RunThread() 121 uptr SuspendedThreadsListMac::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListMac
|
| H A D | sanitizer_stoptheworld_linux_libcdep.cpp | 93 uptr ThreadCount() const override; 188 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) { in ResumeAllThreads() 204 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) in KillAllThreads() 231 return suspended_threads_list_.ThreadCount(); in SuspendAllThreads() 540 uptr SuspendedThreadsListLinux::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListLinux
|
| H A D | sanitizer_stoptheworld.h | 40 virtual uptr ThreadCount() const { UNIMPLEMENTED(); } in ThreadCount() function
|
| H A D | sanitizer_stoptheworld_netbsd_libcdep.cpp | 56 uptr ThreadCount() const; 321 uptr SuspendedThreadsListNetBSD::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListNetBSD
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_common.cpp | 281 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) { in ProcessThreads() 653 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount()); in ReportUnsuspendedThreads() 654 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i) in ReportUnsuspendedThreads()
|
| /freebsd-13.1/sys/contrib/dev/acpica/include/ |
| H A D | acobject.h | 337 UINT8 ThreadCount; member
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTOBackend.cpp | 428 unsigned ThreadCount = 0; in splitCodeGen() local 463 std::move(BC), ThreadCount++); in splitCodeGen()
|
| H A D | ThinLTOCodeGenerator.cpp | 92 static cl::opt<int> ThreadCount("threads", cl::init(0)); variable 1146 ThreadPool Pool(heavyweight_hardware_concurrency(ThreadCount)); in run()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_thread.cpp | 222 int ThreadCount(ThreadState *thr) { in ThreadCount() function
|
| H A D | tsan_rtl.h | 757 int ThreadCount(ThreadState *thr);
|
| H A D | tsan_rtl.cpp | 486 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1) in Finalize()
|
| /freebsd-13.1/sys/contrib/dev/acpica/components/executer/ |
| H A D | exdump.c | 259 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ThreadCount), "Thread Count"},
|