Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DAllocator.h309 size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); in StartNewSlab() local
311 void *NewSlab = Allocator.Allocate(AllocatedSlabSize, 0); in StartNewSlab()
314 End = ((char *)NewSlab) + AllocatedSlabSize; in StartNewSlab()
321 size_t AllocatedSlabSize = in DeallocateSlabs() local
326 if (AllocatedSlabSize != 0) { in DeallocateSlabs()
327 sys::Memory::setRangeWritable(*I, AllocatedSlabSize); in DeallocateSlabs()
328 memset(*I, 0xCD, AllocatedSlabSize); in DeallocateSlabs()
331 Allocator.Deallocate(*I, AllocatedSlabSize); in DeallocateSlabs()
388 size_t AllocatedSlabSize = BumpPtrAllocator::computeSlabSize( in DestroyAll() local
392 : (char *)*I + AllocatedSlabSize; in DestroyAll()