Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DAllocator.h133 template <typename AllocatorT = MallocAllocator, size_t SlabSize = 4096,
134 size_t SizeThreshold = SlabSize>
137 BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>> {
139 static_assert(SizeThreshold <= SlabSize,
199 End = CurPtr + SlabSize; in Reset()
313 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); in computeSlabSize()
412 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold>
414 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, in new() argument
429 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold>
431 void *, llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold> &) { in delete() argument
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp190 SlabSize = Size; in preallocateSlab()
195 if (CurrentSlabOffset + Size > SlabSize) in allocateFromSlab()
212 uintptr_t SlabSize = 0; member in TrivialMemoryManager