Searched refs:FreeList (Results 1 – 8 of 8) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | Recycler.h | 40 FreeNode *FreeList = nullptr; variable 43 auto *Val = FreeList; in pop_val() 45 FreeList = FreeList->Next; in pop_val() 51 N->Next = FreeList; in push() 52 FreeList = N; in push() 61 assert(!FreeList && "Non-empty recycler deleted!"); in ~Recycler() 69 while (FreeList) { in clear() 80 void clear(BumpPtrAllocator &) { FreeList = nullptr; } in clear() 88 return FreeList ? reinterpret_cast<SubClass *>(pop_val()) in Allocate() 108 for (auto *I = FreeList; I; I = I->Next) in PrintStats()
|
| H A D | ArrayRecycler.h | 31 struct FreeList { struct 32 FreeList *Next; argument 35 static_assert(Align >= alignof(FreeList), "Object underaligned"); 36 static_assert(sizeof(T) >= sizeof(FreeList), "Objects are too small"); 39 SmallVector<FreeList*, 8> Bucket; 46 FreeList *Entry = Bucket[Idx]; in pop() 58 FreeList *Entry = reinterpret_cast<FreeList*>(Ptr); in push()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | release_test.cpp | 181 scudo::SinglyLinkedList<Batch> FreeList; in testReleaseFreeMemoryToOS() local 182 FreeList.clear(); in testReleaseFreeMemoryToOS() 188 FreeList.push_back(CurrentBatch); in testReleaseFreeMemoryToOS() 203 Context.markFreeBlocks(FreeList, DecompactPtr, Recorder.getBase()); in testReleaseFreeMemoryToOS() 272 while (!FreeList.empty()) { in testReleaseFreeMemoryToOS() 273 CurrentBatch = FreeList.front(); in testReleaseFreeMemoryToOS() 274 FreeList.pop_front(); in testReleaseFreeMemoryToOS()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
| H A D | primary64.h | 333 SinglyLinkedList<BatchGroup> FreeList; member 465 BatchGroup *Cur = Region->FreeList.front(); 471 Region->FreeList.push_front(Cur); 489 Region->FreeList.push_front(Cur); 491 Region->FreeList.insert(Prev, Cur); 517 Region->FreeList.insert(Prev, Cur); 535 if (Region->FreeList.empty()) in popBatchImpl() 539 Region->FreeList.front()->Batches; in popBatchImpl() 548 BatchGroup *BG = Region->FreeList.front(); in popBatchImpl() 549 Region->FreeList.pop_front(); in popBatchImpl() [all …]
|
| H A D | primary32.h | 300 SinglyLinkedList<BatchGroup> FreeList; member 459 BatchGroup *Cur = Sci->FreeList.front(); 465 Sci->FreeList.push_front(Cur); 483 Sci->FreeList.push_front(Cur); 485 Sci->FreeList.insert(Prev, Cur); 511 Sci->FreeList.insert(Prev, Cur); 529 if (Sci->FreeList.empty()) in popBatchImpl() 532 SinglyLinkedList<TransferBatch> &Batches = Sci->FreeList.front()->Batches; in popBatchImpl() 541 BatchGroup *BG = Sci->FreeList.front(); in popBatchImpl() 542 Sci->FreeList.pop_front(); in popBatchImpl() [all …]
|
| H A D | release.h | 282 void markFreeBlocks(const IntrusiveList<TransferBatchT> &FreeList, in markFreeBlocks() 290 for (const auto &It : FreeList) { in markFreeBlocks() 305 for (const auto &It : FreeList) { in markFreeBlocks() 419 releaseFreeMemoryToOS(const IntrusiveList<TransferBatchT> &FreeList, in releaseFreeMemoryToOS() argument 424 Context.markFreeBlocks(FreeList, DecompactPtr, Recorder.getBase()); in releaseFreeMemoryToOS()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 1117 DiagnosticStorage *FreeList[NumCached]; variable 1129 DiagnosticStorage *Result = FreeList[--NumFreeListEntries]; in Allocate() 1139 FreeList[NumFreeListEntries++] = S; in Deallocate()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 1218 FreeList[I] = Cached + I; in DiagStorageAllocator()
|