Home
last modified time | relevance | path

Searched refs:Deallocate (Results 1 – 25 of 130) sorted by relevance

123456

/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DAllocator.h62 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() function
65 &AllocatorBase::Deallocate) != in Deallocate()
67 &DerivedT::Deallocate), in Deallocate()
71 return static_cast<DerivedT *>(this)->Deallocate(Ptr, Size); in Deallocate()
86 Deallocate(T *Ptr, size_t Num = 1) {
87 Deallocate(static_cast<const void *>(Ptr), Num * sizeof(T));
103 void Deallocate(const void *Ptr, size_t /*Size*/) { in Deallocate() function
108 using AllocatorBase<MallocAllocator>::Deallocate;
266 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() function
271 using AllocatorBase<BumpPtrAllocatorImpl>::Deallocate;
[all …]
/external/llvm/include/llvm/Support/
DAllocator.h60 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() function
63 &AllocatorBase::Deallocate) != in Deallocate()
65 &DerivedT::Deallocate), in Deallocate()
69 return static_cast<DerivedT *>(this)->Deallocate(Ptr, Size); in Deallocate()
84 Deallocate(T *Ptr, size_t Num = 1) {
85 Deallocate(static_cast<const void *>(Ptr), Num * sizeof(T));
101 void Deallocate(const void *Ptr, size_t /*Size*/) { in Deallocate() function
106 using AllocatorBase<MallocAllocator>::Deallocate;
263 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() function
268 using AllocatorBase<BumpPtrAllocatorImpl>::Deallocate;
[all …]
DRecyclingAllocator.h52 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } in Deallocate() function
74 A.Deallocate(E); in delete()
DRecycler.h70 Allocator.Deallocate(t); in clear()
97 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) { in Deallocate() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DAllocator.h64 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() function
67 &AllocatorBase::Deallocate) != in Deallocate()
69 &DerivedT::Deallocate), in Deallocate()
73 return static_cast<DerivedT *>(this)->Deallocate(Ptr, Size); in Deallocate()
88 Deallocate(T *Ptr, size_t Num = 1) {
89 Deallocate(static_cast<const void *>(Ptr), Num * sizeof(T));
105 void Deallocate(const void *Ptr, size_t /*Size*/) { in Deallocate() function
110 using AllocatorBase<MallocAllocator>::Deallocate;
277 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() function
282 using AllocatorBase<BumpPtrAllocatorImpl>::Deallocate;
[all …]
DRecyclingAllocator.h52 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } in Deallocate() function
74 A.Deallocate(E); in delete()
DRecycler.h72 Allocator.Deallocate(t); in clear()
99 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) { in Deallocate() function
/external/tensorflow/tensorflow/lite/
Dsimple_memory_arena_test.cc32 arena.Deallocate(&context, allocs[0]); in TEST()
35 arena.Deallocate(&context, allocs[1]); in TEST()
57 ASSERT_EQ(arena.Deallocate(&context, alloc), kTfLiteOk); in TEST()
58 ASSERT_EQ(arena.Deallocate(&context, alloc), kTfLiteOk); in TEST()
76 ASSERT_EQ(arena.Deallocate(&context, allocs[1]), kTfLiteOk); in TEST()
77 ASSERT_EQ(arena.Deallocate(&context, allocs[2]), kTfLiteOk); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DRecyclingAllocator.h52 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } in Deallocate() function
70 A.Deallocate(E); in delete()
DAllocator.h46 void Deallocate(const void *Ptr) { free(const_cast<void*>(Ptr)); }
68 virtual void Deallocate(MemSlab *Slab) = 0;
83 virtual void Deallocate(MemSlab *Slab);
175 void Deallocate(const void * /*Ptr*/) {}
DRecycler.h85 Allocator.Deallocate(t);
106 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) {
/external/tensorflow/tensorflow/compiler/xla/service/
Dshaped_buffer.cc125 Deallocate(); in operator =()
134 ScopedShapedBuffer::~ScopedShapedBuffer() { Deallocate(); } in ~ScopedShapedBuffer()
142 void ScopedShapedBuffer::Deallocate() { in Deallocate() function in xla::ScopedShapedBuffer
155 TF_CHECK_OK(allocator_->Deallocate(device_ordinal(), memory_base)); in Deallocate()
Ddevice_memory_allocator.h63 virtual Status Deallocate(int device_ordinal, se::DeviceMemoryBase mem) = 0;
91 Status Deallocate(int device_ordinal, se::DeviceMemoryBase mem) override;
Ddevice_memory_allocator.cc50 Status StreamExecutorMemoryAllocator::Deallocate(int device_ordinal, in Deallocate() function in xla::StreamExecutorMemoryAllocator
57 stream_executor->Deallocate(&mem); in Deallocate()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc137 cache.Deallocate(a, a->GetSizeClass(x), x); in TestSizeClassAllocator()
193 cache.Deallocate(a, 1 + i % 50, allocated[i]); in SizeClassAllocatorMetadataStress()
318 a.Deallocate(&stats, x); in TEST()
363 a.Deallocate(&stats, p); in TEST()
389 a.Deallocate(&stats, p); in TEST()
407 a.Deallocate(&stats, allocated[i]); in TEST()
417 a.Deallocate(&stats, p); in TEST()
467 a->Deallocate(&cache, x); in TestCombinedAllocator()
516 cache.Deallocate(a, class_id, allocated[i]); in TestSizeClassAllocatorLocalCache()
587 params->thread_cache->Deallocate(params->allocator, params->class_id, params); in DeallocNewThreadWorker()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DAllocator.cpp71 Allocator.Deallocate(Slab); in DeallocateSlabs()
176 void MallocSlabAllocator::Deallocate(MemSlab *Slab) { in Deallocate() function in llvm::MallocSlabAllocator
177 Allocator.Deallocate(Slab); in Deallocate()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineFunction.cpp83 Allocator.Deallocate(RegInfo); in ~MachineFunction()
87 Allocator.Deallocate(MFInfo); in ~MachineFunction()
89 FrameInfo->~MachineFrameInfo(); Allocator.Deallocate(FrameInfo); in ~MachineFunction()
90 ConstantPool->~MachineConstantPool(); Allocator.Deallocate(ConstantPool); in ~MachineFunction()
94 Allocator.Deallocate(JumpTableInfo); in ~MachineFunction()
176 InstructionRecycler.Deallocate(Allocator, MI); in DeleteMachineInstr()
194 BasicBlockRecycler.Deallocate(Allocator, MBB); in DeleteMachineBasicBlock()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCContext.h269 void Deallocate(void *Ptr) { in Deallocate() function
311 C.Deallocate(Ptr); in delete()
345 C.Deallocate(Ptr); in throw()
/external/clang/lib/AST/
DRecordLayout.cpp23 Ctx.Deallocate(CXXInfo); in Destroy()
26 Ctx.Deallocate(this); in Destroy()
/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc106 void Deallocate(void *p) { in Deallocate() function
110 allocator.Deallocate(&cache, p); in Deallocate()
118 allocator.Deallocate(&cache, p); in Reallocate()
/external/llvm/lib/CodeGen/
DMachineFunction.cpp164 Allocator.Deallocate(RegInfo); in ~MachineFunction()
168 Allocator.Deallocate(MFInfo); in ~MachineFunction()
172 Allocator.Deallocate(FrameInfo); in ~MachineFunction()
175 Allocator.Deallocate(ConstantPool); in ~MachineFunction()
179 Allocator.Deallocate(JumpTableInfo); in ~MachineFunction()
184 Allocator.Deallocate(WinEHInfo); in ~MachineFunction()
278 InstructionRecycler.Deallocate(Allocator, MI); in DeleteMachineInstr()
294 BasicBlockRecycler.Deallocate(Allocator, MBB); in DeleteMachineBasicBlock()
/external/tensorflow/tensorflow/stream_executor/
Dtemporary_memory_manager.cc33 stream_->parent()->Deallocate(&device_memory); in ForceDeallocateAll()
57 stream_->parent()->Deallocate(&device_memory); in DeallocateFinalizedTemporaries()
Dstream_executor_pimpl.h202 void Deallocate(DeviceMemoryBase *mem);
807 parent_->Deallocate(&wrapped_); in ~ScopedDeviceMemory()
814 parent_->Deallocate(&wrapped_); in Reset()
823 parent_->Deallocate(&wrapped_); in Reset()
838 Deallocate(&result); in AllocateZeroed()
/external/compiler-rt/lib/asan/
Dasan_allocator.cc159 get_allocator().Deallocate(cache_, p); in Recycle()
166 void Deallocate(void *p) { in Deallocate() function
167 get_allocator().Deallocate(cache_, p); in Deallocate()
511 void Deallocate(void *ptr, uptr delete_size, BufferedStackTrace *stack, in Deallocate() function
559 Deallocate(old_ptr, 0, stack, FROM_MALLOC); in Reallocate()
725 instance.Deallocate(ptr, 0, stack, alloc_type); in asan_free()
730 instance.Deallocate(ptr, size, stack, alloc_type); in asan_sized_free()
745 instance.Deallocate(p, 0, stack, FROM_MALLOC); in asan_realloc()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineFunction.cpp214 Allocator.Deallocate(RegInfo); in clear()
218 Allocator.Deallocate(MFInfo); in clear()
222 Allocator.Deallocate(FrameInfo); in clear()
225 Allocator.Deallocate(ConstantPool); in clear()
229 Allocator.Deallocate(JumpTableInfo); in clear()
234 Allocator.Deallocate(WinEHInfo); in clear()
348 InstructionRecycler.Deallocate(Allocator, MI); in DeleteMachineInstr()
364 BasicBlockRecycler.Deallocate(Allocator, MBB); in DeleteMachineBasicBlock()

123456