Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DAllTUsExecution.cpp63 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 DThreadPool.cpp27 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 DParallel.cpp66 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 DParallelCG.cpp56 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 DAllTUsExecution.h34 unsigned ThreadCount,
42 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount,
72 unsigned ThreadCount; variable
/freebsd-12.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-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_mac.cc37 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 Dsanitizer_stoptheworld_linux_libcdep.cc94 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 Dsanitizer_stoptheworld.h43 virtual uptr ThreadCount() const { UNIMPLEMENTED(); } in ThreadCount() function
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DThreadPool.h47 ThreadPool(unsigned ThreadCount);
/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_common.cc222 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 Dacobject.h336 UINT8 ThreadCount; member
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DLTOBackend.cpp340 unsigned ThreadCount = 0; in splitCodeGen() local
374 std::move(BC), ThreadCount++); in splitCodeGen()
H A DThinLTOCodeGenerator.cpp80 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 Dtsan_rtl_thread.cc226 int ThreadCount(ThreadState *thr) { in ThreadCount() function
H A Dtsan_rtl.h775 int ThreadCount(ThreadState *thr);
H A Dtsan_rtl.cc440 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1) in Finalize()
/freebsd-12.1/sys/contrib/dev/acpica/components/executer/
H A Dexdump.c259 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ThreadCount), "Thread Count"},