Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h108 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 DThreadPool.h46 ThreadPool(ThreadPoolStrategy S = hardware_concurrency());
H A DThreading.h188 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DThreading.cpp101 return llvm::hardware_concurrency(); in get_threadpool_strategy()
113 ThreadPoolStrategy S = llvm::hardware_concurrency(); in get_threadpool_strategy()
H A DParallel.cpp43 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { in ThreadPoolExecutor()
/freebsd-13.1/contrib/llvm-project/libcxx/src/
H A Dthread.cpp73 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 DParallelCG.cpp56 ThreadPool CodegenThreadPool(hardware_concurrency(OSs.size())); in splitCodeGen()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DAllTUsExecution.cpp118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc302 // 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 Dthread44 static unsigned hardware_concurrency() noexcept;
270 static unsigned hardware_concurrency() _NOEXCEPT;
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtil.cpp220 unsigned N = std::thread::hardware_concurrency(); in NumberOfCpuCores()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp109 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in SingleCache()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp233 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles()
H A DCoverageReport.cpp391 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in prepareFileReports()
H A DCodeCoverage.cpp1057 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp453 ThreadPool pool(hardware_concurrency(NumThreads)); in convert()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLLJIT.cpp760 std::make_unique<ThreadPool>(hardware_concurrency(S.NumCompileThreads)); in LLJIT()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp340 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 DDriver.cpp1167 parallel::strategy = hardware_concurrency(threads); in link()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.cpp2855 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 DDriver.cpp1280 parallel::strategy = hardware_concurrency(threads); in readConfigs()
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DDriver.cpp1323 parallel::strategy = hardware_concurrency(threads); in linkerMain()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp2573 ThreadPool Pool(hardware_concurrency(2)); in link()