Searched defs:BumpPtrAllocator (Results 1 - 2 of 2) sorted by relevance

/external/llvm/lib/Support/
H A DAllocator.cpp10 // This file implements the BumpPtrAllocator interface.
23 BumpPtrAllocator::BumpPtrAllocator(size_t size, size_t threshold, function in class:llvm::BumpPtrAllocator
28 BumpPtrAllocator::~BumpPtrAllocator() {
35 char *BumpPtrAllocator::AlignPtr(char *Ptr, size_t Alignment) {
46 void BumpPtrAllocator::StartNewSlab() {
62 void BumpPtrAllocator::DeallocateSlabs(MemSlab *Slab) {
78 void BumpPtrAllocator::Reset() {
89 void *BumpPtrAllocator
[all...]
/external/llvm/include/llvm/Support/
H A DAllocator.h10 // This file defines the MallocAllocator and BumpPtrAllocator interfaces.
86 /// BumpPtrAllocator - This allocator is useful for containers that need
90 class BumpPtrAllocator { class in namespace:llvm
91 BumpPtrAllocator(const BumpPtrAllocator &); // do not implement
92 void operator=(const BumpPtrAllocator &); // do not implement
140 BumpPtrAllocator(size_t size = 4096, size_t threshold = 4096,
142 ~BumpPtrAllocator();
185 /// SpecificBumpPtrAllocator - Same as BumpPtrAllocator but allows only
190 BumpPtrAllocator Allocato
192 SpecificBumpPtrAllocator(size_t size = 4096, size_t threshold = 4096, SlabAllocator &allocator = BumpPtrAllocator::DefaultSlabAllocator) argument
[all...]

Completed in 182 milliseconds