reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/Threading.h
  159   unsigned hardware_concurrency();

References

lib/Support/Parallel.cpp
   39   explicit ThreadPoolExecutor(unsigned ThreadCount = hardware_concurrency())
lib/Support/ThreadPool.cpp
   24 ThreadPool::ThreadPool() : ThreadPool(hardware_concurrency()) {}
tools/clang/lib/Tooling/AllTUsExecution.cpp
  117     llvm::ThreadPool Pool(ThreadCount == 0 ? llvm::hardware_concurrency()
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
  109   NumShards = std::max(2u, llvm::hardware_concurrency() / 4);
tools/clang/tools/clang-scan-deps/ClangScanDeps.cpp
  207       NumThreads == 0 ? llvm::hardware_concurrency() : NumThreads;
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  271   llvm::ThreadPool Pool(ExecutorConcurrency == 0 ? llvm::hardware_concurrency()
tools/lld/ELF/SyntheticSections.cpp
 2646         std::min<size_t>(PowerOf2Floor(hardware_concurrency()), numShards);
 3089         std::min<size_t>(PowerOf2Floor(hardware_concurrency()), numShards);
tools/llvm-profdata/llvm-profdata.cpp
  311         std::min(hardware_concurrency(), unsigned((Inputs.size() + 1) / 2));