| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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;
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/ |
| H A D | AllTUsExecution.h | 33 unsigned ThreadCount, 41 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount, 69 unsigned ThreadCount; variable
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Parallel.cpp | 44 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()
|
| 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()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | ParallelUtilities.cpp | 27 ThreadCount("thread-count", variable 109 llvm::hardware_concurrency(opts::ThreadCount)); in getThreadPool() 142 const unsigned BlocksCount = TasksPerThread * opts::ThreadCount; in runOnEachFunction() 199 const unsigned BlocksCount = TasksPerThread * opts::ThreadCount; in runOnEachFunctionWithUniqueAllocId()
|
| /llvm-project-15.0.7/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() 121 uptr SuspendedThreadsListMac::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListMac
|
| H A D | sanitizer_stoptheworld_linux_libcdep.cpp | 93 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 D | sanitizer_stoptheworld_win.cpp | 42 uptr ThreadCount() const override; 74 uptr SuspendedThreadsListWindows::ThreadCount() const { in ThreadCount() function in __sanitizer::__anonfe3ecff70111::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
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/GSYM/ |
| H A D | GSYMTest.cpp | 1337 const uint32_t ThreadCount = 1; in TEST() local 1338 ASSERT_THAT_ERROR(DT.convert(ThreadCount), Succeeded()); in TEST() 1414 const uint32_t ThreadCount = 1; in TEST() local 1415 ASSERT_THAT_ERROR(DT.convert(ThreadCount), Succeeded()); in TEST() 1521 const uint32_t ThreadCount = 1; in TEST() local 1522 ASSERT_THAT_ERROR(DT.convert(ThreadCount), Succeeded()); in TEST() 1626 const uint32_t ThreadCount = 1; in TEST() local 1824 const uint32_t ThreadCount = 1; in TEST() local 2084 const uint32_t ThreadCount = 1; in TEST() local 2263 const uint32_t ThreadCount = 1; in TEST() local [all …]
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | ParallelUtilities.h | 25 extern cl::opt<unsigned> ThreadCount;
|
| /llvm-project-15.0.7/llvm/tools/llvm-gsymutil/ |
| H A D | llvm-gsymutil.cpp | 256 auto ThreadCount = in handleObjectFile() local 297 if (auto Err = DT.convert(ThreadCount)) in handleObjectFile()
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_common.cpp | 370 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) { in ProcessThreads() 662 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount()); in ReportUnsuspendedThreads() 663 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i) in ReportUnsuspendedThreads()
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTOBackend.cpp | 423 unsigned ThreadCount = 0; in splitCodeGen() local 458 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()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_rtl_thread.cpp | 108 int ThreadCount(ThreadState *thr) { in ThreadCount() function
|
| H A D | tsan_rtl.cpp | 492 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1) in Finalize()
|
| H A D | tsan_rtl.h | 541 int ThreadCount(ThreadState *thr);
|
| /llvm-project-15.0.7/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 | 564 int ThreadCount(ThreadState *thr);
|
| H A D | tsan_rtl.cpp | 772 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1) in Finalize()
|