| /llvm-project-15.0.7/llvm/unittests/Debuginfod/ |
| H A D | HTTPServerTests.cpp | 94 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() 118 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() 137 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() 169 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() 205 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() 222 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() 259 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() 291 ThreadPool Pool(hardware_concurrency(1)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | ThreadPool.cpp | 162 ThreadPool Pool(hardware_concurrency(2)); in TEST_F() 178 ThreadPool Pool(hardware_concurrency(2)); in TEST_F() 190 ThreadPool Pool(hardware_concurrency(2)); in TEST_F() 224 ThreadPoolStrategy S = hardware_concurrency(2); in TEST_F() 297 ThreadPoolStrategy S = hardware_concurrency(2); in TEST_F() 406 if (llvm::hardware_concurrency().compute_thread_count() < 4) in TEST_F()
|
| H A D | TaskQueueTest.cpp | 25 ThreadPool TP(hardware_concurrency(1)); in TEST_F() 69 ThreadPool TP(hardware_concurrency(1)); in TEST_F() 99 ThreadPool TP(hardware_concurrency(1)); in TEST_F()
|
| H A D | Threading.cpp | 25 hardware_concurrency().compute_thread_count()); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | thread.h | 108 static unsigned hardware_concurrency() { in hardware_concurrency() function 109 return std::thread::hardware_concurrency(); in hardware_concurrency() 198 static unsigned hardware_concurrency() { 199 return std::thread::hardware_concurrency(); 244 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
|
| H A D | Threading.h | 185 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
|
| H A D | ThreadPool.h | 58 ThreadPool(ThreadPoolStrategy S = hardware_concurrency());
|
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/ |
| H A D | thread_contention.cpp | 50 if (std::thread::hardware_concurrency() < NumThreads) { in runThreadContentionTest() 51 NumThreads = std::thread::hardware_concurrency(); in runThreadContentionTest()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Threading.cpp | 101 return llvm::hardware_concurrency(); in get_threadpool_strategy() 113 ThreadPoolStrategy S = llvm::hardware_concurrency(); in get_threadpool_strategy()
|
| H A D | Parallel.cpp | 43 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { in ThreadPoolExecutor()
|
| /llvm-project-15.0.7/libcxx/src/ |
| H A D | thread.cpp | 74 thread::hardware_concurrency() noexcept in hardware_concurrency() function in thread 95 # warning hardware_concurrency not yet implemented in hardware_concurrency()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.static/ |
| H A D | hardware_concurrency.pass.cpp | 24 assert(std::thread::hardware_concurrency() > 0); in main()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | ParallelUtilities.cpp | 29 cl::init(hardware_concurrency().compute_thread_count()), 109 llvm::hardware_concurrency(opts::ThreadCount)); in getThreadPool()
|
| /llvm-project-15.0.7/libc/test/src/math/exhaustive/ |
| H A D | exhaustive_test.cpp | 25 int n_threads = std::thread::hardware_concurrency(); in test_full_range()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ParallelCG.cpp | 55 ThreadPool CodegenThreadPool(hardware_concurrency(OSs.size())); in splitCodeGen()
|
| /llvm-project-15.0.7/llvm/tools/llvm-debuginfod/ |
| H A D | llvm-debuginfod.cpp | 77 ThreadPool Pool(hardware_concurrency(MaxConcurrency)); in main()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | AllTUsExecution.cpp | 118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Threading.inc | 305 // Guard against std::thread::hardware_concurrency() returning 0. 306 if (unsigned Val = std::thread::hardware_concurrency())
|
| /llvm-project-15.0.7/llvm/examples/SpeculativeJIT/ |
| H A D | SpeculativeJIT.cpp | 139 ThreadPool CompileThreads{llvm::hardware_concurrency(NumThreads)};
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | thread | 44 static unsigned hardware_concurrency() noexcept; 274 static unsigned hardware_concurrency() _NOEXCEPT;
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtil.cpp | 220 unsigned N = std::thread::hardware_concurrency(); in NumberOfCpuCores()
|
| /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ |
| H A D | Delta.cpp | 280 std::make_unique<ThreadPool>(hardware_concurrency(NumJobs)); in runDeltaPass()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-doc/tool/ |
| H A D | ClangDocMain.cpp | 271 llvm::ThreadPool Pool(llvm::hardware_concurrency(ExecutorConcurrency)); in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CoverageExporterJson.cpp | 233 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles()
|
| /llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.cpp | 91 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
|