| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ |
| H A D | AllTUsExecution.cpp | 63 const CompilationDatabase &Compilations, unsigned ThreadCount, in AllTUsToolExecutor() argument 66 Context(Results.get()), ThreadCount(ThreadCount) {} in AllTUsToolExecutor() 69 CommonOptionsParser Options, unsigned ThreadCount, in AllTUsToolExecutor() argument 74 ThreadCount(ThreadCount) {} in AllTUsToolExecutor() 116 llvm::ThreadPool Pool(ThreadCount == 0 ? llvm::hardware_concurrency() in execute() 117 : ThreadCount); in execute()
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | ThreadPool.cpp | 27 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument 31 Threads.reserve(ThreadCount); in ThreadPool() 32 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool() 115 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument 117 if (ThreadCount) { in ThreadPool() 118 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
|
| H A D | Parallel.cpp | 66 explicit ThreadPoolExecutor(unsigned ThreadCount = hardware_concurrency()) in ThreadPoolExecutor() argument 67 : Done(ThreadCount) { in ThreadPoolExecutor() 70 std::thread([&, ThreadCount] { in ThreadPoolExecutor() 71 for (size_t i = 1; i < ThreadCount; ++i) { in ThreadPoolExecutor()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | ParallelCG.cpp | 56 int ThreadCount = 0; in splitCodeGen() local 72 BCOSs[ThreadCount]->write(BC.begin(), BC.size()); in splitCodeGen() 73 BCOSs[ThreadCount]->flush(); in splitCodeGen() 76 llvm::raw_pwrite_stream *ThreadOS = OSs[ThreadCount++]; in splitCodeGen()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/ |
| H A D | AllTUsExecution.h | 34 unsigned ThreadCount, 42 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount, 72 unsigned ThreadCount; variable
|
| /freebsd-12.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-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_mac.cc | 37 uptr ThreadCount() const; 76 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.cc | 94 uptr ThreadCount() const; 189 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) { in ResumeAllThreads() 205 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) in KillAllThreads() 231 return suspended_threads_list_.ThreadCount(); in SuspendAllThreads() 520 uptr SuspendedThreadsListLinux::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListLinux
|
| H A D | sanitizer_stoptheworld.h | 43 virtual uptr ThreadCount() const { UNIMPLEMENTED(); } in ThreadCount() function
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | ThreadPool.h | 47 ThreadPool(unsigned ThreadCount);
|
| /freebsd-12.1/contrib/compiler-rt/lib/lsan/ |
| H A D | lsan_common.cc | 222 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) { in ProcessThreads() 544 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount()); in ReportUnsuspendedThreads() 545 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i) in ReportUnsuspendedThreads()
|
| /freebsd-12.1/sys/contrib/dev/acpica/include/ |
| H A D | acobject.h | 336 UINT8 ThreadCount; member
|
| /freebsd-12.1/contrib/llvm/lib/LTO/ |
| H A D | LTOBackend.cpp | 340 unsigned ThreadCount = 0; in splitCodeGen() local 374 std::move(BC), ThreadCount++); in splitCodeGen()
|
| H A D | ThinLTOCodeGenerator.cpp | 80 ThreadCount("threads", cl::init(llvm::heavyweight_hardware_concurrency())); 937 ThreadPool Pool(ThreadCount); in run()
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_thread.cc | 226 int ThreadCount(ThreadState *thr) { in ThreadCount() function
|
| H A D | tsan_rtl.h | 775 int ThreadCount(ThreadState *thr);
|
| H A D | tsan_rtl.cc | 440 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1) in Finalize()
|
| /freebsd-12.1/sys/contrib/dev/acpica/components/executer/ |
| H A D | exdump.c | 259 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ThreadCount), "Thread Count"},
|