Home
last modified time | relevance | path

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

/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.h113 int MaxBacklog = llvm::hardware_concurrency().compute_thread_count());
H A DThreading.h185 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
H A DThreadPool.h130 StdThreadPool(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 detach()
82 _LIBCPP_WARNING("hardware_concurrency not yet implemented") in hardware_concurrency()
84 # warning hardware_concurrency not yet implemented in hardware_concurrency()
76 thread::hardware_concurrency() noexcept hardware_concurrency() function in thread
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Djthread.h110 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI static unsigned int hardware_concurrency() noexcept { in hardware_concurrency() function
111 return thread::hardware_concurrency(); in hardware_concurrency()
H A Dthread.h185 static unsigned hardware_concurrency() _NOEXCEPT;
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DAllTUsExecution.cpp118 llvm::DefaultThreadPool 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.inc313 // Guard against std::thread::hardware_concurrency() returning 0.
314 if (unsigned Val = std::thread::hardware_concurrency())
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageReport.cpp478 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in prepareFileReports()
595 ThreadPoolStrategy PoolS = hardware_concurrency(Options.NumThreads); in prepareDirectoryReports()
H A DCoverageExporterJson.cpp273 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles()
H A DCodeCoverage.cpp1186 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp93 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp604 DefaultThreadPool pool(hardware_concurrency(NumThreads)); in convert()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerImpl.cpp181 hardware_concurrency(GlobalData.getOptions().Threads); in link()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp944 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile()
959 DefaultThreadPool Pool(hardware_concurrency(NumThreads)); in mergeInstrProfile()
/freebsd/contrib/llvm-project/lld/ELF/
H A DDriver.cpp1666 parallel::strategy = hardware_concurrency(threads); in readConfigs()
1670 parallel::strategy = hardware_concurrency(16); in readConfigs()
/freebsd/contrib/llvm-project/lld/MachO/
H A DDriver.cpp1623 parallel::strategy = hardware_concurrency(threads); in link()
/freebsd/contrib/llvm-project/lld/COFF/
H A DDriver.cpp1491 parallel::strategy = hardware_concurrency(threads); in linkerMain()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp2958 DefaultThreadPool Pool(hardware_concurrency(2)); in link()