Home
last modified time | relevance | path

Searched refs:hardware_concurrency (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h103 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 Draw_socket_stream.h44 int MaxBacklog = llvm::hardware_concurrency().compute_thread_count());
H A DThreading.h185 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
H A DThreadPool.h58 ThreadPool(ThreadPoolStrategy S = hardware_concurrency());
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DThreading.cpp112 return llvm::hardware_concurrency(); in get_threadpool_strategy()
124 ThreadPoolStrategy S = llvm::hardware_concurrency(); in get_threadpool_strategy()
H A DParallel.cpp51 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { in ThreadPoolExecutor()
/freebsd/contrib/llvm-project/libcxx/src/
H A Dthread.cpp64 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 Djthread.h111 [[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 Dthread.h186 static unsigned hardware_concurrency() _NOEXCEPT;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DParallelCG.cpp55 ThreadPool CodegenThreadPool(hardware_concurrency(OSs.size())); in splitCodeGen()
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DAllTUsExecution.cpp118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dthread44 static unsigned hardware_concurrency() noexcept;
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtil.cpp220 unsigned N = std::thread::hardware_concurrency(); in NumberOfCpuCores()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc310 // 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 DCoverageReport.cpp461 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in prepareFileReports()
578 ThreadPoolStrategy PoolS = hardware_concurrency(Options.NumThreads); in prepareDirectoryReports()
H A DCoverageExporterJson.cpp273 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles()
H A DCodeCoverage.cpp1214 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp92 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp578 ThreadPool pool(hardware_concurrency(NumThreads)); in convert()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLLJIT.cpp976 std::make_unique<ThreadPool>(hardware_concurrency(S.NumCompileThreads)); in LLJIT()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerImpl.cpp183 hardware_concurrency(GlobalData.getOptions().Threads); in link()
/freebsd/contrib/llvm-project/lld/ELF/
H A DDriver.cpp1588 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 Dllvm-profdata.cpp886 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 DDriver.cpp1559 parallel::strategy = hardware_concurrency(threads); in link()
/freebsd/contrib/llvm-project/lld/COFF/
H A DDriver.cpp1499 parallel::strategy = hardware_concurrency(threads); in linkerMain()

12