Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DAllocator.h65 template <typename AllocatorT = MallocAllocator, size_t SlabSize = 4096,
66 size_t SizeThreshold = SlabSize, size_t GrowthDelay = 128>
68 : public AllocatorBase<BumpPtrAllocatorImpl<AllocatorT, SlabSize,
72 static_assert(SizeThreshold <= SlabSize,
136 End = CurPtr + SlabSize; in Reset()
325 return SlabSize * in computeSlabSize()
431 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold,
435 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold, in new() argument
441 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold,
444 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, in delete() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp51 size_t SlabSize = SlabEnd - (char *)SlabStart; in allocate() local
52 assert((SlabSize % sys::Process::getPageSizeEstimate()) == 0 && in allocate()
54 sys::MemoryBlock Slab(SlabStart, SlabSize); in allocate()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp335 Create(uint64_t SlabSize) { in Create() argument
338 new JITLinkSlabAllocator(SlabSize, Err)); in Create()
438 JITLinkSlabAllocator(uint64_t SlabSize, Error &Err) { in JITLinkSlabAllocator() argument
450 SlabSize = (SlabSize + PageSize - 1) & ~(PageSize - 1); in JITLinkSlabAllocator()
458 sys::Memory::allocateMappedMemory(SlabSize, nullptr, ReadWrite, EC); in JITLinkSlabAllocator()
492 uint64_t SlabSize = 0; in getSlabAllocSize() local
493 if (SizeString.getAsInteger(10, SlabSize)) in getSlabAllocSize()
497 return SlabSize * Units; in getSlabAllocSize()
502 auto SlabSize = ExitOnErr(getSlabAllocSize(SlabAllocateSizeString)); in createMemoryManager() local
503 return ExitOnErr(JITLinkSlabAllocator::Create(SlabSize)); in createMemoryManager()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp258 SlabSize = Size; in preallocateSlab()
264 if (CurrentSlabOffset + Size > SlabSize) in allocateFromSlab()
281 uintptr_t SlabSize = 0; member in TrivialMemoryManager