Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Support/
DThreading.cpp24 ASSERT_LE(Num.compute_thread_count(), in TEST()
25 hardware_concurrency().compute_thread_count()); in TEST()
DThreadPool.cpp188 for (size_t I = 0; I < S.compute_thread_count(); ++I) { in RunOnAllSockets()
205 [&]() { return Active == S.compute_thread_count(); }); in RunOnAllSockets()
/external/llvm-project/llvm/lib/Support/
DThreading.cpp58 unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { in compute_thread_count() function in llvm::ThreadPoolStrategy
86 unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { in compute_thread_count() function in llvm::ThreadPoolStrategy
DThreadPool.cpp24 : ThreadCount(S.compute_thread_count()) { in ThreadPool()
107 : ThreadCount(S.compute_thread_count()) { in ThreadPool()
DParallel.cpp44 unsigned ThreadCount = S.compute_thread_count(); in ThreadPoolExecutor()
/external/llvm-project/llvm/lib/Support/Windows/
DThreading.inc253 if (compute_thread_count() <= MaxThreadsPerSocket)
256 assert(ThreadPoolNum < compute_thread_count() &&
260 return (ThreadPoolNum * Groups.size()) / compute_thread_count();
/external/llvm-project/llvm/include/llvm/Support/
DThreading.h166 unsigned compute_thread_count() const;
/external/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningFilesystem.cpp110 std::max(2u, llvm::hardware_concurrency().compute_thread_count() / 4); in DependencyScanningFilesystemSharedCache()
/external/llvm-project/mlir/lib/Pass/
DPass.cpp527 asyncExecutors.assign(llvm::hardware_concurrency().compute_thread_count(), in runOnOperationAsyncImpl()
/external/llvm-project/clang-tools-extra/clangd/
DTUScheduler.cpp1215 return llvm::heavyweight_hardware_concurrency().compute_thread_count(); in getDefaultAsyncThreadsCount()
/external/llvm-project/lld/ELF/
DSyntheticSections.cpp2794 .compute_thread_count(), in createSymbols()
3251 .compute_thread_count(), in finalizeContents()
/external/llvm-project/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp328 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile()
/external/llvm-project/clang/lib/Driver/ToolChains/
DDarwin.cpp653 llvm::get_threadpool_strategy(Parallelism)->compute_thread_count(); in ConstructJob()