/openbsd-src/gnu/llvm/clang/lib/Tooling/ |
H A D | AllTUsExecution.cpp | 65 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 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()
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
H A D | Threading.h | 162 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 D | AllTUsExecution.h | 34 unsigned ThreadCount, 42 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount, 70 unsigned ThreadCount; variable
|
/openbsd-src/gnu/llvm/llvm/lib/Support/ |
H A D | Parallel.cpp | 52 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 D | ThreadPool.cpp | 193 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 D | sanitizer_stoptheworld_mac.cpp | 36 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 D | sanitizer_stoptheworld_linux_libcdep.cpp | 94 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 D | sanitizer_stoptheworld_win.cpp | 42 uptr ThreadCount() const override; 74 uptr SuspendedThreadsListWindows::ThreadCount() const { in ThreadCount() function in __sanitizer::__anonc8a8899e0111::SuspendedThreadsListWindows
|
H A D | sanitizer_stoptheworld.h | 40 virtual uptr ThreadCount() const { UNIMPLEMENTED(); } in ThreadCount() function
|
H A D | sanitizer_stoptheworld_netbsd_libcdep.cpp | 56 uptr ThreadCount() const; 321 uptr SuspendedThreadsListNetBSD::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListNetBSD
|
/openbsd-src/gnu/llvm/llvm/tools/llvm-gsymutil/ |
H A D | llvm-gsymutil.cpp | 257 auto ThreadCount = in handleObjectFile() local 297 if (auto Err = DT.convert(ThreadCount)) in handleObjectFile()
|
/openbsd-src/gnu/llvm/compiler-rt/lib/lsan/ |
H A D | lsan_common.cpp | 404 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 D | LTOBackend.cpp | 425 unsigned ThreadCount = 0; in splitCodeGen() local 460 std::move(BC), ThreadCount++); in splitCodeGen()
|
H A D | ThinLTOCodeGenerator.cpp | 91 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 D | tsan_rtl_thread.cpp | 104 int ThreadCount(ThreadState *thr) { in ThreadCount() function
|
H A D | tsan_rtl.h | 567 int ThreadCount(ThreadState *thr);
|
H A D | tsan_rtl.cpp | 775 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1) in Finalize()
|