Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DThreading.h162 heavyweight_hardware_concurrency(unsigned ThreadCount = 0) {
165 S.ThreadsRequested = ThreadCount;
185 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
187 S.ThreadsRequested = ThreadCount;
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/
H A DAllTUsExecution.h34 unsigned ThreadCount,
42 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount,
70 unsigned ThreadCount; variable
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DParallel.cpp52 unsigned ThreadCount = S.compute_thread_count(); in ThreadPoolExecutor() local
55 Threads.reserve(ThreadCount); in ThreadPoolExecutor()
58 Threads[0] = std::thread([this, ThreadCount, S] { in ThreadPoolExecutor()
59 for (unsigned I = 1; I < ThreadCount; ++I) { in ThreadPoolExecutor()
H A DThreadPool.cpp193 int ThreadCount = S.compute_thread_count(); in ThreadPool() local
194 if (ThreadCount != 1) { in ThreadPool()
195 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
/openbsd-src/gnu/llvm/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()
124 uptr SuspendedThreadsListMac::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListMac
H A Dsanitizer_stoptheworld_linux_libcdep.cpp94 uptr ThreadCount() const override;
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()
232 return suspended_threads_list_.ThreadCount(); in SuspendAllThreads()
547 uptr SuspendedThreadsListLinux::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListLinux
H A Dsanitizer_stoptheworld_win.cpp42 uptr ThreadCount() const override;
74 uptr SuspendedThreadsListWindows::ThreadCount() const { in ThreadCount() function in __sanitizer::__anonc8a8899e0111::SuspendedThreadsListWindows
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
/openbsd-src/gnu/llvm/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp257 auto ThreadCount = in handleObjectFile() local
297 if (auto Err = DT.convert(ThreadCount)) in handleObjectFile()
/openbsd-src/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan_common.cpp404 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) { in ProcessThreads()
690 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount()); in ReportUnsuspendedThreads()
691 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i) in ReportUnsuspendedThreads()
/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DLTOBackend.cpp425 unsigned ThreadCount = 0; in splitCodeGen() local
460 std::move(BC), ThreadCount++); in splitCodeGen()
H A DThinLTOCodeGenerator.cpp91 static cl::opt<int> ThreadCount("threads", cl::init(0)); variable
1128 ThreadPool Pool(heavyweight_hardware_concurrency(ThreadCount)); in run()
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cpp104 int ThreadCount(ThreadState *thr) { in ThreadCount() function
H A Dtsan_rtl.h567 int ThreadCount(ThreadState *thr);
H A Dtsan_rtl.cpp775 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1) in Finalize()