/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | ThreadPool.cpp | 24 : ThreadCount(S.compute_thread_count()) { 25 // Create ThreadCount threads that will loop forever, wait on QueueCondition 27 Threads.reserve(ThreadCount); 28 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { 105 // No threads are launched, issue a warning if ThreadCount is not 0 107 : ThreadCount(S.compute_thread_count()) { 108 if (ThreadCount != 1) { 109 errs() << "Warning: request a ThreadPool with " << ThreadCount
|
H A D | Parallel.cpp | 44 unsigned ThreadCount = S.compute_thread_count(); local 47 Threads.reserve(ThreadCount); 50 Threads[0] = std::thread([this, ThreadCount, S] { 51 for (unsigned I = 1; I < ThreadCount; ++I) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ParallelCG.cpp | 55 int ThreadCount = 0; local 71 BCOSs[ThreadCount]->write(BC.begin(), BC.size()); 72 BCOSs[ThreadCount]->flush(); 75 llvm::raw_pwrite_stream *ThreadOS = OSs[ThreadCount++];
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | AllTUsExecution.h | 30 /// This uses \p ThreadCount threads to exececute the actions on all files in 31 /// parallel. If \p ThreadCount is 0, this uses `llvm::hardware_concurrency`. 33 unsigned ThreadCount, 41 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount, 69 unsigned ThreadCount; member in class:clang::tooling::AllTUsToolExecutor
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | AllTUsExecution.cpp | 65 const CompilationDatabase &Compilations, unsigned ThreadCount, 68 Context(Results.get()), ThreadCount(ThreadCount) {} 71 CommonOptionsParser Options, unsigned ThreadCount, 76 ThreadCount(ThreadCount) {} 118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); 64 AllTUsToolExecutor( const CompilationDatabase &Compilations, unsigned ThreadCount, std::shared_ptr<PCHContainerOperations> PCHContainerOps) argument 70 AllTUsToolExecutor( CommonOptionsParser Options, unsigned ThreadCount, std::shared_ptr<PCHContainerOperations> PCHContainerOps) argument
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stoptheworld.h | 42 virtual uptr ThreadCount() const { UNIMPLEMENTED(); } function in class:__sanitizer::SuspendedThreadsList
|
H A D | sanitizer_stoptheworld_mac.cpp | 36 uptr ThreadCount() const; 75 uptr num_suspended = suspended_threads_list.ThreadCount(); 121 uptr SuspendedThreadsListMac::ThreadCount() const { function in class:__sanitizer::SuspendedThreadsListMac
|
H A D | sanitizer_stoptheworld_linux_libcdep.cpp | 93 uptr ThreadCount() const; 188 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) { 204 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) 231 return suspended_threads_list_.ThreadCount(); 520 uptr SuspendedThreadsListLinux::ThreadCount() const { function in class:__sanitizer::SuspendedThreadsListLinux
|
H A D | sanitizer_stoptheworld_netbsd_libcdep.cpp | 56 uptr ThreadCount() const; 321 uptr SuspendedThreadsListNetBSD::ThreadCount() const { function in class:__sanitizer::SuspendedThreadsListNetBSD
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Threading.h | 194 heavyweight_hardware_concurrency(unsigned ThreadCount = 0) { 197 S.ThreadsRequested = ThreadCount; 217 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) { 219 S.ThreadsRequested = ThreadCount;
|
H A D | ThreadPool.h | 71 unsigned getThreadCount() const { return ThreadCount; } 101 unsigned ThreadCount; member in class:llvm::ThreadPool
|
/freebsd-13-stable/sys/contrib/dev/acpica/components/dispatcher/ |
H A D | dsmethod.c | 480 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX) 608 ObjDesc->Method.ThreadCount++; 917 (MethodDesc->Method.ThreadCount == 1)) 965 if (MethodDesc->Method.ThreadCount) 967 MethodDesc->Method.ThreadCount--; 977 if (MethodDesc->Method.ThreadCount) 985 MethodDesc->Method.ThreadCount));
|
/freebsd-13-stable/sys/contrib/dev/acpica/include/ |
H A D | acobject.h | 337 UINT8 ThreadCount; member in struct:acpi_object_method
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTOBackend.cpp | 415 unsigned ThreadCount = 0; local 450 std::move(BC), ThreadCount++);
|
H A D | ThinLTOCodeGenerator.cpp | 86 static cl::opt<int> ThreadCount("threads", cl::init(0)); 1061 ThreadPool Pool(heavyweight_hardware_concurrency(ThreadCount));
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_common.cpp | 231 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) { 561 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount()); 562 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i)
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl_thread.cpp | 228 int ThreadCount(ThreadState *thr) { function in namespace:__tsan
|
H A D | tsan_rtl.cpp | 448 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1)
|
H A D | tsan_rtl.h | 783 int ThreadCount(ThreadState *thr);
|
/freebsd-13-stable/sys/contrib/dev/acpica/components/executer/ |
H A D | exdump.c | 259 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ThreadCount), "Thread Count"},
|