/external/swiftshader/third_party/LLVM/lib/Support/ |
Allocator.cpp | 25 : SlabSize(size), SizeThreshold(threshold), Allocator(allocator), 50 if (BytesAllocated >= SlabSize * 128) 51 SlabSize *= 2; 53 MemSlab *NewSlab = Allocator.Allocate(SlabSize);
|
/external/llvm/include/llvm/Support/ |
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, 140 "The SizeThreshold must be at most the SlabSize to ensure " 200 End = CurPtr + SlabSize; 316 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); 415 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 417 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, 432 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
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, 143 "The SizeThreshold must be at most the SlabSize to ensure " 203 End = CurPtr + SlabSize; 319 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); 418 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 420 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, 435 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
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, 143 "The SizeThreshold must be at most the SlabSize to ensure " 203 End = CurPtr + SlabSize; 333 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); 436 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 438 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, 453 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
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, 143 "The SizeThreshold must be at most the SlabSize to ensure " 203 End = CurPtr + SlabSize; 333 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); 436 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 438 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, 453 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
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, 143 "The SizeThreshold must be at most the SlabSize to ensure " 203 End = CurPtr + SlabSize; 333 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); 436 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 438 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, 453 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
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, 143 "The SizeThreshold must be at most the SlabSize to ensure " 203 End = CurPtr + SlabSize; 333 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); 436 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 438 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, 453 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
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, 143 "The SizeThreshold must be at most the SlabSize to ensure " 203 End = CurPtr + SlabSize; 333 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); 436 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 438 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, 453 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
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, 143 "The SizeThreshold must be at most the SlabSize to ensure " 203 End = CurPtr + SlabSize; 333 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); 436 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 438 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, 453 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
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, 143 "The SizeThreshold must be at most the SlabSize to ensure " 203 End = CurPtr + SlabSize; 333 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); 436 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 438 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, 453 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
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, 143 "The SizeThreshold must be at most the SlabSize to ensure " 203 End = CurPtr + SlabSize; 333 return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128)); 436 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 438 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, 453 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold [all...] |
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/ |
JITMemoryManagerTest.cpp | 239 size_t SlabSize = MemMgr->GetDefaultDataSlabSize(); 241 int Iters = (SlabSize / Size) + 1; 262 size_t SlabSize = MemMgr->GetDefaultStubSlabSize(); 264 int Iters = (SlabSize / Size) + 1;
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
Allocator.h | 94 /// SlabSize - Allocate data into slabs of this size unless we get an 96 size_t SlabSize;
|
/external/llvm/tools/llvm-rtdyld/ |
llvm-rtdyld.cpp | 190 SlabSize = Size; 195 if (CurrentSlabOffset + Size > SlabSize) 212 uintptr_t SlabSize = 0;
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
JITMemoryManager.cpp | 374 size_t SlabSize = std::max(DefaultCodeSlabSize, PaddedMin); 375 sys::MemoryBlock B = allocateNewSlab(SlabSize);
|