Searched refs:Deallocate (Results 1 - 25 of 47) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DRecyclingAllocator.h47 /// Deallocate - Release storage for the pointed-to object. The
51 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } function in class:llvm::RecyclingAllocator
73 A.Deallocate(E);
H A DAllocator.h12 /// Allocate method accepting a size and alignment, and a Deallocate accepting
14 /// Allocate and Deallocate for setting size and alignment based on the final
63 /// Deallocate \a Ptr to \a Size bytes of memory allocated by this
65 void Deallocate(const void *Ptr, size_t Size) { function in class:llvm::AllocatorBase
68 &AllocatorBase::Deallocate) !=
70 &DerivedT::Deallocate),
72 "core Deallocate(void *) overload!");
74 return static_cast<DerivedT *>(this)->Deallocate(Ptr, Size);
85 /// Deallocate space for a sequence of objects without constructing them.
89 Deallocate( function in class:llvm::AllocatorBase
106 void Deallocate(const void *Ptr, size_t /*Size*/) { function in class:llvm::MallocAllocator
282 void Deallocate(const void *Ptr, size_t Size) { function in class:llvm::BumpPtrAllocatorImpl
[all...]
H A DRecycler.h71 Allocator.Deallocate(t);
75 /// Special case for BumpPtrAllocator which has an empty Deallocate()
98 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) { function in class:llvm::Recycler
H A DArrayRecycler.h107 Allocator.Deallocate(Ptr);
110 /// Special case for BumpPtrAllocator which has an empty Deallocate()
133 /// Deallocate an array with the specified Capacity.
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator_combined.h45 Cache->Deallocate(&Primary, ClassId, Ptr);
49 Secondary.Deallocate(&Stats, Ptr);
H A Dscudo_allocator_secondary.h151 void Deallocate(AllocatorStats *Stats, void *Ptr) { function in class:LargeMmapAllocator
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_combined.h89 void Deallocate(AllocatorCache *cache, void *p) { function in class:CombinedAllocator
92 cache->Deallocate(&primary_, primary_.GetSizeClass(p), p);
94 secondary_.Deallocate(&stats_, p);
102 Deallocate(cache, p);
111 Deallocate(cache, p);
H A Dsanitizer_allocator_local_cache.h48 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) { function in struct:SizeClassAllocator64LocalCache
143 Deallocate(allocator, batch_class_id, b);
167 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) { function in struct:SizeClassAllocator32LocalCache
H A Dsanitizer_allocator.cpp133 return internal_allocator()->Deallocate(&internal_allocator_cache, ptr);
135 internal_allocator()->Deallocate(cache, ptr);
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DRecordLayout.cpp24 Ctx.Deallocate(CXXInfo);
27 Ctx.Deallocate(this);
H A DStmtCXX.cpp119 SubStmts[CoroutineBodyStmt::Deallocate] = Args.Deallocate;
H A DStmt.cpp490 C.Deallocate(this->Names);
494 C.Deallocate(this->Exprs);
499 C.Deallocate(this->Constraints);
503 C.Deallocate(this->Clobbers);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp117 void Deallocate(void *p) { function in namespace:__lsan
121 allocator.Deallocate(GetAllocatorCache(), p);
128 allocator.Deallocate(GetAllocatorCache(), p);
188 Deallocate(p);
H A Dlsan_allocator.h26 void Deallocate(void *p);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp229 Allocator.Deallocate(RegInfo);
233 Allocator.Deallocate(MFInfo);
237 Allocator.Deallocate(FrameInfo);
240 Allocator.Deallocate(ConstantPool);
244 Allocator.Deallocate(JumpTableInfo);
249 Allocator.Deallocate(WinEHInfo);
254 Allocator.Deallocate(WasmEHInfo);
396 InstructionRecycler.Deallocate(Allocator, MI);
412 BasicBlockRecycler.Deallocate(Allocator, MBB);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_fake_stack.h123 // Deallocate the fake frame: read the saved flag address and write 0 there.
124 static void Deallocate(uptr x, uptr class_id) { function in class:__asan::FakeStack
H A Dasan_allocator.cpp164 get_allocator().Deallocate(cache_, p);
175 void Deallocate(void *p) { function in struct:__asan::QuarantineCallback
176 get_allocator().Deallocate(cache_, p);
626 void Deallocate(void *ptr, uptr delete_size, uptr delete_alignment, function in struct:__asan::Allocator
687 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC);
883 instance.Deallocate(ptr, 0, 0, stack, alloc_type);
888 instance.Deallocate(ptr, size, alignment, stack, alloc_type);
915 instance.Deallocate(p, 0, 0, stack, FROM_MALLOC);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h328 Deallocate, ///< Coroutine frame memory deallocation. enumerator in enum:clang::final::SubStmt
355 Expr *Deallocate = nullptr; member in struct:clang::final::CtorArgs
407 return cast_or_null<Expr>(getStoredStmts()[SubStmt::Deallocate]);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DPartialDiagnostic.h107 void Deallocate(Storage *S) { function in class:clang::PartialDiagnostic::StorageAllocator
160 Allocator->Deallocate(DiagStorage);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp226 allocator.Deallocate(t->allocator_cache(), aligned_ptr);
233 allocator.Deallocate(cache, aligned_ptr);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp201 allocator.Deallocate(cache, p);
205 allocator.Deallocate(cache, p);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessingRecord.h407 /// Deallocate memory in the preprocessing record.
408 void Deallocate(void *Ptr) {} function in class:clang::PreprocessingRecord
571 PR.Deallocate(ptr);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DScopedHashTable.h79 Allocator.Deallocate(this);
H A DAllocatorList.h73 AL.getAlloc().Deallocate(N);
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp420 Stmt *Deallocate; member in struct:__anon2844::final
422 // Emit "if (coro.free(CoroId, CoroBegin)) Deallocate;"
425 // once for exceptional exit. This usage is safe because Deallocate does not
437 CGF.EmitStmt(Deallocate);
445 CGF.CGM.Error(Deallocate->getBeginLoc(),
455 // Add if (auto *mem = coro.free) Deallocate;
464 explicit CallCoroDelete(Stmt *DeallocStmt) : Deallocate(DeallocStmt) {}

Completed in 313 milliseconds

12