Searched refs:SlabSize (Results 1 – 7 of 7) sorted by relevance
/external/llvm/include/llvm/Support/ |
D | Allocator.h | 133 template <typename AllocatorT = MallocAllocator, size_t SlabSize = 4096, 134 size_t SizeThreshold = SlabSize> 137 BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>> { 139 static_assert(SizeThreshold <= SlabSize, 200 End = CurPtr + SlabSize; in Reset() 316 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); in computeSlabSize() 415 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 417 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, in new() argument 432 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 434 void *, llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold> &) { in delete() argument
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Allocator.h | 136 template <typename AllocatorT = MallocAllocator, size_t SlabSize = 4096, 137 size_t SizeThreshold = SlabSize> 140 BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>> { 142 static_assert(SizeThreshold <= SlabSize, 203 End = CurPtr + SlabSize; in Reset() 319 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); in computeSlabSize() 418 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 420 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, in new() argument 435 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 437 void *, llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold> &) { in delete() argument
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Allocator.cpp | 25 : SlabSize(size), SizeThreshold(threshold), Allocator(allocator), in BumpPtrAllocator() 50 if (BytesAllocated >= SlabSize * 128) in StartNewSlab() 51 SlabSize *= 2; in StartNewSlab() 53 MemSlab *NewSlab = Allocator.Allocate(SlabSize); in StartNewSlab()
|
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/ |
D | JITMemoryManagerTest.cpp | 239 size_t SlabSize = MemMgr->GetDefaultDataSlabSize(); in TEST() local 241 int Iters = (SlabSize / Size) + 1; in TEST() 262 size_t SlabSize = MemMgr->GetDefaultStubSlabSize(); in TEST() local 264 int Iters = (SlabSize / Size) + 1; in TEST()
|
/external/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 190 SlabSize = Size; in preallocateSlab() 195 if (CurrentSlabOffset + Size > SlabSize) in allocateFromSlab() 212 uintptr_t SlabSize = 0; member in TrivialMemoryManager
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | Allocator.h | 96 size_t SlabSize;
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
D | JITMemoryManager.cpp | 374 size_t SlabSize = std::max(DefaultCodeSlabSize, PaddedMin); in allocateNewCodeSlab() local 375 sys::MemoryBlock B = allocateNewSlab(SlabSize); in allocateNewCodeSlab()
|