Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpStack.cpp21 if (Chunk && Chunk->Next) in clear()
23 if (Chunk) in clear()
24 free(Chunk); in clear()
25 Chunk = nullptr; in clear()
32 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow()
33 if (Chunk && Chunk->Next) { in grow()
34 Chunk = Chunk->Next; in grow()
37 if (Chunk) in grow()
39 Chunk = Next; in grow()
71 Chunk->End = Chunk->start(); in shrink()
[all …]
H A DInterpStack.h56 void *top() { return Chunk ? peek(0) : nullptr; } in top()
105 StackChunk *Chunk = nullptr; variable
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DDLL.h30 std::vector<Chunk *> dirs;
31 std::vector<Chunk *> lookups;
32 std::vector<Chunk *> addresses;
33 std::vector<Chunk *> hints;
34 std::vector<Chunk *> dllNames;
52 Chunk *newThunkChunk(DefinedImportData *s, Chunk *tailMerge);
53 Chunk *newTailMergeChunk(Chunk *dir);
57 std::vector<Chunk *> dirs;
60 std::vector<Chunk *> names;
62 std::vector<Chunk *> thunks;
[all …]
H A DDLL.cpp75 Chunk *hintName;
116 Chunk *dllName;
117 Chunk *lookupTab;
118 Chunk *addressTab;
183 Chunk *dllName;
186 Chunk *nameTab;
472 Chunk *thunk;
481 ExportDirectoryChunk(int i, int j, Chunk *d, Chunk *a, Chunk *n, Chunk *o) in ExportDirectoryChunk()
504 Chunk *dllName;
506 Chunk *nameTab;
[all …]
H A DChunks.h55 class Chunk {
144 class NonSectionChunk : public Chunk {
176 NonSectionChunk(Kind k = OtherKind) : Chunk(k) {} in Chunk() function
180 class SectionChunk final : public Chunk {
363 inline size_t Chunk::getSize() const { in getSize()
370 inline uint32_t Chunk::getOutputCharacteristics() const { in getOutputCharacteristics()
378 inline void Chunk::writeTo(uint8_t *buf) const { in writeTo()
385 inline StringRef Chunk::getSectionName() const { in getSectionName()
399 inline StringRef Chunk::getDebugName() const { in getDebugName()
558 Chunk *inputChunk;
[all …]
H A DWriter.h31 std::vector<Chunk *> chunks;
44 void addChunk(Chunk *c);
45 void insertChunkAtStart(Chunk *c);
76 std::vector<Chunk *> chunks;
77 std::vector<Chunk *> origChunks;
H A DWriter.cpp109 Chunk *c = record.second; in writeTo()
264 Chunk *edataStart = nullptr;
265 Chunk *edataEnd = nullptr;
266 Chunk *iatStart = nullptr;
306 Chunk *lastPdata;
394 Chunk *c; in getThunk()
521 for (Chunk *c : chunks) { in verifyRanges()
680 llvm::stable_sort(chunks, [=](const Chunk *a, const Chunk *b) { in sortBySectionOrder()
730 llvm::stable_sort(pSec->chunks, [&](Chunk *s, Chunk *t) { in fixGnuImportChunks()
1557 Chunk *c = s->getChunk(); in addSymbolToRVASet()
[all …]
H A DSymbols.h166 Chunk *getChunk();
272 explicit DefinedSynthetic(StringRef name, Chunk *c) in DefinedSynthetic()
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()
394 Chunk *getChunk() { return data; } in getChunk()
399 Chunk *data;
417 Chunk *getChunk() { return data; } in getChunk()
448 inline Chunk *Defined::getChunk() { in getChunk()
H A DSymbolTable.h26 class Chunk; variable
66 std::vector<Chunk *> getChunks();
86 Symbol *addSynthetic(StringRef n, Chunk *c);
113 std::vector<Chunk *> localImportChunks;
H A DMarkLive.h18 class Chunk; variable
20 void markLive(ArrayRef<Chunk *> chunks);
H A DICF.h19 class Chunk; variable
21 void doICF(ArrayRef<Chunk *> chunks, ICFLevel);
H A DMarkLive.cpp23 void markLive(ArrayRef<Chunk *> chunks) { in markLive()
34 for (Chunk *c : chunks) in markLive()
H A DICF.cpp44 void run(ArrayRef<Chunk *> v);
249 void ICF::run(ArrayRef<Chunk *> vec) { in run()
254 for (Chunk *c : vec) { in run()
320 void doICF(ArrayRef<Chunk *> chunks, ICFLevel icfLevel) { in doICF()
H A DInputFiles.h52 class Chunk; variable
145 ArrayRef<Chunk *> getChunks() { return chunks; } in getChunks()
281 std::vector<Chunk *> chunks;
363 Chunk *location = nullptr;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.cpp31 Chunk = (Chunk << 48) | (Chunk << 32) | (Chunk << 16) | Chunk; in canUseOrr()
55 Chunk != End; ++Chunk) { in tryToreplicateChunks()
108 if (Chunk == 0 || Chunk == std::numeric_limits<uint64_t>::max()) in isStartChunk()
111 return isMask_64(~Chunk); in isStartChunk()
118 if (Chunk == 0 || Chunk == std::numeric_limits<uint64_t>::max()) in isEndChunk()
121 return isMask_64(Chunk); in isEndChunk()
162 Chunk = (Chunk << 48) >> 48; in trySequenceOfOnes()
164 if (isStartChunk(Chunk)) in trySequenceOfOnes()
166 else if (isEndChunk(Chunk)) in trySequenceOfOnes()
314 if (Chunk == Mask) in expandMOVImm()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_cpp.cpp27 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new()
34 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new()
41 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new()
50 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new()
60 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete()
63 Allocator.deallocate(ptr, scudo::Chunk::Origin::NewArray); in operator delete[]()
66 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete()
70 Allocator.deallocate(ptr, scudo::Chunk::Origin::NewArray); in operator delete[]()
79 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, 0, in operator delete()
89 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, 0, in operator delete()
[all …]
H A Dcombined.h64 Chunk::UnpackedHeader Header; in recycle()
110 Chunk::UnpackedHeader Header; in deallocate()
536 Chunk::UnpackedHeader Header;
597 Chunk::UnpackedHeader OldHeader;
740 uptr Chunk; in iterateOverChunks() local
741 Chunk::UnpackedHeader Header; in iterateOverChunks()
755 uptr TaggedChunk = Chunk; in iterateOverChunks()
819 Chunk::UnpackedHeader Header; in getUsableSize()
844 Chunk::UnpackedHeader Header; in isOwned()
1132 *Chunk = in getChunkFromBlock()
[all …]
H A Dwrappers_c.inc32 Product, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT, true));
36 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
59 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT));
88 return SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign,
100 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, alignment);
119 scudo::Chunk::Origin::Memalign, PageSize));
125 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT));
127 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
136 size, scudo::Chunk::Origin::Memalign, scudo::getPageSizeCached()));
211 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment));
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp174 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) in Chunk() function in CodeCompletionString::Chunk
247 CodeCompletionString::Chunk
249 return Chunk(CK_Text, Text); in CreateText()
252 CodeCompletionString::Chunk
254 Chunk Result; in CreateOptional()
260 CodeCompletionString::Chunk
265 CodeCompletionString::Chunk
270 CodeCompletionString::Chunk
275 CodeCompletionString::Chunk CodeCompletionString::Chunk::CreateCurrentParameter( in CreateCurrentParameter()
290 Chunk *StoredChunks = reinterpret_cast<Chunk *>(this + 1); in CodeCompletionString()
[all …]
H A DSemaTemplateVariadic.cpp917 const DeclaratorChunk &Chunk = D.getTypeObject(I); in containsUnexpandedParameterPacks() local
918 switch (Chunk.Kind) { in containsUnexpandedParameterPacks()
928 if (Chunk.Arr.NumElts && in containsUnexpandedParameterPacks()
929 Chunk.Arr.NumElts->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
933 for (unsigned i = 0, e = Chunk.Fun.NumParams; i != e; ++i) { in containsUnexpandedParameterPacks()
940 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks()
941 for (unsigned i = 0; i != Chunk.Fun.getNumExceptions(); ++i) { in containsUnexpandedParameterPacks()
942 if (Chunk.Fun.Exceptions[i] in containsUnexpandedParameterPacks()
951 if (Chunk.Fun.hasTrailingReturnType()) { in containsUnexpandedParameterPacks()
952 QualType T = Chunk.Fun.getTrailingReturnType().get(); in containsUnexpandedParameterPacks()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h180 struct Chunk { struct
219 virtual ~Chunk();
222 struct Section : public Chunk {
238 static bool classof(const Chunk *S) { in classof()
280 struct Fill : Chunk {
289 struct SectionHeaderTable : Chunk {
293 static bool classof(const Chunk *S) { in classof()
323 static bool classof(const Chunk *S) { in classof()
337 static bool classof(const Chunk *S) { in classof()
363 static bool classof(const Chunk *S) { in classof()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp73 namespace Chunk { namespace
184 Chunk::loadHeader(Ptr, &Header); in Recycle()
294 if (!Chunk::isAligned(Ptr)) in isValidPointer()
296 return Chunk::isValid(Ptr); in isValidPointer()
325 Chunk::getHeaderSize(); in allocate()
398 Chunk::storeHeader(Ptr, &Header); in allocate()
467 if (UNLIKELY(!Chunk::isAligned(Ptr))) in deallocate()
470 Chunk::loadHeader(Ptr, &Header); in deallocate()
508 if (UNLIKELY(!Chunk::isAligned(OldPtr))) in reallocate()
512 Chunk::loadHeader(OldPtr, &OldHeader); in reallocate()
[all …]
H A Dscudo_allocator_secondary.h75 const uptr UserSize = Size - Chunk::getHeaderSize(); in Allocate()
129 const uptr Ptr = UserBeg - Chunk::getHeaderSize(); in Allocate()
182 LargeChunk::getHeaderSize() + Chunk::getHeaderSize();
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h519 struct Chunk { struct
537 Chunk() : Text(nullptr) {} in Chunk() argument
539 explicit Chunk(ChunkKind Kind, const char *Text = "");
542 static Chunk CreateText(const char *Text);
548 static Chunk CreatePlaceholder(const char *Placeholder);
551 static Chunk CreateInformative(const char *Informative);
554 static Chunk CreateResultType(const char *ResultType);
594 using iterator = const Chunk *;
601 const Chunk &operator[](unsigned I) const {
673 using Chunk = CodeCompletionString::Chunk;
[all …]
/freebsd-13.1/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()

123