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};
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.cpp80 : builder(bAlloc()), tMerger(ctx, bAlloc()), ctx(ctx) { in PDBLinker()
506 uint8_t *mem = bAlloc().Allocate<uint8_t>(sym.length()); in addGlobalSymbol()
1018 uint8_t *buffer = bAlloc().Allocate<uint8_t>(debugChunk.getSize()); in relocateDebugChunk()
1456 llvm::BumpPtrAllocator &bAlloc = lld::bAlloc(); in addCommonLinkerModuleSymbols() local
1458 ons, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1460 cs, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1462 ebs, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1488 cgs, bAlloc(), CodeViewContainer::Pdb)); in addLinkerModuleCoffGroup()
1501 sym, bAlloc(), CodeViewContainer::Pdb)); in addLinkerModuleSectionSymbol()
1578 llvm::BumpPtrAllocator &bAlloc = lld::bAlloc(); in addImportFilesToPDB() local
[all …]
H A DChunks.cpp473 bAlloc().Allocate<coff_relocation>(relocsSize), relocsSize); in sortRelocations()
H A DInputFiles.cpp1235 char *buf = bAlloc().Allocate<char>(size); in makeImport()
H A DWriter.cpp529 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.cpp444 MutableArrayRef<uint8_t> copy = isec->data.copy(bAlloc()); in foldIdenticalSections()
H A DInputFiles.cpp242 llvm::BumpPtrAllocator &bAlloc = lld::bAlloc(); in readFile() local
279 path.copy(bAlloc)); in readFile()
H A DWriter.cpp1379 uint8_t *arr = bAlloc().Allocate<uint8_t>(target->wordSize); in createSyntheticSections()
H A DSyntheticSections.cpp856 uint8_t *selrefData = bAlloc().Allocate<uint8_t>(wordSize); in makeSelRef()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DLoongArch.cpp854 uint8_t *p = context().bAlloc.Allocate<uint8_t>(newSize); in finalizeRelax()
H A DRISCV.cpp950 uint8_t *p = context().bAlloc.Allocate<uint8_t>(newSize); in finalizeRelax()
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputSection.cpp128 uncompressedBuf = bAlloc().Allocate<uint8_t>(size); in decompress()