Home
last modified time | relevance | path

Searched defs:Allocator (Results 1 – 25 of 210) sorted by relevance

123456789

/llvm-project/compiler-rt/lib/xray/
H A Dxray_allocator.h164 template <size_t N> struct Allocator { struct
166 struct Block {
174 unsigned char *BackingStore = nullptr;
175 unsigned char *AlignedNextBlock = nullptr;
176 size_t AllocatedBlocks = 0;
177 bool Owned;
180 void *Alloc() XRAY_NEVER_INSTRUMENT { in Alloc()
225 explicit Allocator(size_t M) XRAY_NEVER_INSTRUMENT in Allocator() function
233 explicit Allocator(void *P, size_t M) XRAY_NEVER_INSTRUMENT in Allocator() function
242 Allocator &operator=(const Allocator &) = delete; argument
[all …]
/llvm-project/flang/include/flang/Runtime/
H A Dmemory.h156 template <typename A> struct Allocator { struct
158 explicit Allocator(const Terminator &t) : terminator{t} {} in Allocator() argument
160 explicit constexpr Allocator(const Allocator<B> &that) noexcept in Allocator() function
164 [[nodiscard]] constexpr A *allocate(std::size_t n) { in allocate()
168 constexpr void deallocate(A *p, std::size_t) { FreeMemory(p); } in deallocate()
169 const Terminator &terminator;
/llvm-project/libcxx/test/std/containers/sequences/vector.bool/
H A Dctor_exceptions.pass.cpp23 struct Allocator { global() struct
28 AllocatorAllocator Allocator() argument
30 AllocatorAllocator Allocator() argument
39 operator ==(const Allocator &,const Allocator<U> &) operator ==() argument
/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp280 struct Allocator { struct
297 explicit Allocator(LinkerInitialized) : print_text(flags()->print_text) { in Allocator() argument
302 ~Allocator() { in ~Allocator() argument
281 kMaxAllowedMallocSize__memprof::Allocator global() argument
283 allocator__memprof::Allocator global() argument
284 fallback_mutex__memprof::Allocator global() argument
285 fallback_allocator_cache__memprof::Allocator global() argument
287 max_user_defined_malloc_size__memprof::Allocator global() argument
290 MIBMap__memprof::Allocator global() argument
292 destructing__memprof::Allocator global() argument
293 constructed__memprof::Allocator global() argument
294 print_text__memprof::Allocator global() argument
307 PrintCallback__memprof::Allocator PrintCallback() argument
314 CreateNewMIB__memprof::Allocator CreateNewMIB() argument
322 CreateNewMIBWithHistogram__memprof::Allocator CreateNewMIBWithHistogram() argument
342 CreateNewMIBWithoutHistogram__memprof::Allocator CreateNewMIBWithoutHistogram() argument
351 FinishAndWrite__memprof::Allocator FinishAndWrite() argument
381 InsertLiveBlocks__memprof::Allocator InsertLiveBlocks() argument
397 InitLinkerInitialized__memprof::Allocator InitLinkerInitialized() argument
408 Allocate__memprof::Allocator Allocate() argument
505 Deallocate__memprof::Allocator Deallocate() argument
546 Reallocate__memprof::Allocator Reallocate() argument
566 Calloc__memprof::Allocator Calloc() argument
580 CommitBack__memprof::Allocator CommitBack() argument
588 GetMemprofChunk__memprof::Allocator GetMemprofChunk() argument
606 GetMemprofChunkByAddr__memprof::Allocator GetMemprofChunkByAddr() argument
611 AllocationSize__memprof::Allocator AllocationSize() argument
621 AllocationSizeFast__memprof::Allocator AllocationSizeFast() argument
625 Purge__memprof::Allocator Purge() argument
627 PrintStats__memprof::Allocator PrintStats() argument
629 ForceLock__memprof::Allocator ForceLock() argument
634 ForceUnlock__memprof::Allocator ForceUnlock() argument
/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp351 struct Allocator { argument
350 struct Allocator { global() struct
354 allocator__asan::Allocator global() argument
355 quarantine__asan::Allocator global() argument
356 fallback_mutex__asan::Allocator global() argument
357 fallback_allocator_cache__asan::Allocator global() argument
358 fallback_quarantine_cache__asan::Allocator global() argument
360 max_user_defined_malloc_size__asan::Allocator global() argument
363 min_redzone__asan::Allocator global() argument
364 max_redzone__asan::Allocator global() argument
365 alloc_dealloc_mismatch__asan::Allocator global() argument
368 Allocator__asan::Allocator Allocator() argument
372 CheckOptions__asan::Allocator CheckOptions() argument
380 SharedInitCode__asan::Allocator SharedInitCode() argument
390 InitLinkerInitialized__asan::Allocator InitLinkerInitialized() argument
400 RePoisonChunk__asan::Allocator RePoisonChunk() argument
426 ReInitialize__asan::Allocator ReInitialize() argument
443 GetOptions__asan::Allocator GetOptions() argument
456 ComputeRZLog__asan::Allocator ComputeRZLog() argument
471 ComputeUserRequestedAlignmentLog__asan::Allocator ComputeUserRequestedAlignmentLog() argument
479 ComputeUserAlignment__asan::Allocator ComputeUserAlignment() argument
486 ChooseChunk__asan::Allocator ChooseChunk() argument
516 UpdateAllocationStack__asan::Allocator UpdateAllocationStack() argument
528 Allocate__asan::Allocator Allocate() argument
664 AtomicallySetQuarantineFlagIfAllocated__asan::Allocator AtomicallySetQuarantineFlagIfAllocated() argument
683 QuarantineChunk__asan::Allocator QuarantineChunk() argument
703 Deallocate__asan::Allocator Deallocate() argument
748 Reallocate__asan::Allocator Reallocate() argument
773 Calloc__asan::Allocator Calloc() argument
787 ReportInvalidFree__asan::Allocator ReportInvalidFree() argument
794 CommitBack__asan::Allocator CommitBack() argument
806 GetAsanChunk__asan::Allocator GetAsanChunk() argument
823 GetAsanChunkByAddr__asan::Allocator GetAsanChunkByAddr() argument
829 GetAsanChunkByAddrFastLocked__asan::Allocator GetAsanChunkByAddrFastLocked() argument
835 AllocationSize__asan::Allocator AllocationSize() argument
844 AllocationSizeFast__asan::Allocator AllocationSizeFast() argument
848 FindHeapChunkByAddress__asan::Allocator FindHeapChunkByAddress() argument
867 Purge__asan::Allocator Purge() argument
885 PrintStats__asan::Allocator PrintStats() argument
890 ForceLock__asan::Allocator ForceLock() argument
895 ForceUnlock__asan::Allocator ForceUnlock() argument
/llvm-project/clang/test/SemaCXX/
H A Dcoroutine-allocs.cpp8 struct Allocator {}; struct
43 resumable f2(Allocator &&) { in f2() argument
47 resumable f3(Allocator &) { in f3() argument
51 resumable f4(Allocator) { in f4() argument
55 resumable f5(const Allocator) { // expected-error {{operator new' provided by 'std::coroutine_trait… in f5()
59 resumable f6(const Allocator &) { // expected-error {{operator new' provided by 'std::coroutine_tra… in f6()
/llvm-project/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dexceptions.pass.cpp23 struct Allocator { global() struct
28 AllocatorAllocator Allocator() argument
30 AllocatorAllocator Allocator() argument
39 operator ==(const Allocator &,const Allocator<U> &) operator ==() argument
/llvm-project/compiler-rt/lib/scudo/standalone/tests/
H A Dcombined_test.cpp53 void checkMemoryTaggingMaybe(AllocatorT *Allocator, void *P, scudo::uptr Size, in checkMemoryTaggingMaybe() argument
165 std::unique_ptr<AllocatorT> Allocator; global() member
252 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
267 auto *Allocator = this->Allocator.get(); BasicTest() local
322 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
339 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
357 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
384 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
402 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
423 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
444 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
481 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
511 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
538 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
559 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
579 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST_SKIP_THREAD_SAFETY() local
599 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST_SKIP_THREAD_SAFETY() local
624 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
713 auto Allocator = std::unique_ptr<AllocatorT>(new AllocatorT()); TEST() local
748 auto Allocator = std::unique_ptr<AllocatorT>(new AllocatorT()); TEST() local
780 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
785 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
824 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
864 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
886 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
892 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
907 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
916 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
927 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
933 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
948 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
957 auto *Allocator = this->Allocator.get(); SCUDO_TYPED_TEST() local
992 auto Allocator = std::unique_ptr<AllocatorT>(new AllocatorT()); TEST() local
[all...]
H A Dtsd_test.cpp81 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() local
96 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistry() local
134 static void stressCache(AllocatorT *Allocator) NO_THREAD_SAFETY_ANALYSIS { in stressCache()
164 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistryThreaded() local
188 static void stressSharedRegistry(MockAllocator<SharedCaches> *Allocator) { in stressSharedRegistry()
216 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() local
/llvm-project/llvm/include/llvm/Support/
H A DRecycler.h68 clear(AllocatorType & Allocator) clear() argument
83 Allocate(AllocatorType & Allocator) Allocate() argument
93 Allocate(AllocatorType & Allocator) Allocate() argument
H A DRecyclingAllocator.h34 AllocatorType Allocator; variable
64 T, Size, Align> &Allocator) { in new()
/llvm-project/llvm/unittests/ADT/
H A DIntervalTreeTest.cpp78 UUAlloc Allocator; in TEST() local
167 UUAlloc Allocator; in TEST() local
181 UUAlloc Allocator; in TEST() local
224 UUAlloc Allocator; in TEST() local
287 UUAlloc Allocator; in TEST() local
373 UUAlloc Allocator; in TEST() local
450 UUAlloc Allocator; in TEST() local
710 UUAlloc Allocator; in TEST() local
1527 UUAlloc Allocator; in TEST() local
H A DConcurrentHashtableTest.cpp28 static String *create(const std::string &Num, AllocatorTy &Allocator) { in create()
42 PerThreadBumpPtrAllocator Allocator; in TEST() local
97 PerThreadBumpPtrAllocator Allocator; in TEST() local
154 PerThreadBumpPtrAllocator Allocator; in TEST() local
212 PerThreadBumpPtrAllocator Allocator; in TEST() local
263 PerThreadBumpPtrAllocator Allocator; in TEST() local
/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp46 BumpPtrAllocator &Allocator) in MappedBlockStream()
52 BumpPtrAllocator &Allocator) { in createStream()
59 BumpPtrAllocator &Allocator) { in createIndexedStream()
71 BumpPtrAllocator &Allocator) { in createDirectoryStream()
81 BumpPtrAllocator &Allocator) { in createFpmStream()
310 WritableBinaryStreamRef MsfData, BumpPtrAllocator &Allocator) in WritableMappedBlockStream()
318 BumpPtrAllocator &Allocator) { in createStream()
327 BumpPtrAllocator &Allocator) { in createIndexedStream()
338 BumpPtrAllocator &Allocator) { in createDirectoryStream()
348 BumpPtrAllocator &Allocator, in createFpmStream()
/llvm-project/llvm/unittests/Support/
H A DPerThreadBumpPtrAllocatorTest.cpp20 PerThreadBumpPtrAllocator Allocator; in TEST() local
42 PerThreadBumpPtrAllocator Allocator; in TEST() local
/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DTypePool.h46 create(llvm::parallel::PerThreadBumpPtrAllocator &Allocator) { in create()
77 TypeEntryBody(llvm::parallel::PerThreadBumpPtrAllocator &Allocator) in TypeEntryBody()
101 llvm::parallel::PerThreadBumpPtrAllocator &Allocator) { in create()
/llvm-project/llvm/unittests/CodeGen/
H A DDwarfStringPoolEntryRefTest.cpp19 BumpPtrAllocator Allocator; in TEST() local
90 BumpPtrAllocator Allocator; in TEST() local
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMachineFunctionInfo.cpp18 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/llvm-project/llvm/lib/Target/Sparc/
H A DSparcMachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/llvm-project/llvm/lib/Target/M68k/
H A DM68kMachineFunction.cpp23 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/llvm-project/llvm/lib/Target/VE/
H A DVEMachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonMachineFunctionInfo.cpp17 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/llvm-project/llvm/lib/Target/ARC/
H A DARCMachineFunctionInfo.cpp16 ARCFunctionInfo::clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiMachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430MachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()

123456789