Home
last modified time | relevance | path

Searched refs:Chunk (Results 1 – 25 of 70) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpStack.cpp25 if (Chunk && Chunk->Next) in clear()
27 if (Chunk) in clear()
28 std::free(Chunk); in clear()
29 Chunk = nullptr; in clear()
39 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow()
40 if (Chunk && Chunk->Next) { in grow()
41 Chunk = Chunk->Next; in grow()
44 if (Chunk) in grow()
46 Chunk = Next; in grow()
78 Chunk->End = Chunk->start(); in shrink()
[all …]
/freebsd/contrib/llvm-project/lld/COFF/
H A DDLL.h29 std::vector<Chunk *> dirs;
30 std::vector<Chunk *> lookups;
32 std::vector<Chunk *> hints;
33 std::vector<Chunk *> dllNames;
54 Chunk *newThunkChunk(DefinedImportData *s, Chunk *tailMerge);
55 Chunk *newTailMergeChunk(Chunk *dir);
56 Chunk *newTailMergePDataChunk(Chunk *tm, Chunk *unwind);
61 std::vector<Chunk *> dirs;
64 std::vector<Chunk *> names;
66 std::vector<Chunk *> thunks;
[all …]
H A DDLL.cpp77 Chunk *hintName;
125 Chunk *dllName;
126 Chunk *lookupTab;
192 Chunk *dllName;
195 Chunk *nameTab;
554 Chunk *thunk;
567 Chunk *d, Chunk *a, Chunk *n, Chunk *o) in ExportDirectoryChunk()
592 Chunk *dllName;
594 Chunk *nameTab;
799 Chunk *DelayLoadContents::newTailMergeChunk(Chunk *dir) { in newTailMergeChunk()
[all …]
H A DChunks.h55 class Chunk {
146 class NonSectionChunk : public Chunk {
211 class SectionChunk final : public Chunk {
396 inline size_t Chunk::getSize() const { in getSize()
428 inline StringRef Chunk::getDebugName() const { in getDebugName()
434 inline MachineTypes Chunk::getMachine() const { in getMachine()
627 Chunk *inputChunk;
708 ECCodeMapEntry(Chunk *first, Chunk *last, chpe_range_type type) in ECCodeMapEntry()
710 Chunk *first;
711 Chunk *last;
[all …]
H A DWriter.h31 std::vector<Chunk *> chunks;
44 void addChunk(Chunk *c);
45 void insertChunkAtStart(Chunk *c);
79 std::vector<Chunk *> chunks;
80 std::vector<Chunk *> origChunks;
H A DWriter.cpp102 Chunk *c = record.second; in writeTo()
288 Chunk *edataEnd = nullptr;
289 Chunk *iatStart = nullptr;
431 Chunk *c; in getThunk()
563 Chunk *first, *last; in createECCodeMap()
597 for (Chunk *c : chunks) { in verifyRanges()
811 llvm::stable_sort(chunks, [=](const Chunk *a, const Chunk *b) { in sortBySectionOrder()
861 llvm::stable_sort(pSec->chunks, [&](Chunk *s, Chunk *t) { in fixGnuImportChunks()
1428 llvm::stable_sort(pdataSec->chunks, [=](const Chunk *a, const Chunk *b) { in mergeSections()
1483 llvm::stable_sort(sec->chunks, [=](const Chunk *a, const Chunk *b) { in sortECChunks()
[all …]
H A DSymbols.h169 Chunk *getChunk();
272 explicit DefinedSynthetic(StringRef name, Chunk *c, uint32_t offset = 0)
282 Chunk *getChunk() { return c; } in getChunk()
285 Chunk *c;
363 Chunk *getChunk() { return file->location; } in getChunk()
364 void setLocation(Chunk *addressTable) { file->location = addressTable; } in setLocation()
395 Chunk *getChunk() { return data; } in getChunk()
400 Chunk *data;
419 Chunk *getChunk() { return data; } in getChunk()
450 inline Chunk *Defined::getChunk() { in getChunk()
H A DSymbolTable.h25 class Chunk; variable
67 std::vector<Chunk *> getChunks() const;
87 Symbol *addSynthetic(StringRef n, Chunk *c);
115 std::vector<Chunk *> localImportChunks;
H A DInputFiles.h53 class Chunk; variable
137 ArrayRef<Chunk *> getChunks() { return chunks; } in getChunks()
276 std::vector<Chunk *> chunks;
353 Chunk *location = nullptr;
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_cpp.cpp39 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new()
89 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete()
93 Allocator.deallocate(ptr, scudo::Chunk::Origin::NewArray); in operator delete[]()
98 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete()
103 Allocator.deallocate(ptr, scudo::Chunk::Origin::NewArray); in operator delete[]()
107 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, size); in operator delete()
116 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, 0, in operator delete()
122 Allocator.deallocate(ptr, scudo::Chunk::Origin::NewArray, 0, in operator delete[]()
128 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, 0, in operator delete()
134 Allocator.deallocate(ptr, scudo::Chunk::Origin::NewArray, 0, in operator delete[]()
[all …]
H A Dcombined.h66 Chunk::UnpackedHeader Header; in recycle()
111 Chunk::UnpackedHeader Header; in deallocate()
554 Chunk::UnpackedHeader Header;
615 Chunk::UnpackedHeader Header;
762 uptr Chunk; in iterateOverChunks() local
763 Chunk::UnpackedHeader Header; in iterateOverChunks()
777 uptr TaggedChunk = Chunk; in iterateOverChunks()
846 Chunk::UnpackedHeader Header; in getAllocSize()
873 Chunk::UnpackedHeader Header; in isOwned()
1178 *Chunk = in getChunkFromBlock()
[all …]
H A Dwrappers_c.inc60 void *Ptr = SCUDO_ALLOCATOR.allocate(Product, scudo::Chunk::Origin::Malloc,
68 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
110 void *Ptr = SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc,
143 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, alignment);
156 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, alignment);
177 scudo::Chunk::Origin::Memalign, PageSize);
185 void *Ptr = SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc,
192 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
221 void *Ptr = SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign,
308 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment);
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.cpp31 Chunk = (Chunk << 48) | (Chunk << 32) | (Chunk << 16) | Chunk; in canUseOrr()
54 for (const auto &Chunk : Counts) { in tryToreplicateChunks() local
107 if (Chunk == 0 || Chunk == std::numeric_limits<uint64_t>::max()) in isStartChunk()
110 return isMask_64(~Chunk); in isStartChunk()
117 if (Chunk == 0 || Chunk == std::numeric_limits<uint64_t>::max()) in isEndChunk()
120 return isMask_64(Chunk); in isEndChunk()
161 Chunk = (Chunk << 48) >> 48; in trySequenceOfOnes()
163 if (isStartChunk(Chunk)) in trySequenceOfOnes()
165 else if (isEndChunk(Chunk)) in trySequenceOfOnes()
535 if (Chunk == Mask) in expandMOVImm()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp183 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) in Chunk() function in CodeCompletionString::Chunk
256 CodeCompletionString::Chunk
258 return Chunk(CK_Text, Text); in CreateText()
261 CodeCompletionString::Chunk
263 Chunk Result; in CreateOptional()
269 CodeCompletionString::Chunk
274 CodeCompletionString::Chunk
279 CodeCompletionString::Chunk
284 CodeCompletionString::Chunk CodeCompletionString::Chunk::CreateCurrentParameter( in CreateCurrentParameter()
299 Chunk *StoredChunks = reinterpret_cast<Chunk *>(this + 1); in CodeCompletionString()
[all …]
H A DSemaTemplateVariadic.cpp927 const DeclaratorChunk &Chunk = D.getTypeObject(I); in containsUnexpandedParameterPacks() local
928 switch (Chunk.Kind) { in containsUnexpandedParameterPacks()
938 if (Chunk.Arr.NumElts && in containsUnexpandedParameterPacks()
939 Chunk.Arr.NumElts->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
943 for (unsigned i = 0, e = Chunk.Fun.NumParams; i != e; ++i) { in containsUnexpandedParameterPacks()
950 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks()
951 for (unsigned i = 0; i != Chunk.Fun.getNumExceptions(); ++i) { in containsUnexpandedParameterPacks()
952 if (Chunk.Fun.Exceptions[i] in containsUnexpandedParameterPacks()
961 if (Chunk.Fun.hasTrailingReturnType()) { in containsUnexpandedParameterPacks()
962 QualType T = Chunk.Fun.getTrailingReturnType().get(); in containsUnexpandedParameterPacks()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h197 struct Chunk { struct
236 virtual ~Chunk();
239 struct Section : public Chunk {
255 static bool classof(const Chunk *S) { in classof()
297 struct Fill : Chunk {
306 struct SectionHeaderTable : Chunk {
310 static bool classof(const Chunk *S) { in classof()
341 static bool classof(const Chunk *S) { in classof()
355 static bool classof(const Chunk *S) { in classof()
381 static bool classof(const Chunk *S) { in classof()
[all …]
/freebsd/contrib/libdiff/test/
H A Dexpect004.diff4 +int Chunk_bounds_check(Chunk *chunk, size_t start, size_t n)
11 void Chunk_copy(Chunk *src, size_t src_start, Chunk *dst, size_t dst_start, size_t n)
19 -int Chunk_bounds_check(Chunk *chunk, size_t start, size_t n)
H A Dexpect104.diff4 +int Chunk_bounds_check(Chunk *chunk, size_t start, size_t n)
11 void Chunk_copy(Chunk *src, size_t src_start, Chunk *dst, size_t dst_start, size_t n)
19 -int Chunk_bounds_check(Chunk *chunk, size_t start, size_t n)
H A Dtest104.left-P.txt1 void Chunk_copy(Chunk *src, size_t src_start, Chunk *dst, size_t dst_start, size_t n)
9 int Chunk_bounds_check(Chunk *chunk, size_t start, size_t n)
H A Dtest104.right-P.txt1 int Chunk_bounds_check(Chunk *chunk, size_t start, size_t n)
8 void Chunk_copy(Chunk *src, size_t src_start, Chunk *dst, size_t dst_start, size_t n)
H A Dtest004.left.txt1 void Chunk_copy(Chunk *src, size_t src_start, Chunk *dst, size_t dst_start, size_t n)
9 int Chunk_bounds_check(Chunk *chunk, size_t start, size_t n)
H A Dtest004.right.txt1 int Chunk_bounds_check(Chunk *chunk, size_t start, size_t n)
8 void Chunk_copy(Chunk *src, size_t src_start, Chunk *dst, size_t dst_start, size_t n)
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h529 struct Chunk { struct
547 Chunk() : Text(nullptr) {} in Chunk() function
549 explicit Chunk(ChunkKind Kind, const char *Text = "");
552 static Chunk CreateText(const char *Text);
558 static Chunk CreatePlaceholder(const char *Placeholder);
561 static Chunk CreateInformative(const char *Informative);
564 static Chunk CreateResultType(const char *ResultType);
604 using iterator = const Chunk *;
611 const Chunk &operator[](unsigned I) const {
686 using Chunk = CodeCompletionString::Chunk;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DBinaryStreamWriter.cpp73 ArrayRef<uint8_t> Chunk; in writeStreamRef() local
74 if (auto EC = SrcReader.readLongestContiguousChunk(Chunk)) in writeStreamRef()
76 if (auto EC = writeBytes(Chunk)) in writeStreamRef()
/freebsd/contrib/llvm-project/llvm/lib/Debuginfod/
H A DHTTPServer.cpp103 StringRef Chunk = Response.Provider(Offset, Length); in setResponse() local
104 Sink.write(Chunk.begin(), Chunk.size()); in setResponse()

123