HomeSort by: relevance | last modified time | path
    Searched refs:Pool (Results 1 - 25 of 34) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
ManagedStringPool.h 1 //===-- ManagedStringPool.h - Managed String Pool ---------------*- C++ -*-===//
9 // The strings allocated from a managed string pool are owned by the string
10 // pool and will be deleted together with the managed string pool.
22 /// ManagedStringPool - The strings allocated from a managed string pool are
23 /// owned by the string pool and will be deleted together with the managed
24 /// string pool.
26 SmallVector<std::string *, 8> Pool;
32 SmallVectorImpl<std::string *>::iterator Current = Pool.begin();
33 while (Current != Pool.end())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
DwarfStringPool.h 29 StringMap<EntryTy, BumpPtrAllocator &> Pool;
49 bool empty() const { return Pool.empty(); }
51 unsigned size() const { return Pool.size(); }
55 /// Get a reference to an entry in the string pool.
AddressPool.cpp 22 Pool.insert(std::make_pair(Sym, AddressPoolEntry(Pool.size(), TLS)));
58 // Order the address pool entries by ID
59 SmallVector<const MCExpr *, 64> Entries(Pool.size());
61 for (const auto &I : Pool)
AddressPool.h 30 DenseMap<const MCSymbol *, AddressPoolEntry> Pool;
41 /// Returns the index into the address pool with the given
47 bool isEmpty() { return Pool.empty(); }
DwarfStringPool.cpp 22 : Pool(A), Prefix(Prefix),
27 auto I = Pool.insert(std::make_pair(Str, EntryTy()));
77 if (Pool.empty())
83 // Get all of the string pool entries and sort them by their offset.
85 Entries.reserve(Pool.size());
87 for (const auto &E : Pool)
115 for (const auto &Entry : Pool) {
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CXString.cpp 128 for (std::vector<CXStringBuf *>::iterator I = Pool.begin(), E = Pool.end();
135 if (Pool.empty())
138 CXStringBuf *Buf = Pool.back();
140 Pool.pop_back();
149 TU->StringPool->Pool.push_back(this);
CXString.h 72 /// A string pool used for fast allocation/deallocation of strings.
80 std::vector<CXStringBuf *> Pool;
91 /// Return this buffer to the pool.
97 /// Returns true if the CXString data is managed by a pool.
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/internal/gc/
pooltable.d 12 struct PoolTable(Pool)
23 bool insert(Pool* pool) nothrow @nogc
25 auto newpools = cast(Pool **)cstdlib.realloc(pools, (npools + 1) * pools[0].sizeof);
31 // Sort pool into newpooltable[]
35 if (pool.baseAddr < pools[i].baseAddr)
40 pools[i] = pool;
58 ref inout(Pool*) opIndex(size_t idx) inout return @trusted pure nothrow @nogc
65 inout(Pool*)[] opSlice(size_t a, size_t b) inout return @trusted pure nothrow @nogc
73 inout(Pool*)[] opSlice() inout return @trusted pure nothrow @nog
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-dwp/
DWPStringPool.h 35 DenseMap<const char *, uint32_t, CStrDenseMapInfo> Pool;
44 auto Pair = Pool.insert(std::make_pair(Str, Offset));
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/PBQP/
CostAllocator.h 36 PoolEntry(ValuePool &Pool, ValueKeyT Value)
37 : Pool(Pool), Value(std::move(Value)) {}
39 ~PoolEntry() { Pool.removeEntry(this); }
44 ValuePool &Pool;
  /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
SymbolStringPool.h 1 //===- SymbolStringPool.h - Multi-threaded pool for JIT symbols -*- C++ -*-===//
9 // Contains a multi-threaded string pool suitable for use with ORC.
26 /// String pool for symbol names used by the JIT.
36 /// Remove from the pool any entries that are no longer referenced.
39 /// Returns true if the pool is empty.
46 PoolMap Pool;
157 assert(Pool.empty() && "Dangling references at pool destruction time");
165 std::tie(I, Added) = Pool.try_emplace(S, 0);
171 for (auto I = Pool.begin(), E = Pool.end(); I != E;)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/
AllTUsExecution.cpp 118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount));
120 Pool.async(
142 Pool.wait();
  /src/external/apache2/llvm/dist/llvm/tools/opt-viewer/
optpmap.py 33 results. If `processes` is greater than one, a process pool is used to run
47 pool = multiprocessing.Pool(initializer=_init,
50 result = pool.map(_wrapped_func, func_and_args, *args, **kwargs)
51 pool.close()
52 pool.join()
opt-stats.py 14 from multiprocessing import cpu_count, Pool
  /src/external/apache2/llvm/dist/clang/tools/clang-scan-deps/
ClangScanDeps.cpp 558 llvm::ThreadPool Pool(llvm::hardware_concurrency(NumThreads));
560 for (unsigned I = 0; I < Pool.getThreadCount(); ++I)
575 << " files using " << Pool.getThreadCount() << " workers\n";
577 for (unsigned I = 0; I < Pool.getThreadCount(); ++I) {
578 Pool.async([I, &Lock, &Index, &Inputs, &HadErrors, &FD, &WorkerTools,
613 Pool.wait();
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
CoverageExporterJson.cpp 240 ThreadPool Pool(S);
247 Pool.async([&] {
255 Pool.wait();
CoverageReport.cpp 398 ThreadPool Pool(S);
405 Pool.async(&CoverageReport::prepareSingleFileReport, Filename,
408 Pool.wait();
  /src/external/mpl/bind/dist/bin/tests/system/xferquota/
tests_xferquota.py 109 with multiprocessing.Pool(10) as pool:
110 pool.starmap_async(_flood_unauthorized_axfrs, [(named_port, 5)] * 10)
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/internal/gc/impl/conservative/
gc.d 345 Pool* pool = gcx.findPool(p);
348 if (pool)
351 if (p != pool.findBase(p))
353 auto biti = cast(size_t)(p - pool.baseAddr) >> pool.shiftBy;
355 oldb = pool.getBits(biti);
386 Pool* pool = gcx.findPool(p);
389 if (pool)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DWARFLinker/
DWARFStreamer.h 82 /// Emit the string table described by \p Pool.
83 void emitStrings(const NonRelocatableStringpool &Pool) override;
  /src/external/apache2/llvm/dist/llvm/utils/lit/lit/
run.py 69 pool = multiprocessing.Pool(self.workers, lit.worker.initialize,
73 pool.apply_async(lit.worker.execute, args=[test],
76 pool.close()
81 pool.terminate()
84 pool.join()
  /src/external/apache2/llvm/dist/clang/lib/Sema/
IdentifierResolver.cpp 44 IdDeclInfo Pool[POOL_SIZE];
407 IdDeclInfo *IDI = &CurPool->Pool[CurIndex];
  /src/external/apache2/llvm/dist/llvm/utils/
demangle_tree.py 16 from multiprocessing import Pool
83 def process_one_chunk(pool, chunk_size, objdump, context):
118 mapped_results = list(pool.map(copier, objs))
137 def process_pending_files(pool, chunk_size, objdump, context):
139 process_one_chunk(pool, chunk_size, objdump, context)
150 pool = Pool(processes=pool_size)
179 process_pending_files(pool, pool_size, args.objdump, context)
182 process_one_chunk(pool, pool_size, args.objdump, context)
209 pool.close(
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/LTO/
ThinLTOCodeGenerator.cpp 944 ThreadPool Pool;
947 Pool.async([&](int count) {
1076 ThreadPool Pool(heavyweight_hardware_concurrency(ThreadCount));
1079 Pool.async([&](int count) {
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
llvm-profdata.cpp 356 ThreadPool Pool(hardware_concurrency(NumThreads));
361 Pool.async(loadInput, Input, Remapper, Contexts[Ctx].get());
364 Pool.wait();
372 Pool.async(mergeWriterContexts, Contexts[I].get(),
374 Pool.wait();
376 Pool.async(mergeWriterContexts, Contexts[0].get(),
378 Pool.wait();

Completed in 40 milliseconds

1 2