Searched refs:Slabs (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Allocator.h | 157 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), in BumpPtrAllocatorImpl() 163 Old.Slabs.clear(); in BumpPtrAllocatorImpl() 168 DeallocateSlabs(Slabs.begin(), Slabs.end()); in ~BumpPtrAllocatorImpl() 173 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs); 185 RHS.Slabs.clear(); 197 if (Slabs.empty()) in Reset() 202 CurPtr = (char *)Slabs.front(); in Reset() 205 __asan_poison_memory_region(*Slabs.begin(), computeSlabSize(0)); in Reset() 206 DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); in Reset() [all …]
|
/external/llvm/include/llvm/Support/ |
D | Allocator.h | 154 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), in BumpPtrAllocatorImpl() 160 Old.Slabs.clear(); in BumpPtrAllocatorImpl() 165 DeallocateSlabs(Slabs.begin(), Slabs.end()); in ~BumpPtrAllocatorImpl() 170 DeallocateSlabs(Slabs.begin(), Slabs.end()); 176 Slabs = std::move(RHS.Slabs); 182 RHS.Slabs.clear(); 194 if (Slabs.empty()) in Reset() 199 CurPtr = (char *)Slabs.front(); in Reset() 202 __asan_poison_memory_region(*Slabs.begin(), computeSlabSize(0)); in Reset() 203 DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); in Reset() [all …]
|