| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | ThreadPool.cpp | 117 ThreadPool Pool; in TEST_F() local 126 Pool.wait(); in TEST_F() 137 ThreadPool Pool; in TEST_F() local 141 Pool.wait(); in TEST_F() 147 ThreadPool Pool; in TEST_F() local 156 Pool.wait(); in TEST_F() 172 Pool.wait(); in TEST_F() 183 Pool.wait(); in TEST_F() 196 Pool.wait(); in TEST_F() 206 ThreadPool Pool; in TEST_F() local [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Debuginfod/ |
| H A D | HTTPServerTests.cpp | 94 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() local 95 Pool.async([&]() { EXPECT_THAT_ERROR(Server.listen(), Succeeded()); }); in TEST_F() 118 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() local 119 Pool.async([&]() { EXPECT_THAT_ERROR(Server.listen(), Succeeded()); }); in TEST_F() 137 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() local 138 Pool.async([&]() { EXPECT_THAT_ERROR(Server.listen(), Succeeded()); }); in TEST_F() 169 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() local 205 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() local 222 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() local 259 ThreadPool Pool(hardware_concurrency(1)); in TEST_F() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | ManagedStringPool.h | 26 SmallVector<std::string *, 8> Pool; variable 32 SmallVectorImpl<std::string *>::iterator Current = Pool.begin(); in ~ManagedStringPool() 33 while (Current != Pool.end()) { in ~ManagedStringPool() 41 Pool.push_back(Str); in getManagedString()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfStringPool.cpp | 22 : Pool(A), Prefix(Prefix), in DwarfStringPool() 27 auto I = Pool.insert(std::make_pair(Str, EntryTy())); in getEntryImpl() 77 if (Pool.empty()) in emit() 85 Entries.reserve(Pool.size()); in emit() 87 for (const auto &E : Pool) in emit() 115 for (const auto &Entry : Pool) { in emit()
|
| H A D | AddressPool.cpp | 22 Pool.insert(std::make_pair(Sym, AddressPoolEntry(Pool.size(), TLS))); in getIndex() 59 SmallVector<const MCExpr *, 64> Entries(Pool.size()); in emit() 61 for (const auto &I : Pool) in emit()
|
| H A D | DwarfStringPool.h | 29 StringMap<EntryTy, BumpPtrAllocator &> Pool; variable 49 bool empty() const { return Pool.empty(); } in empty() 51 unsigned size() const { return Pool.size(); } in size()
|
| H A D | AddressPool.h | 30 DenseMap<const MCSymbol *, AddressPoolEntry> Pool; variable 47 bool isEmpty() { return Pool.empty(); } in isEmpty()
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | SymbolStringPool.h | 53 PoolMap Pool; variable 164 assert(Pool.empty() && "Dangling references at pool destruction time"); 172 std::tie(I, Added) = Pool.try_emplace(S, 0); 178 for (auto I = Pool.begin(), E = Pool.end(); I != E;) { 181 Pool.erase(Tmp); 187 return Pool.empty();
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | ParallelUtilities.cpp | 147 ThreadPool &Pool = getThreadPool(); in runOnEachFunction() local 157 Pool.async(runBlock, BlockBegin, std::next(It)); in runOnEachFunction() 162 Pool.async(runBlock, BlockBegin, BC.getBinaryFunctions().end()); in runOnEachFunction() 163 Pool.wait(); in runOnEachFunction() 204 ThreadPool &Pool = getThreadPool(); in runOnEachFunctionWithUniqueAllocId() local 220 Pool.async(runBlock, BlockBegin, std::next(It), AllocId); in runOnEachFunctionWithUniqueAllocId() 234 Pool.async(runBlock, BlockBegin, BC.getBinaryFunctions().end(), AllocId); in runOnEachFunctionWithUniqueAllocId() 236 Pool.wait(); in runOnEachFunctionWithUniqueAllocId()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXString.cpp | 128 for (std::vector<CXStringBuf *>::iterator I = Pool.begin(), E = Pool.end(); in ~CXStringPool() 135 if (Pool.empty()) in getCXStringBuf() 138 CXStringBuf *Buf = Pool.back(); in getCXStringBuf() 140 Pool.pop_back(); in getCXStringBuf() 149 TU->StringPool->Pool.push_back(this); in dispose()
|
| H A D | CXString.h | 80 std::vector<CXStringBuf *> Pool;
|
| /llvm-project-15.0.7/llvm/tools/llvm-debuginfod/ |
| H A D | llvm-debuginfod.cpp | 77 ThreadPool Pool(hardware_concurrency(MaxConcurrency)); in main() local 79 DebuginfodCollection Collection(Paths, Log, Pool, MinInterval); in main() 89 Pool.async([&]() { ExitOnErr(Server.Server.listen()); }); in main() 90 Pool.async([&]() { in main() 101 Pool.wait(); in main()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | ThreadPool.h | 227 ThreadPoolTaskGroup(ThreadPool &Pool) : Pool(Pool) {} in ThreadPoolTaskGroup() argument 236 return Pool.async(*this, std::forward<Function>(F), in async() 241 void wait() { Pool.wait(*this); } in wait() 244 ThreadPool &Pool;
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | CostAllocator.h | 36 PoolEntry(ValuePool &Pool, ValueKeyT Value) in PoolEntry() argument 37 : Pool(Pool), Value(std::move(Value)) {} in PoolEntry() 39 ~PoolEntry() { Pool.removeEntry(this); } in ~PoolEntry() 44 ValuePool &Pool;
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | ConstString.cpp | 30 class Pool { class 195 static Pool &StringPool() { in StringPool() 197 static Pool *g_string_pool = nullptr; in StringPool() 200 []() { g_string_pool = new Pool(); }); in StringPool() 238 return Pool::GetConstCStringLength(m_string); in GetLength()
|
| /llvm-project-15.0.7/llvm/include/llvm/DWP/ |
| H A D | DWPStringPool.h | 35 DenseMap<const char *, uint32_t, CStrDenseMapInfo> Pool; variable 44 auto Pair = Pool.insert(std::make_pair(Str, Offset)); in getOffset()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | AllTUsExecution.cpp | 118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute() local 120 Pool.async( in execute() 142 Pool.wait(); in execute()
|
| /llvm-project-15.0.7/lldb/scripts/ |
| H A D | reproducer-replay.py | 3 from multiprocessing import Pool 116 pool = Pool(args.threads)
|
| /llvm-project-15.0.7/llvm/include/llvm/Debuginfod/ |
| H A D | Debuginfod.h | 118 ThreadPool &Pool; variable 128 ThreadPool &Pool, double MinInterval);
|
| /llvm-project-15.0.7/llvm/lib/Debuginfod/ |
| H A D | Debuginfod.cpp | 259 DebuginfodLog &Log, ThreadPool &Pool, in DebuginfodCollection() argument 261 : Log(Log), Pool(Pool), MinInterval(MinInterval) { in DebuginfodCollection() 334 ThreadPoolTaskGroup IteratorGroup(Pool); in findBinaries() 335 for (unsigned WorkerIndex = 0; WorkerIndex < Pool.getThreadCount(); in findBinaries()
|
| /llvm-project-15.0.7/clang/tools/clang-scan-deps/ |
| H A D | ClangScanDeps.cpp | 540 llvm::ThreadPool Pool(llvm::hardware_concurrency(NumThreads)); in main() local 542 for (unsigned I = 0; I < Pool.getThreadCount(); ++I) in main() 555 << " files using " << Pool.getThreadCount() << " workers\n"; in main() 557 for (unsigned I = 0; I < Pool.getThreadCount(); ++I) { in main() 558 Pool.async([I, &Lock, &Index, &Inputs, &HadErrors, &FD, &WorkerTools, in main() 596 Pool.wait(); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/ |
| H A D | FindAllSymbolsMain.cpp | 92 llvm::ThreadPool Pool; in Merge() local 96 Pool.async( in Merge()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-doc/tool/ |
| H A D | ClangDocMain.cpp | 271 llvm::ThreadPool Pool(llvm::hardware_concurrency(ExecutorConcurrency)); in main() local 273 Pool.async([&]() { in main() 323 Pool.wait(); in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CoverageExporterJson.cpp | 240 ThreadPool Pool(S); in renderFiles() local 247 Pool.async([&] { in renderFiles() 255 Pool.wait(); in renderFiles()
|
| /llvm-project-15.0.7/llvm/docs/CommandGuide/ |
| H A D | llvm-bcanalyzer.rst | 77 The size, in bytes, of the Global Types Pool. Percentage is relative to File 80 **Constant Pool Bytes** 82 The size, in bytes, of the Constant Pool Blocks Percentage is relative to File 124 The total number of types defined in the Global Types Pool. 128 The total number of constants (of any type) defined in the Constant Pool.
|