Home
last modified time | relevance | path

Searched refs:Pool (Results 1 – 25 of 54) sorted by relevance

123

/llvm-project-15.0.7/llvm/unittests/Support/
H A DThreadPool.cpp117 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 DHTTPServerTests.cpp94 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 DManagedStringPool.h26 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 DDwarfStringPool.cpp22 : 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 DAddressPool.cpp22 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 DDwarfStringPool.h29 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 DAddressPool.h30 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 DSymbolStringPool.h53 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 DParallelUtilities.cpp147 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 DCXString.cpp128 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 DCXString.h80 std::vector<CXStringBuf *> Pool;
/llvm-project-15.0.7/llvm/tools/llvm-debuginfod/
H A Dllvm-debuginfod.cpp77 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 DThreadPool.h227 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 DCostAllocator.h36 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 DConstString.cpp30 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 DDWPStringPool.h35 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 DAllTUsExecution.cpp118 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 Dreproducer-replay.py3 from multiprocessing import Pool
116 pool = Pool(args.threads)
/llvm-project-15.0.7/llvm/include/llvm/Debuginfod/
H A DDebuginfod.h118 ThreadPool &Pool; variable
128 ThreadPool &Pool, double MinInterval);
/llvm-project-15.0.7/llvm/lib/Debuginfod/
H A DDebuginfod.cpp259 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 DClangScanDeps.cpp540 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 DFindAllSymbolsMain.cpp92 llvm::ThreadPool Pool; in Merge() local
96 Pool.async( in Merge()
/llvm-project-15.0.7/clang-tools-extra/clang-doc/tool/
H A DClangDocMain.cpp271 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 DCoverageExporterJson.cpp240 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 Dllvm-bcanalyzer.rst77 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.

123