Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Support/
H A DThreading.cpp51 unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { in compute_thread_count() function in llvm::ThreadPoolStrategy
60 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 ThreadPool()
193 int ThreadCount = S.compute_thread_count(); in ThreadPool()
H A DParallel.cpp44 unsigned ThreadCount = S.compute_thread_count(); in ThreadPoolExecutor()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DThreadPool.cpp225 if (S.compute_thread_count() < 2) in TEST_F()
298 if (S.compute_thread_count() < 2) in TEST_F()
355 for (size_t I = 0; I < S.compute_thread_count(); ++I) { in RunOnAllSockets()
372 [&]() { return Active == S.compute_thread_count(); }); in RunOnAllSockets()
406 if (llvm::hardware_concurrency().compute_thread_count() < 4) in TEST_F()
H A DThreading.cpp24 ASSERT_LE(Num.compute_thread_count(), in TEST()
25 hardware_concurrency().compute_thread_count()); in TEST()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DThreading.inc271 if (compute_thread_count() <= MaxThreadsPerSocket)
274 assert(ThreadPoolNum < compute_thread_count() &&
278 return (ThreadPoolNum * Groups.size()) / compute_thread_count();
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DThreading.h134 unsigned compute_thread_count() const;
/llvm-project-15.0.7/bolt/lib/Core/
H A DParallelUtilities.cpp29 cl::init(hardware_concurrency().compute_thread_count()),
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp91 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
/llvm-project-15.0.7/lld/MachO/
H A DWriter.cpp1117 unsigned chunkCount = parallel::strategy.compute_thread_count() * 10; in writeUuid()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DTUScheduler.cpp1584 return llvm::heavyweight_hardware_concurrency().compute_thread_count(); in getDefaultAsyncThreadsCount()
/llvm-project-15.0.7/lld/ELF/
H A DSyntheticSections.cpp2837 .compute_thread_count(), in createSymbols()
3315 .compute_thread_count(), in finalizeContents()
/llvm-project-15.0.7/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp398 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DDarwin.cpp674 llvm::get_threadpool_strategy(Parallelism)->compute_thread_count(); in ConstructJob()