Searched refs:NewSlab (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Allocator.cpp | 53 MemSlab *NewSlab = Allocator.Allocate(SlabSize); in StartNewSlab() local 54 NewSlab->NextPtr = CurSlab; in StartNewSlab() 55 CurSlab = NewSlab; in StartNewSlab() 111 MemSlab *NewSlab = Allocator.Allocate(PaddedSize); in Allocate() local 115 NewSlab->NextPtr = CurSlab->NextPtr; in Allocate() 116 CurSlab->NextPtr = NewSlab; in Allocate() 118 Ptr = AlignPtr((char*)(NewSlab + 1), Alignment); in Allocate() 119 assert((uintptr_t)Ptr + Size <= (uintptr_t)NewSlab + NewSlab->Size); in Allocate()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Allocator.h | 237 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate() local 240 __asan_poison_memory_region(NewSlab, PaddedSize); in Allocate() 241 CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize)); in Allocate() 243 uintptr_t AlignedAddr = alignAddr(NewSlab, Alignment); in Allocate() 244 assert(AlignedAddr + Size <= (uintptr_t)NewSlab + PaddedSize); in Allocate() 327 void *NewSlab = Allocator.Allocate(AllocatedSlabSize, 0); in StartNewSlab() local 330 __asan_poison_memory_region(NewSlab, AllocatedSlabSize); in StartNewSlab() 332 Slabs.push_back(NewSlab); in StartNewSlab() 333 CurPtr = (char *)(NewSlab); in StartNewSlab() 334 End = ((char *)NewSlab) + AllocatedSlabSize; in StartNewSlab()
|
/external/llvm/include/llvm/Support/ |
D | Allocator.h | 234 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate() local 237 __asan_poison_memory_region(NewSlab, PaddedSize); in Allocate() 238 CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize)); in Allocate() 240 uintptr_t AlignedAddr = alignAddr(NewSlab, Alignment); in Allocate() 241 assert(AlignedAddr + Size <= (uintptr_t)NewSlab + PaddedSize); in Allocate() 324 void *NewSlab = Allocator.Allocate(AllocatedSlabSize, 0); in StartNewSlab() local 327 __asan_poison_memory_region(NewSlab, AllocatedSlabSize); in StartNewSlab() 329 Slabs.push_back(NewSlab); in StartNewSlab() 330 CurPtr = (char *)(NewSlab); in StartNewSlab() 331 End = ((char *)NewSlab) + AllocatedSlabSize; in StartNewSlab()
|