Home
last modified time | relevance | path

Searched refs:getThreadCount (Results 1 – 6 of 6) sorted by relevance

/llvm-project/llvm/lib/Support/
H A DParallel.cpp42 virtual size_t getThreadCount() const = 0;
108 size_t getThreadCount() const override { return ThreadCount; } in add()
172 size_t getThreadCount() { in getDefaultExecutor()
173 return detail::Executor::getDefaultExecutor()->getThreadCount(); in getDefaultExecutor()
112 size_t getThreadCount() const override { return ThreadCount; } getThreadCount() function in llvm::parallel::detail::__anon5042709c0111::ThreadPoolExecutor
186 size_t getThreadCount() { getThreadCount() function
/llvm-project/llvm/include/llvm/Support/
H A DThreadPool.h153 unsigned getThreadCount() const { return MaxThreadCount; } in getThreadCount() function
237 unsigned getThreadCount() const { return 1; } in getThreadCount() function
H A DParallel.h52 size_t getThreadCount();
55 inline size_t getThreadCount() { return 1; } in getThreadCount() function
H A DPerThreadBumpPtrAllocator.h31 : NumOfAllocators(parallel::getThreadCount()), in PerThreadAllocator()
/llvm-project/llvm/unittests/Support/
H A DPerThreadBumpPtrAllocatorTest.cpp53 EXPECT_EQ(Allocator.getNumberOfAllocators(), parallel::getThreadCount()); in TEST()
/llvm-project/llvm/lib/LTO/
H A DLTO.cpp2019 if (BackendProcess->getThreadCount() == 1 ||
1555 unsigned getThreadCount() override { getThreadCount() function in __anonaa2c08900f11::InProcessThinBackend
1658 unsigned getThreadCount() override { return 1; } getThreadCount() function in __anonaa2c08901411::WriteIndexesThinBackend