Home
last modified time | relevance | path

Searched refs:ThreadCount (Results 1 – 20 of 20) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DThreadPool.cpp24 : 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 DParallel.cpp44 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 DAllTUsExecution.cpp65 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 DParallelCG.cpp57 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 DThreading.h165 heavyweight_hardware_concurrency(unsigned ThreadCount = 0) {
168 S.ThreadsRequested = ThreadCount;
188 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
190 S.ThreadsRequested = ThreadCount;
H A DThreadPool.h71 unsigned getThreadCount() const { return ThreadCount; } in getThreadCount()
104 unsigned ThreadCount; variable
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/
H A DAllTUsExecution.h33 unsigned ThreadCount,
41 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount,
69 unsigned ThreadCount; variable
/freebsd-13.1/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsmethod.c480 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 Dsanitizer_stoptheworld_mac.cpp36 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 Dsanitizer_stoptheworld_linux_libcdep.cpp93 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 Dsanitizer_stoptheworld.h40 virtual uptr ThreadCount() const { UNIMPLEMENTED(); } in ThreadCount() function
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp56 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 Dlsan_common.cpp281 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 Dacobject.h337 UINT8 ThreadCount; member
/freebsd-13.1/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp428 unsigned ThreadCount = 0; in splitCodeGen() local
463 std::move(BC), ThreadCount++); in splitCodeGen()
H A DThinLTOCodeGenerator.cpp92 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 Dtsan_rtl_thread.cpp222 int ThreadCount(ThreadState *thr) { in ThreadCount() function
H A Dtsan_rtl.h757 int ThreadCount(ThreadState *thr);
H A Dtsan_rtl.cpp486 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1) in Finalize()
/freebsd-13.1/sys/contrib/dev/acpica/components/executer/
H A Dexdump.c259 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ThreadCount), "Thread Count"},