| /freebsd-13.1/contrib/llvm-project/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 | ThreadPool.h | 46 ThreadPool(ThreadPoolStrategy S = hardware_concurrency());
|
| H A D | Threading.h | 188 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/libcxx/src/ |
| H A D | thread.cpp | 73 thread::hardware_concurrency() noexcept in hardware_concurrency() function in thread 94 # warning hardware_concurrency not yet implemented in hardware_concurrency()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ParallelCG.cpp | 56 ThreadPool CodegenThreadPool(hardware_concurrency(OSs.size())); in splitCodeGen()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | AllTUsExecution.cpp | 118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Threading.inc | 302 // Guard against std::thread::hardware_concurrency() returning 0. 303 if (unsigned Val = std::thread::hardware_concurrency())
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/ |
| H A D | thread | 44 static unsigned hardware_concurrency() noexcept; 270 static unsigned hardware_concurrency() _NOEXCEPT;
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtil.cpp | 220 unsigned N = std::thread::hardware_concurrency(); in NumberOfCpuCores()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.cpp | 109 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in SingleCache()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | CoverageExporterJson.cpp | 233 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles()
|
| H A D | CoverageReport.cpp | 391 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in prepareFileReports()
|
| H A D | CodeCoverage.cpp | 1057 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | DwarfTransformer.cpp | 453 ThreadPool pool(hardware_concurrency(NumThreads)); in convert()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | LLJIT.cpp | 760 std::make_unique<ThreadPool>(hardware_concurrency(S.NumCompileThreads)); in LLJIT()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 340 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile() 356 ThreadPool Pool(hardware_concurrency(NumThreads)); in mergeInstrProfile()
|
| /freebsd-13.1/contrib/llvm-project/lld/MachO/ |
| H A D | Driver.cpp | 1167 parallel::strategy = hardware_concurrency(threads); in link()
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | SyntheticSections.cpp | 2855 std::min<size_t>(hardware_concurrency(parallel::strategy.ThreadsRequested) in createSymbols() 3322 std::min<size_t>(hardware_concurrency(parallel::strategy.ThreadsRequested) in finalizeContents()
|
| H A D | Driver.cpp | 1280 parallel::strategy = hardware_concurrency(threads); in readConfigs()
|
| /freebsd-13.1/contrib/llvm-project/lld/COFF/ |
| H A D | Driver.cpp | 1323 parallel::strategy = hardware_concurrency(threads); in linkerMain()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinker.cpp | 2573 ThreadPool Pool(hardware_concurrency(2)); in link()
|