Home
last modified time | relevance | path

Searched refs:compute_thread_count (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DThreading.cpp43 unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { in compute_thread_count() function in llvm::ThreadPoolStrategy
55 unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { in compute_thread_count() function in llvm::ThreadPoolStrategy
H A DThreadPool.cpp36 : Strategy(S), MaxThreadCount(S.compute_thread_count()) {} in StdThreadPool()
194 int ThreadCount = S.compute_thread_count(); in SingleThreadExecutor()
H A DParallel.cpp52 ThreadCount = S.compute_thread_count(); in ThreadPoolExecutor()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A Draw_socket_stream.h113 int MaxBacklog = llvm::hardware_concurrency().compute_thread_count());
H A DThreading.h134 unsigned compute_thread_count() const;
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DThreading.inc284 if (compute_thread_count() <= MaxThreadsPerSocket)
287 assert(ThreadPoolNum < compute_thread_count() &&
291 return (ThreadPoolNum * Groups.size()) / compute_thread_count();
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DConcurrentHashtable.h105 size_t ThreadsNum = parallel::strategy.compute_thread_count(),
/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/lld/ELF/
H A DDriver.cpp1668 } else if (parallel::strategy.compute_thread_count() > 16) { in readConfigs()
1674 config->threadCount = parallel::strategy.compute_thread_count(); in readConfigs()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp944 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp717 llvm::get_threadpool_strategy(Parallelism)->compute_thread_count(); in ConstructJob()