Searched refs:hardware_concurrency (Results 1 - 20 of 20) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h45 static unsigned hardware_concurrency() { return 1; };
H A DThreadPool.h46 ThreadPool(ThreadPoolStrategy S = hardware_concurrency());
H A DThreading.h188 /// resources. To be used for workloads where hardware_concurrency() proves to
191 /// back to hardware_concurrency(). Returns 1 when LLVM is configured with
217 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) { function in namespace:llvm
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DThreading.cpp138 return llvm::hardware_concurrency();
150 ThreadPoolStrategy S = llvm::hardware_concurrency();
H A DParallel.cpp43 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { argument
/freebsd-13-stable/contrib/llvm-project/libcxx/src/
H A Dthread.cpp81 thread::hardware_concurrency() _NOEXCEPT
106 _LIBCPP_WARNING("hardware_concurrency not yet implemented")
108 # warning hardware_concurrency not yet implemented
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DParallelCG.cpp54 ThreadPool CodegenThreadPool(hardware_concurrency(OSs.size()));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/
H A DAllTUsExecution.cpp118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount));
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtil.cpp220 unsigned N = std::thread::hardware_concurrency();
222 Printf("WARNING: std::thread::hardware_concurrency not well defined for "
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp166 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads);
H A DCoverageReport.cpp356 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads);
H A DCodeCoverage.cpp947 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp110 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp448 ThreadPool pool(hardware_concurrency(NumThreads));
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp327 NumThreads = std::min(hardware_concurrency().compute_thread_count(),
343 ThreadPool Pool(hardware_concurrency(NumThreads));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLLJIT.cpp1102 std::make_unique<ThreadPool>(hardware_concurrency(S.NumCompileThreads));
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.cpp2749 std::min<size_t>(hardware_concurrency(parallel::strategy.ThreadsRequested)
3205 std::min<size_t>(hardware_concurrency(parallel::strategy.ThreadsRequested)
H A DDriver.cpp1122 parallel::strategy = hardware_concurrency(threads);
/freebsd-13-stable/contrib/llvm-project/lld/COFF/
H A DDriver.cpp1162 parallel::strategy = hardware_concurrency(threads);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp2536 ThreadPool Pool(hardware_concurrency(2));

Completed in 255 milliseconds