Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DAllocator.h139 template <typename AllocatorT = MallocAllocator, size_t SlabSize = 4096,
140 size_t SizeThreshold = SlabSize>
143 BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>> {
145 static_assert(SizeThreshold <= SlabSize,
206 End = CurPtr + SlabSize; in Reset()
393 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); in computeSlabSize()
496 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold>
498 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, in new() argument
513 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold>
515 void *, llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold> &) { in delete() argument
/freebsd-12.1/contrib/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp193 SlabSize = Size; in preallocateSlab()
198 if (CurrentSlabOffset + Size > SlabSize) in allocateFromSlab()
215 uintptr_t SlabSize = 0; member in TrivialMemoryManager