/external/v8/src/zone/ |
D | zone-allocator.h | 119 if ((sizeof(T) * n < sizeof(FreeBlock))) return; in deallocate() 125 DCHECK((sizeof(T) * n >= sizeof(FreeBlock))); in deallocate() 126 FreeBlock* new_free_block = reinterpret_cast<FreeBlock*>(p); in deallocate() 135 struct FreeBlock { struct 136 FreeBlock* next; argument 140 FreeBlock* free_list_; argument
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
D | JITMemoryManager.cpp | 77 FreeRangeHeader *FreeBlock(FreeRangeHeader *FreeList); 147 FreeRangeHeader *MemoryRangeHeader::FreeBlock(FreeRangeHeader *FreeList) { in FreeBlock() function in MemoryRangeHeader 183 FreeRangeHeader &FreeBlock = *(FreeRangeHeader*)this; in FreeBlock() local 185 FreeBlock.ThisAllocated = 0; in FreeBlock() 188 FreeBlock.AddToFreeList(FreeList); in FreeBlock() 192 FreeBlock.SetEndOfBlockSizeMarker(); in FreeBlock() 193 return FreeListToReturn ? FreeListToReturn : &FreeBlock; in FreeBlock() 479 FreeMemoryList = MemRange->FreeBlock(FreeMemoryList); in deallocateBlock()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_sync_test.cc | 28 uptr sz = m->FreeBlock(thr->proc(), (uptr)&block[0]); in TEST() 66 m->FreeBlock(thr->proc(), (uptr)&block[0]); in TEST() 119 uptr sz = m->FreeBlock(thr->proc(), (uptr)&block[0]); in TEST()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_sync.h | 75 uptr FreeBlock(Processor *proc, uptr p);
|
D | tsan_mman.cc | 191 uptr sz = ctx->metamap.FreeBlock(thr->proc(), p); in OnUserFree()
|
D | tsan_sync.cc | 74 uptr MetaMap::FreeBlock(Processor *proc, uptr p) { in FreeBlock() function in __tsan::MetaMap
|
/external/v8/src/heap/ |
D | spaces.h | 1113 class FreeBlock { 1115 FreeBlock() : start(0), size(0) {} in FreeBlock() function 1116 FreeBlock(Address start_arg, size_t size_arg) in FreeBlock() function 1121 FreeBlock(void* start_arg, size_t size_arg) in FreeBlock() function 1137 static bool CompareFreeBlockAddress(const FreeBlock& left, 1138 const FreeBlock& right); 1139 bool ReserveBlock(const size_t requested_size, FreeBlock* block); 1140 void ReleaseBlock(const FreeBlock* block); 1154 std::vector<FreeBlock> free_list_; 1158 std::vector<FreeBlock> allocation_list_;
|
D | spaces.cc | 177 bool CodeRange::CompareFreeBlockAddress(const FreeBlock& left, in CompareFreeBlockAddress() 178 const FreeBlock& right) { in CompareFreeBlockAddress() 198 FreeBlock merged = free_list_[i]; in GetNextAllocationBlock() 232 FreeBlock current; in AllocateRawMemory() 255 bool CodeRange::ReserveBlock(const size_t requested_size, FreeBlock* block) { in ReserveBlock() 278 void CodeRange::ReleaseBlock(const FreeBlock* block) { in ReleaseBlock()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1319 BasicBlock *FreeBlock = BasicBlock::Create(Cmp->getContext(), "free_it", in PerformHeapAllocSRoA() local 1323 Instruction *BI = BranchInst::Create(FreeBlock, NextBlock, in PerformHeapAllocSRoA() 1329 FreeBlock); in PerformHeapAllocSRoA() 1330 BranchInst::Create(NextBlock, FreeBlock); in PerformHeapAllocSRoA()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1363 BasicBlock *FreeBlock = BasicBlock::Create(Cmp->getContext(), "free_it", in PerformHeapAllocSRoA() local 1367 Instruction *BI = BranchInst::Create(FreeBlock, NextBlock, in PerformHeapAllocSRoA() 1373 FreeBlock); in PerformHeapAllocSRoA() 1374 BranchInst::Create(NextBlock, FreeBlock); in PerformHeapAllocSRoA()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1380 BasicBlock *FreeBlock = BasicBlock::Create(Cmp->getContext(), "free_it", in PerformHeapAllocSRoA() local 1384 Instruction *BI = BranchInst::Create(FreeBlock, NextBlock, in PerformHeapAllocSRoA() 1390 FreeBlock); in PerformHeapAllocSRoA() 1391 BranchInst::Create(NextBlock, FreeBlock); in PerformHeapAllocSRoA()
|