/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | thread.h | 103 static unsigned hardware_concurrency() { in hardware_concurrency() function 104 return std::thread::hardware_concurrency(); in hardware_concurrency() 191 static unsigned hardware_concurrency() { 192 return std::thread::hardware_concurrency(); 237 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
|
H A D | raw_socket_stream.h | 44 int MaxBacklog = llvm::hardware_concurrency().compute_thread_count());
|
H A D | Threading.h | 185 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
|
H A D | ThreadPool.h | 58 ThreadPool(ThreadPoolStrategy S = hardware_concurrency());
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Threading.cpp | 112 return llvm::hardware_concurrency(); in get_threadpool_strategy() 124 ThreadPoolStrategy S = llvm::hardware_concurrency(); in get_threadpool_strategy()
|
H A D | Parallel.cpp | 51 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { in ThreadPoolExecutor()
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | thread.cpp | 64 unsigned thread::hardware_concurrency() noexcept { in hardware_concurrency() function in thread 84 # warning hardware_concurrency not yet implemented in hardware_concurrency()
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/ |
H A D | jthread.h | 111 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI static unsigned int hardware_concurrency() noexcept { in hardware_concurrency() function 112 return thread::hardware_concurrency(); in hardware_concurrency()
|
H A D | thread.h | 186 static unsigned hardware_concurrency() _NOEXCEPT;
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ParallelCG.cpp | 55 ThreadPool CodegenThreadPool(hardware_concurrency(OSs.size())); in splitCodeGen()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/ |
H A D | AllTUsExecution.cpp | 118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | thread | 44 static unsigned hardware_concurrency() noexcept;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtil.cpp | 220 unsigned N = std::thread::hardware_concurrency(); in NumberOfCpuCores()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Threading.inc | 310 // Guard against std::thread::hardware_concurrency() returning 0. 311 if (unsigned Val = std::thread::hardware_concurrency())
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | CoverageReport.cpp | 461 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in prepareFileReports() 578 ThreadPoolStrategy PoolS = hardware_concurrency(Options.NumThreads); in prepareDirectoryReports()
|
H A D | CoverageExporterJson.cpp | 273 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles()
|
H A D | CodeCoverage.cpp | 1214 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.cpp | 92 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | DwarfTransformer.cpp | 578 ThreadPool pool(hardware_concurrency(NumThreads)); in convert()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | LLJIT.cpp | 976 std::make_unique<ThreadPool>(hardware_concurrency(S.NumCompileThreads)); in LLJIT()
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
H A D | DWARFLinkerImpl.cpp | 183 hardware_concurrency(GlobalData.getOptions().Threads); in link()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Driver.cpp | 1588 parallel::strategy = hardware_concurrency(threads); in readConfigs() 1592 parallel::strategy = hardware_concurrency(16); in readConfigs()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/ |
H A D | llvm-profdata.cpp | 886 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile() 901 ThreadPool Pool(hardware_concurrency(NumThreads)); in mergeInstrProfile()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | Driver.cpp | 1559 parallel::strategy = hardware_concurrency(threads); in link()
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Driver.cpp | 1499 parallel::strategy = hardware_concurrency(threads); in linkerMain()
|