Home
last modified time | relevance | path

Searched refs:Chunks (Results 1 – 15 of 15) sorted by relevance

/openbsd-src/gnu/llvm/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h172 RopePieceBTree Chunks; variable
182 RewriteRope(const RewriteRope &RHS) : Chunks(RHS.Chunks) {} in RewriteRope()
187 iterator begin() const { return Chunks.begin(); } in begin()
188 iterator end() const { return Chunks.end(); } in end()
189 unsigned size() const { return Chunks.size(); } in size()
192 Chunks.clear(); in clear()
198 Chunks.insert(0, MakeRopeString(Start, End)); in assign()
204 Chunks.insert(Offset, MakeRopeString(Start, End)); in insert()
210 Chunks.erase(Offset, NumBytes); in erase()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h109 CompactPtrT CompactP = C->Chunks[--C->Count]; in allocate()
125 C->Chunks[C->Count++] = in deallocate()
176 CompactPtrT Chunks[2 * TransferBatch::MaxNumCached]; member
216 B->copyToArray(C->Chunks); in refill()
224 Allocator->pushBlocks(this, ClassId, &C->Chunks[0], Count); in drain()
228 C->Chunks[I] = C->Chunks[I + Count]; in drain()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp284 const Chunk *Chunks, unsigned NumChunks, unsigned Priority, in CodeCompletionString() argument
295 StoredChunks[I] = Chunks[I]; in CodeCompletionString()
432 sizeof(CodeCompletionString) + sizeof(Chunk) * Chunks.size() + in TakeString()
436 Chunks.data(), Chunks.size(), Priority, Availability, Annotations.data(), in TakeString()
438 Chunks.clear(); in TakeString()
443 Chunks.push_back(Chunk(CodeCompletionString::CK_TypedText, Text)); in AddTypedTextChunk()
447 Chunks.push_back(Chunk::CreateText(Text)); in AddTextChunk()
451 Chunks.push_back(Chunk::CreateOptional(Optional)); in AddOptionalChunk()
455 Chunks.push_back(Chunk::CreatePlaceholder(Placeholder)); in AddPlaceholderChunk()
459 Chunks.push_back(Chunk::CreateInformative(Text)); in AddInformativeChunk()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DDelta.cpp60 static bool increaseGranularity(std::vector<Chunk> &Chunks) { in increaseGranularity() argument
66 for (Chunk C : Chunks) { in increaseGranularity()
77 Chunks = NewChunks; in increaseGranularity()
80 for (auto C : Chunks) { in increaseGranularity()
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.cpp401 auto Chunks = Stream.getC11LinesSubstream(); in dumpModuleC11() local
403 Chunks); in dumpModuleC11()
416 auto Chunks = Stream.getC13LinesSubstream(); in dumpModuleC13() local
420 std::tie(ThisChunk, Chunks) = Chunks.split(SS.getRecordLength()); in dumpModuleC13()
425 P.formatMsfStreamData("Debug Chunks", File, Layout, Chunks); in dumpModuleC13()
H A Dllvm-pdbutil.cpp1446 static void simplifyChunkList(llvm::cl::list<opts::ModuleSubsection> &Chunks) { in simplifyChunkList() argument
1449 if (!llvm::is_contained(Chunks, opts::ModuleSubsection::All)) in simplifyChunkList()
1451 Chunks.reset(); in simplifyChunkList()
1452 Chunks.push_back(opts::ModuleSubsection::All); in simplifyChunkList()
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp356 Doc.Chunks.insert( in ELFState()
357 Doc.Chunks.begin(), in ELFState()
363 for (size_t I = 0; I < Doc.Chunks.size(); ++I) { in ELFState()
364 const std::unique_ptr<ELFYAML::Chunk> &C = Doc.Chunks[I]; in ELFState()
443 if (Doc.Chunks.back().get() == SecHdrTable) in ELFState()
444 Doc.Chunks.insert(Doc.Chunks.end() - 1, std::move(Sec)); in ELFState()
446 Doc.Chunks.push_back(std::move(Sec)); in ELFState()
452 Doc.Chunks.push_back( in ELFState()
537 for (size_t I = 0, E = Doc.Chunks.size(); I != E; ++I) { in initProgramHeaders()
538 if (auto S = dyn_cast<ELFYAML::Fill>(Doc.Chunks[I].get())) in initProgramHeaders()
[all …]
H A DELFYAML.cpp1909 IO.mapOptional("Sections", Object.Chunks); in mapping()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Delf2yaml.cpp357 std::vector<std::unique_ptr<ELFYAML::Chunk>> Chunks = std::move(*ChunksOrErr); in dump() local
360 if (!Chunks.empty()) in dump()
362 ArrayRef(Chunks).drop_front()) in dump()
367 llvm::stable_sort(Chunks, [&](const std::unique_ptr<ELFYAML::Chunk> &A, in dump()
375 dumpProgramHeaders(Chunks); in dump()
380 dumpSectionOffsets<ELFT>(Obj.getHeader(), Y->ProgramHeaders, Chunks, in dump()
384 Y->DWARF = dumpDWARFSections(Chunks); in dump()
389 llvm::is_sorted(Chunks, [&](const std::unique_ptr<ELFYAML::Chunk> &A, in dump()
400 Chunks.push_back(std::move(SHT)); in dump()
403 llvm::erase_if(Chunks, [this, &Y](const std::unique_ptr<ELFYAML::Chunk> &C) { in dump()
[all …]
/openbsd-src/gnu/llvm/lld/docs/
H A DNewLLD.rst190 Chunks created for common or BSS symbols are not backed by sections.
193 Chunks know about their size, how to copy their data to mmap'ed outputs,
201 input files as Chunks for ELF. Instead, we directly use the input section
205 mmap'ed outputs, just like COFF Chunks.
209 OutputSection is a container of InputSections (ELF) or Chunks (COFF).
219 They are responsible for creating and owning Symbols and InputSections/Chunks.
223 The writer is responsible for writing file headers and InputSections/Chunks to
224 a file. It creates OutputSections, put all InputSections/Chunks into them,
/openbsd-src/gnu/llvm/lld/COFF/
H A DCMakeLists.txt7 Chunks.cpp
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lld/COFF/
H A DBUILD.gn33 "Chunks.cpp",
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h693 std::vector<Chunk *> Chunks; member
702 std::vector<std::unique_ptr<Chunk>> Chunks; member
714 for (const std::unique_ptr<Chunk> &Sec : Chunks) in getSections()
721 for (const std::unique_ptr<Chunk> &C : Chunks) in getSectionHeaderTable()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h585 CodeCompletionString(const Chunk *Chunks, unsigned NumChunks,
689 SmallVector<Chunk, 4> Chunks; variable
/openbsd-src/gnu/lib/libiberty/src/
H A Dobstacks.texi30 * Obstack Chunks:: How obstacks obtain and release chunks;
108 larger blocks of memory. @xref{Obstack Chunks}, for full details.
622 @node Obstack Chunks
623 @section Obstack Chunks
628 then parceling out space in the chunks to satisfy your requests. Chunks
748 The size for allocating chunks. This is an lvalue. @xref{Obstack Chunks}.