Home
last modified time | relevance | path

Searched refs:Deallocate (Results 1 – 25 of 55) 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.h71 Allocator.Deallocate(t); in clear()
98 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) { in Deallocate() function
H A DAllocator.h223 void Deallocate(const void *Ptr, size_t Size, size_t /*Alignment*/) { in Deallocate() function
228 using AllocatorBase<BumpPtrAllocatorImpl>::Deallocate;
361 this->getAllocator().Deallocate(*I, AllocatedSlabSize, in DeallocateSlabs()
371 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_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
H A Dsanitizer_allocator.cpp74 return internal_allocator()->Deallocate(&internal_allocator_cache, ptr); in RawInternalFree()
76 internal_allocator()->Deallocate(cache, ptr); in RawInternalFree()
/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/lib/CodeGen/
H A DMachineFunction.cpp280 Allocator.Deallocate(RegInfo); in clear()
284 Allocator.Deallocate(MFInfo); in clear()
288 Allocator.Deallocate(FrameInfo); in clear()
291 Allocator.Deallocate(ConstantPool); in clear()
295 Allocator.Deallocate(JumpTableInfo); in clear()
300 Allocator.Deallocate(WinEHInfo); in clear()
305 Allocator.Deallocate(WasmEHInfo); in clear()
456 InstructionRecycler.Deallocate(Allocator, MI); in deleteMachineInstr()
484 BasicBlockRecycler.Deallocate(Allocator, MBB); in deleteMachineBasicBlock()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.cpp81 Parent.SAs.Deallocate, in abandon()
129 SAs.Deallocate, in deallocate()
/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()
H A Dlsan_allocator.h26 void Deallocate(void *p);
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp251 get_allocator().Deallocate(cache_, p); in Recycle()
272 void Deallocate(void *p) const { get_allocator().Deallocate(cache_, p); } in Deallocate() function
703 void Deallocate(void *ptr, uptr delete_size, uptr delete_alignment, in Deallocate() function
776 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
999 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in asan_free()
1004 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in asan_delete()
1031 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/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.h34 ExecutorAddr Deallocate; member
H A DEPCGenericRTDyldMemoryManager.h33 ExecutorAddr Deallocate; member
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp146 allocator.Deallocate(cache, p); in dfsan_deallocate()
150 allocator.Deallocate(cache, p); in dfsan_deallocate()
/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()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp597 Stmt *Deallocate; member
614 CGF.EmitStmt(Deallocate); in Emit()
622 CGF.CGM.Error(Deallocate->getBeginLoc(), in Emit()
641 explicit CallCoroDelete(Stmt *DeallocStmt) : Deallocate(DeallocStmt) {} in CallCoroDelete()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp260 allocator.Deallocate(cache, p); in MsanDeallocate()
264 allocator.Deallocate(cache, p); in MsanDeallocate()

123