| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
| D | InterpStack.cpp | 21 if (Chunk && Chunk->Next) in clear() 22 free(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() 36 StackChunk *Next = new (malloc(ChunkSize)) StackChunk(Chunk); in grow() 37 if (Chunk) in grow() [all …]
|
| D | InterpStack.h | 56 void *top() { return Chunk ? peek(0) : nullptr; } in top() 105 StackChunk *Chunk = nullptr; variable
|
| /freebsd-12-stable/contrib/llvm-project/lld/COFF/ |
| D | DLL.h | 30 std::vector<Chunk *> dirs; 31 std::vector<Chunk *> lookups; 32 std::vector<Chunk *> addresses; 33 std::vector<Chunk *> hints; 34 std::vector<Chunk *> dllNames; 44 std::vector<Chunk *> getChunks(); 45 std::vector<Chunk *> getDataChunks(); 46 ArrayRef<Chunk *> getCodeChunks() { return thunks; } in getCodeChunks() 52 Chunk *newThunkChunk(DefinedImportData *s, Chunk *tailMerge); 53 Chunk *newTailMergeChunk(Chunk *dir); [all …]
|
| D | DLL.cpp | 63 explicit LookupChunk(Chunk *c) : hintName(c) { in LookupChunk() 75 Chunk *hintName; 104 explicit ImportDirectoryChunk(Chunk *n) : dllName(n) {} in ImportDirectoryChunk() 116 Chunk *dllName; 117 Chunk *lookupTab; 118 Chunk *addressTab; 166 explicit DelayDirectoryChunk(Chunk *n) : dllName(n) {} in DelayDirectoryChunk() 183 Chunk *dllName; 184 Chunk *moduleHandle; 185 Chunk *addressTab; [all …]
|
| D | Chunks.h | 55 class Chunk { 120 Chunk(Kind k = OtherKind) : chunkKind(k), hasData(true), p2Align(0) {} in chunkKind() 144 class NonSectionChunk : public Chunk { 173 static bool classof(const Chunk *c) { return c->kind() != SectionKind; } in classof() 176 NonSectionChunk(Kind k = OtherKind) : Chunk(k) {} in Chunk() function 180 class SectionChunk final : public Chunk { 202 static bool classof(const Chunk *c) { return c->kind() == SectionKind; } in classof() 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() [all …]
|
| D | Writer.h | 31 std::vector<Chunk *> chunks; 44 void addChunk(Chunk *c); 45 void insertChunkAtStart(Chunk *c); 76 std::vector<Chunk *> chunks; 77 std::vector<Chunk *> origChunks;
|
| D | Writer.cpp | 87 OutputSection *Chunk::getOutputSection() const { in getOutputSection() 97 DebugDirectoryChunk(const std::vector<std::pair<COFF::DebugType, Chunk *>> &r, in DebugDirectoryChunk() 108 for (const std::pair<COFF::DebugType, Chunk *>& record : records) { in writeTo() 109 Chunk *c = record.second; in writeTo() 147 const std::vector<std::pair<COFF::DebugType, Chunk *>> &records; 240 void sortCRTSectionChunks(std::vector<Chunk *> &chunks); 262 Chunk *importTableStart = nullptr; 264 Chunk *edataStart = nullptr; 265 Chunk *edataEnd = nullptr; 266 Chunk *iatStart = nullptr; [all …]
|
| D | Symbols.h | 166 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()
|
| D | SymbolTable.h | 26 class Chunk; variable 66 std::vector<Chunk *> getChunks(); 86 Symbol *addSynthetic(StringRef n, Chunk *c); 113 std::vector<Chunk *> localImportChunks;
|
| D | MarkLive.h | 18 class Chunk; variable 20 void markLive(ArrayRef<Chunk *> chunks);
|
| D | ICF.h | 19 class Chunk; variable 21 void doICF(ArrayRef<Chunk *> chunks, ICFLevel);
|
| D | MarkLive.cpp | 23 void markLive(ArrayRef<Chunk *> chunks) { in markLive() 34 for (Chunk *c : chunks) in markLive()
|
| D | ICF.cpp | 44 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()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| D | AArch64ExpandImm.cpp | 30 static bool canUseOrr(uint64_t Chunk, uint64_t &Encoding) { in canUseOrr() argument 31 Chunk = (Chunk << 48) | (Chunk << 32) | (Chunk << 16) | Chunk; in canUseOrr() 33 return AArch64_AM::processLogicalImmediate(Chunk, 64, Encoding); in canUseOrr() 54 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks() local 55 Chunk != End; ++Chunk) { in tryToreplicateChunks() 56 const uint64_t ChunkVal = Chunk->first; in tryToreplicateChunks() 57 const unsigned Count = Chunk->second; in tryToreplicateChunks() 107 static bool isStartChunk(uint64_t Chunk) { in isStartChunk() argument 108 if (Chunk == 0 || Chunk == std::numeric_limits<uint64_t>::max()) in isStartChunk() 111 return isMask_64(~Chunk); in isStartChunk() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| D | wrappers_cpp.cpp | 27 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 30 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray); in operator new[]() 34 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 38 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray); in operator new[]() 41 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new() 45 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray, in operator new[]() 50 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new() 55 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray, 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[]() [all …]
|
| D | combined.h | 64 Chunk::UnpackedHeader Header; in recycle() 65 Chunk::loadHeader(Allocator.Cookie, Ptr, &Header); in recycle() 66 if (UNLIKELY(Header.State != Chunk::State::Quarantined)) in recycle() 69 Chunk::UnpackedHeader NewHeader = Header; in recycle() 70 NewHeader.State = Chunk::State::Available; in recycle() 71 Chunk::compareExchangeHeader(Allocator.Cookie, Ptr, &NewHeader, &Header); in recycle() 84 sizeof(QuarantineBatch) + Chunk::getHeaderSize()); in allocate() 91 Chunk::getHeaderSize()); in allocate() 92 Chunk::UnpackedHeader Header = {}; in allocate() 93 Header.ClassId = QuarantineClassId & Chunk::ClassIdMask; in allocate() [all …]
|
| D | wrappers_c.inc | 32 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-12-stable/contrib/llvm-project/clang/lib/Sema/ |
| D | CodeCompleteConsumer.cpp | 174 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) in Chunk() function in CodeCompletionString::Chunk 247 CodeCompletionString::Chunk 248 CodeCompletionString::Chunk::CreateText(const char *Text) { in CreateText() 249 return Chunk(CK_Text, Text); in CreateText() 252 CodeCompletionString::Chunk 253 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) { in CreateOptional() 254 Chunk Result; in CreateOptional() 260 CodeCompletionString::Chunk 261 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder) { in CreatePlaceholder() 262 return Chunk(CK_Placeholder, Placeholder); in CreatePlaceholder() [all …]
|
| D | SemaTemplateVariadic.cpp | 917 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() 934 ParmVarDecl *Param = cast<ParmVarDecl>(Chunk.Fun.Params[i].Param); 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() 947 } else if (isComputedNoexcept(Chunk.Fun.getExceptionSpecType()) && in containsUnexpandedParameterPacks() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| D | ELFYAML.h | 180 struct Chunk { struct 218 Chunk(ChunkKind K, bool Implicit) : Kind(K), IsImplicit(Implicit) {} in Chunk() argument 219 virtual ~Chunk(); 222 struct Section : public Chunk { 236 Section(ChunkKind Kind, bool IsImplicit = false) : Chunk(Kind, IsImplicit) {} in Chunk() function 238 static bool classof(const Chunk *S) { in classof() 280 struct Fill : Chunk { 284 Fill() : Chunk(ChunkKind::Fill, /*Implicit=*/false) {} in Fill() 286 static bool classof(const Chunk *S) { return S->Kind == ChunkKind::Fill; } in classof() 289 struct SectionHeaderTable : Chunk { [all …]
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/ |
| D | scudo_allocator.cpp | 73 namespace Chunk { namespace 184 Chunk::loadHeader(Ptr, &Header); in Recycle() 189 Chunk::compareExchangeHeader(Ptr, &NewHeader, &Header); in Recycle() 190 void *BackendPtr = Chunk::getBackendPtr(Ptr, &Header); in Recycle() 294 if (!Chunk::isAligned(Ptr)) in isValidPointer() 296 return Chunk::isValid(Ptr); in isValidPointer() 325 Chunk::getHeaderSize(); in allocate() 327 NeededSize + (Alignment - Chunk::getHeaderSize()) : NeededSize; in allocate() 372 uptr UserPtr = reinterpret_cast<uptr>(BackendPtr) + Chunk::getHeaderSize(); in allocate() 398 Chunk::storeHeader(Ptr, &Header); in allocate() [all …]
|
| D | scudo_allocator_secondary.h | 75 const uptr UserSize = Size - Chunk::getHeaderSize(); in Allocate() 129 const uptr Ptr = UserBeg - Chunk::getHeaderSize(); in Allocate() 182 LargeChunk::getHeaderSize() + Chunk::getHeaderSize();
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/ |
| D | CodeCompleteConsumer.h | 519 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); 545 static Chunk CreateOptional(CodeCompletionString *Optional); 548 static Chunk CreatePlaceholder(const char *Placeholder); 551 static Chunk CreateInformative(const char *Informative); 554 static Chunk CreateResultType(const char *ResultType); 557 static Chunk CreateCurrentParameter(const char *CurrentParameter); 583 CodeCompletionString(const Chunk *Chunks, unsigned NumChunks, [all …]
|
| /freebsd-12-stable/usr.sbin/ctm/ctm/ |
| D | ctm_syntax.c | 33 #define Chunk CTM_Q_MD5_Chunk macro 38 MD5|After|Chunk, Count, Bytes,0 }; 42 MD5|Before|Force, MD5|After|Chunk, Count, Bytes,0 };
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
| D | BinaryStreamWriter.cpp | 73 ArrayRef<uint8_t> Chunk; in writeStreamRef() local 74 if (auto EC = SrcReader.readLongestContiguousChunk(Chunk)) in writeStreamRef() 76 if (auto EC = writeBytes(Chunk)) in writeStreamRef()
|