Searched refs:Slab (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.1-release/contrib/llvm/lib/Support/
H A DAllocator.cpp67 void BumpPtrAllocator::DeallocateSlabs(MemSlab *Slab) { argument
68 while (Slab) {
69 MemSlab *NextSlab = Slab->NextPtr;
73 sys::Memory::setRangeWritable(Slab + 1, Slab->Size - sizeof(MemSlab));
74 memset(Slab + 1, 0xCD, Slab->Size - sizeof(MemSlab));
76 Allocator.Deallocate(Slab);
77 Slab = NextSlab;
145 for (MemSlab *Slab
179 MemSlab *Slab = (MemSlab*)Allocator.Allocate(Size, 0); local
185 Deallocate(MemSlab *Slab) argument
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/Support/
H A DAllocator.h68 virtual void Deallocate(MemSlab *Slab) = 0;
83 virtual void Deallocate(MemSlab *Slab) LLVM_OVERRIDE;
137 void DeallocateSlabs(MemSlab *Slab);
207 MemSlab *Slab = Allocator.CurSlab; local
208 while (Slab) {
209 char *End = Slab == Allocator.CurSlab ? Allocator.CurPtr :
210 (char *)Slab + Slab->Size;
211 for (char *Ptr = (char*)(Slab+1); Ptr < End; Ptr += sizeof(T)) {
216 Slab
[all...]
/freebsd-10.1-release/contrib/llvm/lib/ExecutionEngine/JIT/
H A DJITMemoryManager.cpp278 virtual void Deallocate(MemSlab *Slab);
571 MemSlab *Slab = (MemSlab*)B.base(); local
572 Slab->Size = B.size();
573 Slab->NextPtr = 0;
574 return Slab;
577 void JITSlabAllocator::Deallocate(MemSlab *Slab) { argument
578 sys::MemoryBlock B(Slab, Slab->Size);

Completed in 105 milliseconds