Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DAllocatorBase.h58 void Deallocate(const void *Ptr, size_t Size, size_t Alignment) { in Deallocate() function
62 &AllocatorBase::Deallocate) != in Deallocate()
64 &DerivedT::Deallocate), in Deallocate()
68 return static_cast<DerivedT *>(this)->Deallocate(Ptr, Size, Alignment); in Deallocate()
82 Deallocate(T *Ptr, size_t Num = 1) {
83 Deallocate(static_cast<const void *>(Ptr), Num * sizeof(T), alignof(T));
98 void Deallocate(const void *Ptr, size_t Size, size_t Alignment) { in Deallocate() function
103 using AllocatorBase<MallocAllocator>::Deallocate;
H A DRecyclingAllocator.h51 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } in Deallocate() function
73 A.Deallocate(E); in delete()
H A DPerThreadBumpPtrAllocator.h40 using AllocatorBase<PerThreadAllocator<AllocatorTy>>::Deallocate;
50 void Deallocate(const void *Ptr, size_t Size, size_t Alignment) { in Deallocate() function
52 return Allocators[getThreadIndex()].Deallocate(Ptr, Size, Alignment); in Deallocate()
H A DRecycler.h77 Allocator.Deallocate(t, Size, Align); in clear()
106 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) { in Deallocate() function
H A DAllocator.h226 void Deallocate(const void *Ptr, size_t Size, size_t /*Alignment*/) { in Deallocate() function
231 using AllocatorBase<BumpPtrAllocatorImpl>::Deallocate;
364 this->getAllocator().Deallocate(*I, AllocatedSlabSize, in DeallocateSlabs()
374 this->getAllocator().Deallocate(Ptr, Size, alignof(std::max_align_t)); in DeallocateCustomSizedSlabs()
H A DArrayRecycler.h107 Allocator.Deallocate(Ptr); in clear()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_combined.h89 void Deallocate(AllocatorCache *cache, void *p) { in Deallocate() function
92 cache->Deallocate(&primary_, primary_.GetSizeClass(p), p); in Deallocate()
94 secondary_.Deallocate(&stats_, p); in Deallocate()
102 Deallocate(cache, p); in Reallocate()
111 Deallocate(cache, p); in Reallocate()
H A Dsanitizer_allocator.cpp74 return internal_allocator()->Deallocate(&internal_allocator_cache, ptr); in RawInternalFree()
76 internal_allocator()->Deallocate(cache, ptr); in RawInternalFree()
H A Dsanitizer_allocator_local_cache.h49 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) { in Deallocate() function
150 Deallocate(allocator, batch_class_id, b); in DestroyBatch()
174 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) { in Deallocate() function
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp125 void Deallocate(void *p) { in Deallocate() function
127 allocator.Deallocate(GetAllocatorCache(), p); in Deallocate()
220 Deallocate(p); in lsan_free()
223 void lsan_free_sized(void *p, uptr) { Deallocate(p); } in lsan_free_sized()
225 void lsan_free_aligned_sized(void *p, uptr, uptr) { Deallocate(p); } in lsan_free_aligned_sized()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayout.cpp24 Ctx.Deallocate(CXXInfo); in Destroy()
27 Ctx.Deallocate(this); in Destroy()
H A DStmtCXX.cpp120 SubStmts[CoroutineBodyStmt::Deallocate] = Args.Deallocate; in CoroutineBodyStmt()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp505 void Deallocate(void *ptr, uptr delete_size, uptr delete_alignment, in Deallocate() function
538 allocator.Deallocate(cache, alloc_beg); in Deallocate()
542 allocator.Deallocate(cache, alloc_beg); in Deallocate()
561 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
653 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in memprof_free()
658 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in memprof_delete()
685 instance.Deallocate(p, 0, 0, stack, FROM_MALLOC); in memprof_realloc()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPagedVector.h138 Allocator.getPointer()->Deallocate(Page); in resize()
158 Allocator.getPointer()->Deallocate(Page); in clear()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.cpp80 Parent.SAs.Deallocate, in abandon()
128 SAs.Deallocate, in deallocate()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp267 Allocator.Deallocate(JumpTableInfo); in clear()
286 Allocator.Deallocate(RegInfo); in clear()
290 Allocator.Deallocate(MFInfo); in clear()
294 Allocator.Deallocate(FrameInfo); in clear()
297 Allocator.Deallocate(ConstantPool); in clear()
301 Allocator.Deallocate(WinEHInfo); in clear()
306 Allocator.Deallocate(WasmEHInfo); in clear()
494 InstructionRecycler.Deallocate(Allocator, MI); in deleteMachineInstr()
520 BasicBlockRecycler.Deallocate(Allocator, MBB); in deleteMachineBasicBlock()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp252 get_allocator().Deallocate(cache_, p); in Recycle()
273 void Deallocate(void *p) const { get_allocator().Deallocate(cache_, p); } in Deallocate() function
709 void Deallocate(void *ptr, uptr delete_size, uptr delete_alignment, in Deallocate() function
783 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
1011 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in asan_free()
1016 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in asan_delete()
1043 instance.Deallocate(p, 0, 0, stack, FROM_MALLOC); in asan_realloc()
H A Dasan_fake_stack.h124 static void Deallocate(uptr x, uptr class_id) { in Deallocate() function
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DProgram.h141 void Deallocate(void *Ptr) const {} in Deallocate() function
256 C.Deallocate(Ptr); in delete()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h329 Deallocate, ///< Coroutine frame memory deallocation. enumerator
356 Expr *Deallocate = nullptr; member
409 return cast_or_null<Expr>(getStoredStmts()[SubStmt::Deallocate]); in getDeallocate()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.h36 ExecutorAddr Deallocate; member
H A DEPCGenericRTDyldMemoryManager.h35 ExecutorAddr Deallocate; member
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp149 allocator.Deallocate(cache, p); in dfsan_deallocate()
153 allocator.Deallocate(cache, p); in dfsan_deallocate()
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan_allocator.cpp147 allocator.Deallocate(cache, p); in NsanDeallocate()
153 allocator.Deallocate(cache, p); in NsanDeallocate()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessingRecord.h408 void Deallocate(void *Ptr) {} in Deallocate() function
579 PR.Deallocate(ptr); in delete()

123