Home
last modified time | relevance | path

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

1234567

/freebsd-src/contrib/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() argument
233 explicit Allocator(void *P, size_t M) XRAY_NEVER_INSTRUMENT in Allocator() argument
242 Allocator &operator=(const Allocator &) = delete; argument
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp249 struct Allocator { global() struct
250 kMaxAllowedMallocSize__memprof::Allocator global() argument
252 allocator__memprof::Allocator global() argument
253 fallback_mutex__memprof::Allocator global() argument
254 fallback_allocator_cache__memprof::Allocator global() argument
256 max_user_defined_malloc_size__memprof::Allocator global() argument
259 MIBMap__memprof::Allocator global() argument
261 destructing__memprof::Allocator global() argument
262 constructed__memprof::Allocator global() argument
263 print_text__memprof::Allocator global() argument
266 Allocator__memprof::Allocator Allocator() argument
271 ~Allocator__memprof::Allocator ~Allocator() argument
276 PrintCallback__memprof::Allocator PrintCallback() argument
282 FinishAndWrite__memprof::Allocator FinishAndWrite() argument
312 InsertLiveBlocks__memprof::Allocator InsertLiveBlocks() argument
331 InitLinkerInitialized__memprof::Allocator InitLinkerInitialized() argument
342 Allocate__memprof::Allocator Allocate() argument
439 Deallocate__memprof::Allocator Deallocate() argument
484 Reallocate__memprof::Allocator Reallocate() argument
504 Calloc__memprof::Allocator Calloc() argument
518 CommitBack__memprof::Allocator CommitBack() argument
527 GetMemprofChunk__memprof::Allocator GetMemprofChunk() argument
545 GetMemprofChunkByAddr__memprof::Allocator GetMemprofChunkByAddr() argument
550 AllocationSize__memprof::Allocator AllocationSize() argument
560 AllocationSizeFast__memprof::Allocator AllocationSizeFast() argument
564 Purge__memprof::Allocator Purge() argument
566 PrintStats__memprof::Allocator PrintStats() argument
568 ForceLock__memprof::Allocator ForceLock() argument
573 ForceUnlock__memprof::Allocator ForceUnlock() argument
/freebsd-src/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp350 struct Allocator { struct
368 explicit Allocator(LinkerInitialized) in Allocator() argument
351 kMaxAllowedMallocSize__asan::Allocator global() argument
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
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
/freebsd-src/contrib/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()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/
H A DRecycler.h68 void clear(AllocatorType &Allocator) { in clear()
83 SubClass *Allocate(AllocatorType &Allocator) { in Allocate()
93 T *Allocate(AllocatorType &Allocator) { in Allocate()
H A DRecyclingAllocator.h34 AllocatorType Allocator; variable
64 T, Size, Align> &Allocator) { in new()
H A DArrayRecycler.h104 void clear(AllocatorType &Allocator) { in clear()
125 T *allocate(Capacity Cap, AllocatorType &Allocator) { in allocate()
H A DAllocator.h81 BumpPtrAllocatorImpl(T &&Allocator) in BumpPtrAllocatorImpl() argument
383 BumpPtrAllocator Allocator; global() variable
442 new(size_t Size,llvm::BumpPtrAllocatorImpl<AllocatorT,SlabSize,SizeThreshold,GrowthDelay> & Allocator) new() argument
[all...]
/freebsd-src/contrib/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()
H A DDIEGenerator.h24 DIEGenerator(BumpPtrAllocator &Allocator, DwarfUnit &CU) in DIEGenerator()
27 DIEGenerator(DIE *OutputDIE, BumpPtrAllocator &Allocator, DwarfUnit &CU) in DIEGenerator()
169 BumpPtrAllocator &Allocator; variable
H A DArrayList.h25 ArrayList(llvm::parallel::PerThreadBumpPtrAllocator *Allocator) in ArrayList()
160 llvm::parallel::PerThreadBumpPtrAllocator *Allocator = nullptr; variable
/freebsd-src/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp402 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
413 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
444 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
465 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
475 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
489 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
500 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
509 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
532 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
748 BumpPtrAllocator &Allocator, ArrayRef<YAMLDebugSubsection> Subsections, in toCodeViewSubsectionList()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp67 std::unique_ptr<BumpPtrAllocator> Allocator) in NativeSession()
79 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromPdb() local
93 loadPdbFile(StringRef PdbPath, std::unique_ptr<BumpPtrAllocator> &Allocator) { in loadPdbFile()
122 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromPdbPath() local
162 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromExe() local
189 auto Allocator = std::make_unique<BumpPtrAllocator>(); in searchForPdb() local
/freebsd-src/contrib/llvm-project/llvm/include/llvm/MC/
H A DTargetRegistry.h1182 static MCAsmInfo *Allocator(const MCRegisterInfo & /*MRI*/, const Triple &TT, Allocator() function
1249 static MCInstrInfo *Allocator() { return new MCInstrInfoImpl(); } Allocator() function
1280 static MCInstrAnalysis *Allocator(const MCInstrInfo *Info) { Allocator() function
1313 static MCRegisterInfo *Allocator(const Triple & /*TT*/) { Allocator() function
1346 static MCSubtargetInfo *Allocator(const Triple & /*TT*/, StringRef /*CPU*/, Allocator() function
1381 Allocator(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, Allocator() function
1401 static MCAsmBackend *Allocator(const Target &T, const MCSubtargetInfo &STI, Allocator() function
1422 static MCTargetAsmParser *Allocator(const MCSubtargetInfo &STI, Allocator() function
1443 static AsmPrinter *Allocator(TargetMachine &TM, Allocator() function
1463 static MCCodeEmitter *Allocator(const MCInstrInfo & /*II*/, Allocator() function
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEMachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMachineFunctionInfo.cpp18 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonMachineFunctionInfo.cpp17 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcMachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430MachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiMachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCMachineFunctionInfo.cpp16 ARCFunctionInfo::clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kMachineFunction.cpp23 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MachineFunctionInfo.cpp17 clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const clone() argument
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/
H A DMSFBuilder.h130 BumpPtrAllocator &Allocator; variable
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSymbolSerializer.cpp20 SymbolSerializer::SymbolSerializer(BumpPtrAllocator &Allocator, in SymbolSerializer()

1234567