Home
last modified time | relevance | path

Searched refs:MemBase (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/Support/
DAllocatorTest.cpp116 void *MemBase = malloc(Size + Alignment - 1 + sizeof(void*)); in Allocate() local
119 MemSlab *Slab = (MemSlab*)(((uintptr_t)MemBase+sizeof(void*)+Alignment-1) & in Allocate()
125 ((void**)Slab)[-1] = MemBase; in Allocate()
/external/llvm/lib/ExecutionEngine/JIT/
DJITMemoryManager.cpp394 char *MemBase = (char*)(B.base()); in allocateNewCodeSlab() local
399 (MemoryRangeHeader*)(MemBase + B.size()) - 1; in allocateNewCodeSlab()
405 FreeRangeHeader *NewBlock = (FreeRangeHeader*)MemBase; in allocateNewCodeSlab()
609 uint8_t *MemBase = (uint8_t*)MemBlock.base(); in DefaultJITMemoryManager() local
623 MemoryRangeHeader *Mem3 = (MemoryRangeHeader*)(MemBase+MemBlock.size())-1; in DefaultJITMemoryManager()
647 FreeRangeHeader *Mem0 = (FreeRangeHeader*)MemBase; in DefaultJITMemoryManager()