HomeSort by relevance Sort by last modified time
    Searched refs:Slab (Results 1 - 5 of 5) sorted by null

  /external/llvm/lib/Support/
Allocator.cpp 45 /// StartNewSlab - Allocate a new slab and move the bump pointers over into
46 /// the new slab. Modifies CurPtr and End.
49 // to allocate more. Increase slab size to reduce mallocs and possibly memory
63 void BumpPtrAllocator::DeallocateSlabs(MemSlab *Slab) {
64 while (Slab) {
65 MemSlab *NextSlab = Slab->NextPtr;
69 sys::Memory::setRangeWritable(Slab + 1, Slab->Size - sizeof(MemSlab));
70 memset(Slab + 1, 0xCD, Slab->Size - sizeof(MemSlab))
    [all...]
  /external/llvm/include/llvm/Support/
Allocator.h 51 /// MemSlab - This structure lives at the beginning of every slab allocated by
68 virtual void Deallocate(MemSlab *Slab) = 0;
71 /// MallocSlabAllocator - The default slab allocator for the bump allocator
83 virtual void Deallocate(MemSlab *Slab) LLVM_OVERRIDE;
99 /// allocate a separate slab.
107 /// CurSlab - The slab that we are currently allocating into.
111 /// CurPtr - The current pointer into the current slab. This points to the
112 /// next free byte in the slab.
115 /// End - The end of the current slab.
128 /// StartNewSlab - Allocate a new slab and move the bump pointers over int
    [all...]
  /external/llvm/unittests/Support/
AllocatorTest.cpp 81 // Test allocating just over the slab size. This tests a bug where before the
86 // Fill the slab right up until the end pointer.
90 // If we don't allocate a new slab, then we will have overflowed.
95 // Test allocating with a size larger than the initial slab size.
103 // Mock slab allocator that returns slabs aligned on 4096 bytes. There is no
112 // Allocate space for the alignment, the slab, and a void* that goes right
113 // before the slab.
117 // Make the slab.
118 MemSlab *Slab = (MemSlab*)(((uintptr_t)MemBase+sizeof(void*)+Alignment-1) &
120 Slab->Size = Size
    [all...]
  /external/llvm/lib/ExecutionEngine/JIT/
JITMemoryManager.cpp 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()
    [all...]
  /cts/suite/pts/deviceTests/browserbench/assets/octane/
pdfjs.js     [all...]

Completed in 138 milliseconds