/llvm-project/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::DefaultThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | Threading.h | 161 heavyweight_hardware_concurrency(unsigned ThreadCount = 0) { 164 S.ThreadsRequested = ThreadCount; 184 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) { 186 S.ThreadsRequested = ThreadCount;
|
/llvm-project/llvm/lib/Support/ |
H A D | Parallel.cpp | 52 ThreadCount = S.compute_thread_count(); in ThreadPoolExecutor() 55 Threads.reserve(ThreadCount); in ThreadPoolExecutor() 62 for (unsigned I = 1; I < ThreadCount; ++I) { in ThreadPoolExecutor() 108 size_t getThreadCount() const override { return ThreadCount; } in add() 132 unsigned ThreadCount; in work() 155 unsigned ThreadCount; global() member in llvm::parallel::detail::__anon5042709c0111::ThreadPoolExecutor
|
H A D | ThreadPool.cpp | 194 int ThreadCount = S.compute_thread_count(); in SingleThreadExecutor() local 195 if (ThreadCount != 1) { in SingleThreadExecutor() 196 errs() << "Warning: request a ThreadPool with " << ThreadCount in SingleThreadExecutor()
|
/llvm-project/clang/include/clang/Tooling/ |
H A D | AllTUsExecution.h | 34 unsigned ThreadCount, 42 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount, 70 unsigned ThreadCount; variable
|
/llvm-project/bolt/lib/Core/ |
H A D | ParallelUtilities.cpp | 27 ThreadCount("thread-count", variable 146 const unsigned BlocksCount = TasksPerThread * opts::ThreadCount; in runOnEachFunction() 215 const unsigned BlocksCount = TasksPerThread * opts::ThreadCount; in runOnEachFunctionWithUniqueAllocId()
|
/llvm-project/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; 185 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) { in SuspendThread() 201 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) in ResumeAllThreads() 239 return suspended_threads_list_.ThreadCount(); 554 uptr SuspendedThreadsListLinux::ThreadCount() const { in ContainsTid() 547 uptr SuspendedThreadsListLinux::ThreadCount() const { 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::__anon9291efba0111::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/llvm/unittests/DebugInfo/GSYM/ |
H A D | GSYMTest.cpp | 1343 const uint32_t ThreadCount = 1; in TEST() local 1344 ASSERT_THAT_ERROR(DT.convert(ThreadCount, OSAgg), Succeeded()); in TEST() 1421 const uint32_t ThreadCount = 1; in TEST() local 1422 ASSERT_THAT_ERROR(DT.convert(ThreadCount, OSAgg), Succeeded()); in TEST() 1529 const uint32_t ThreadCount = 1; in TEST() local 1530 ASSERT_THAT_ERROR(DT.convert(ThreadCount, OSAgg), Succeeded()); in TEST() 1635 const uint32_t ThreadCount = 1; in TEST() local 1636 ASSERT_THAT_ERROR(DT.convert(ThreadCount, OSAgg), Succeeded()); in TEST() 1834 const uint32_t ThreadCount = 1; in TEST() local 1835 ASSERT_THAT_ERROR(DT.convert(ThreadCount, OSAg in TEST() 2095 const uint32_t ThreadCount = 1; TEST() local 2275 const uint32_t ThreadCount = 1; TEST() local 2416 const uint32_t ThreadCount = 1; TEST() local 3057 const uint32_t ThreadCount = 1; TEST() local 3285 const uint32_t ThreadCount = 1; TEST() local 3522 const uint32_t ThreadCount = 1; TEST() local 3802 const uint32_t ThreadCount = 1; TEST() local 4005 const uint32_t ThreadCount = 1; TEST() local 4158 const uint32_t ThreadCount = 1; TEST() local 4320 const uint32_t ThreadCount = 1; TEST() local 4641 const uint32_t ThreadCount = 1; TEST() local 4857 const uint32_t ThreadCount = 1; TEST() local [all...] |
/llvm-project/bolt/include/bolt/Core/ |
H A D | ParallelUtilities.h | 26 extern cl::opt<unsigned> ThreadCount; 54 getThreadPool(const unsigned ThreadsCount = opts::ThreadCount);
|
/llvm-project/llvm/tools/llvm-gsymutil/ |
H A D | llvm-gsymutil.cpp | 349 auto ThreadCount = in handleObjectFile() 395 if (auto Err = DT.convert(ThreadCount, Out)) in handleBuffer() 311 auto ThreadCount = handleObjectFile() local
|
/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_common.cpp | 563 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) { 792 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount()); in CheckForLeaks() 793 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i) in CheckForLeaks()
|
/llvm-project/llvm/lib/LTO/ |
H A D | LTOBackend.cpp | 466 unsigned ThreadCount = 0; in splitCodeGen() 499 std::move(BC), ThreadCount++); in finalizeOptimizationRemarks() 432 unsigned ThreadCount = 0; splitCodeGen() local
|
H A D | ThinLTOCodeGenerator.cpp | 91 static cl::opt<int> ThreadCount("threads", cl::init(0)); 1123 DefaultThreadPool Pool(heavyweight_hardware_concurrency(ThreadCount)); in run() 93 static cl::opt<int> ThreadCount("threads", cl::init(0)); global() variable
|
/llvm-project/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 | 777 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1) in Finalize()
|