Home
last modified time | relevance | path

Searched refs:FreeList (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DRecycler.h40 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 DArrayRecycler.h31 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()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Drelease_test.cpp180 scudo::SinglyLinkedList<Batch> FreeList; in testReleaseFreeMemoryToOS() local
181 FreeList.clear(); in testReleaseFreeMemoryToOS()
187 FreeList.push_back(CurrentBatch); in testReleaseFreeMemoryToOS()
198 releaseFreeMemoryToOS(FreeList, MaxBlocks * BlockSize, 1U, BlockSize, in testReleaseFreeMemoryToOS()
261 while (!FreeList.empty()) { in testReleaseFreeMemoryToOS()
262 CurrentBatch = FreeList.front(); in testReleaseFreeMemoryToOS()
263 FreeList.pop_front(); in testReleaseFreeMemoryToOS()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dprimary64.h102 TransferBatch *B = Region->FreeList.front(); in popBatch()
104 Region->FreeList.pop_front(); in popBatch()
119 Region->FreeList.push_front(B); in pushBatch()
295 SinglyLinkedList<TransferBatch> FreeList; member
397 Region->FreeList.push_back(B); in populateFreeList()
400 TransferBatch *B = Region->FreeList.front(); in populateFreeList()
401 Region->FreeList.pop_front(); in populateFreeList()
475 releaseFreeMemoryToOS(Region->FreeList, Region->AllocatedUser, 1U,
H A Dprimary32.h118 TransferBatch *B = Sci->FreeList.front(); in popBatch()
120 Sci->FreeList.pop_front(); in popBatch()
136 Sci->FreeList.push_front(B); in pushBatch()
259 SinglyLinkedList<TransferBatch> FreeList; in alignas() local
387 Sci->FreeList.push_back(B); in populateFreeList()
390 TransferBatch *B = Sci->FreeList.front(); in populateFreeList()
391 Sci->FreeList.pop_front(); in populateFreeList()
479 releaseFreeMemoryToOS(Sci->FreeList, RegionSize, NumberOfRegions, BlockSize,
H A Drelease.h190 releaseFreeMemoryToOS(const IntrusiveList<TransferBatchT> &FreeList, in releaseFreeMemoryToOS() argument
244 for (const auto &It : FreeList) { in releaseFreeMemoryToOS()
258 for (const auto &It : FreeList) { in releaseFreeMemoryToOS()
/llvm-project-15.0.7/polly/test/CodeGen/
H A Dnon-hoisted-load-needed-as-base-ptr.ll23 %FreeList.i = getelementptr inbounds %struct.1, %struct.1* %p, i32 0, i32 20
24 %arrayidx.i = getelementptr inbounds [38 x i32], [38 x i32]* %FreeList.i, i64 0, i64 %idxprom.i
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/
H A DGLR.cpp700 if (FreeList.size() <= Parents) in allocate()
701 FreeList.resize(Parents + 1); in allocate()
702 auto &SizedList = FreeList[Parents]; in allocate()
715 assert(FreeList.size() > ParentCount && "established on construction!"); in destroy()
716 FreeList[ParentCount].push_back(N); in destroy()
/llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/
H A DGLR.h103 std::vector<std::vector<Node *>> FreeList;
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnostic.h1117 DiagnosticStorage *FreeList[NumCached]; variable
1129 DiagnosticStorage *Result = FreeList[--NumFreeListEntries]; in Allocate()
1139 FreeList[NumFreeListEntries++] = S; in Deallocate()
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dpr15031.ll269 …Recycler<llvm::MachineOperand, 8>::FreeList" = type { %"struct.llvm::ArrayRecycler<llvm::MachineOp…
/llvm-project-15.0.7/clang/lib/Basic/
H A DDiagnostic.cpp1218 FreeList[I] = Cached + I; in DiagStorageAllocator()