Home
last modified time | relevance | path

Searched refs:bAlloc (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DCommonLinkerContext.h39 llvm::BumpPtrAllocator bAlloc; variable
40 llvm::StringSaver saver{bAlloc};
41 llvm::UniqueStringSaver uniqueSaver{bAlloc};
58 inline llvm::BumpPtrAllocator &bAlloc() { return context().bAlloc; } in bAlloc() function
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFDirectiveParser.h41 llvm::BumpPtrAllocator bAlloc;
42 llvm::StringSaver saver{bAlloc};
/freebsd/contrib/llvm-project/lld/COFF/
H A DPDB.cpp70 : builder(bAlloc()), tMerger(ctx, bAlloc()), ctx(ctx) { in PDBLinker()
499 uint8_t *mem = bAlloc().Allocate<uint8_t>(sym.length()); in addGlobalSymbol()
1013 uint8_t *buffer = bAlloc().Allocate<uint8_t>(debugChunk.getSize()); in relocateDebugChunk()
1464 llvm::BumpPtrAllocator &bAlloc = lld::bAlloc(); in addCommonLinkerModuleSymbols() local
1466 ons, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1468 cs, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1470 ebs, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1496 cgs, bAlloc(), CodeViewContainer::Pdb)); in addLinkerModuleCoffGroup()
1509 sym, bAlloc(), CodeViewContainer::Pdb)); in addLinkerModuleSectionSymbol()
1586 llvm::BumpPtrAllocator &bAlloc = lld::bAlloc(); in addImportFilesToPDB() local
[all …]
H A DChunks.cpp486 bAlloc().Allocate<coff_relocation>(relocsSize), relocsSize); in sortRelocations()
H A DInputFiles.cpp1561 char *buf = bAlloc().Allocate<char>(size); in makeImport()
H A DWriter.cpp560 bAlloc().Allocate<coff_relocation>(originalRelocs.size()), in createThunks()
/freebsd/contrib/llvm-project/lld/Common/
H A DMemory.cpp21 void *storage = context().bAlloc.Allocate(size, align); in getOrCreate()
/freebsd/contrib/llvm-project/lld/MachO/
H A DICF.cpp600 MutableArrayRef<uint8_t> copy = isec->data.copy(bAlloc()); in foldIdenticalSections()
H A DInputFiles.cpp240 llvm::BumpPtrAllocator &bAlloc = lld::bAlloc(); in readFile() local
277 path.copy(bAlloc)); in readFile()
H A DWriter.cpp1408 uint8_t *arr = bAlloc().Allocate<uint8_t>(target->wordSize); in createSyntheticSections()
H A DSyntheticSections.cpp855 uint8_t *selrefData = bAlloc().Allocate<uint8_t>(wordSize); in makeSelRef()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DPPC64.cpp272 MutableArrayRef<uint32_t> buf(ctx.bAlloc.Allocate<uint32_t>(size), size); in writeSequence()
H A DLoongArch.cpp1431 uint8_t *p = ctx.bAlloc.Allocate<uint8_t>(newSize); in finalizeRelax()
H A DRISCV.cpp978 uint8_t *p = ctx.bAlloc.Allocate<uint8_t>(newSize); in finalizeRelax()