Home | History | Annotate | Download | only in JIT

Lines Matching full:slab

278     virtual void Deallocate(MemSlab *Slab);
292 /// LastSlab - This points to the last slab allocated and is used as the
318 /// last slab it allocated, so that subsequent allocations follow it.
330 /// should allocate a separate slab.
374 DEBUG(dbgs() << "JIT: Allocating another slab of memory for function.");
387 /// allocateNewCodeSlab - Helper method to allocate a new slab of code
389 /// FreeRangeHeader at the base of the slab.
393 // end of the slab.
496 DEBUG(dbgs() << "JIT: Allocating another slab of memory for function.");
570 MemSlab *Slab = (MemSlab*)B.base();
571 Slab->Size = B.size();
572 Slab->NextPtr = 0;
573 return Slab;
576 void JITSlabAllocator::Deallocate(MemSlab *Slab) {
577 sys::MemoryBlock B(Slab, Slab->Size);
671 // Initialize the slab to garbage when debugging.
910 // Waste at most 16K at the end of each bump slab. (probably 4 pages)