reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/MemoryBuffer.h
  148   MemoryBufferRef getMemBufferRef() const;

References

examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
   44     return MemoryBuffer::getMemBuffer(I->second->getMemBufferRef());
include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
  392         object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef());
lib/AsmParser/Parser.cpp
   66   return parseAssembly(FileOrErr.get()->getMemBufferRef(), Err, Context, Slots,
   96   return parseAssemblyWithIndex(FileOrErr.get()->getMemBufferRef(), Err,
  144   return parseSummaryIndexAssembly(FileOrErr.get()->getMemBufferRef(), Err);
lib/Bitcode/Reader/BitReader.cpp
   39   MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef();
   61   MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef();
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  179     MemoryBufferRef MB = CompiledObjBuffer->getMemBufferRef();
  214     object::ObjectFile::createObjectFile(ObjectToLoad->getMemBufferRef());
lib/ExecutionEngine/Orc/CompileUtils.cpp
   49   auto Obj = object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef());
   72     ObjCache->notifyObjectCompiled(&M, ObjBuffer.getMemBufferRef());
lib/ExecutionEngine/Orc/Layer.cpp
  121       getObjectSymbolFlags(L.getExecutionSession(), O->getMemBufferRef());
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
   42     return ObjBuffer->getMemBufferRef();
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  361             ObjBuffer->getMemBufferRef())) {
lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
   96   auto ObjBuffer = MemoryBuffer::getMemBuffer(O->getMemBufferRef(), false);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  197         createRTDyldELFObject<ELF32LE>(Buffer->getMemBufferRef(), Obj, L);
  200         createRTDyldELFObject<ELF32BE>(Buffer->getMemBufferRef(), Obj, L);
  203         createRTDyldELFObject<ELF64BE>(Buffer->getMemBufferRef(), Obj, L);
  206         createRTDyldELFObject<ELF64LE>(Buffer->getMemBufferRef(), Obj, L);
lib/FuzzMutate/FuzzerCLI.cpp
  181   auto M = parseBitcodeFile(Buffer->getMemBufferRef(), Context);
lib/IRReader/IRReader.cpp
   49   return parseAssembly(Buffer->getMemBufferRef(), Err, Context);
  107   return parseIR(FileOrErr.get()->getMemBufferRef(), Err, Context,
  122       wrap(parseIR(MB->getMemBufferRef(), Diag, *unwrap(ContextRef)).release());
lib/LTO/LTOModule.cpp
   68       BufferOrErr.get()->getMemBufferRef());
   84       IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef());
   97       IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef());
  118   return makeLTOModule(Buffer->getMemBufferRef(), options, Context,
  140   return makeLTOModule(Buffer->getMemBufferRef(), options, Context,
lib/Object/ArchiveWriter.cpp
  460     MemoryBufferRef Buf = M.Buf->getMemBufferRef();
lib/Object/Binary.cpp
  105       createBinary(Buffer->getMemBufferRef());
lib/Object/Object.cpp
   69       createBinary(unwrap(MemBuf)->getMemBufferRef(), maybeContext));
  181       ObjectFile::createObjectFile(Buf->getMemBufferRef()));
lib/Object/ObjectFile.cpp
  176       createObjectFile(Buffer->getMemBufferRef());
lib/ProfileData/Coverage/CoverageMapping.cpp
  322         CovMappingBufOrErr.get()->getMemBufferRef();
lib/Support/VirtualFileSystem.cpp
 1587   yaml::Stream Stream(Buffer->getMemBufferRef(), SM);
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  133   object::Archive Archive(B.get()->getMemBufferRef(), Err);
  345     MemoryBufferRef MBRef = (*MOrErr)->getMemBufferRef();
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 2099     Stream YAMLStream(FileBufOrErr.get()->getMemBufferRef(), SM);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4241       C, llvm::parseBitcodeFile(Buf.get()->getMemBufferRef(), C));
tools/clang/lib/CodeGen/CodeGenAction.cpp
 1074                  MainFile->getMemBufferRef());
tools/clang/lib/Frontend/FrontendActions.cpp
  712   StringRef Magic = (*Buffer)->getMemBufferRef().getBuffer();
tools/dsymutil/BinaryHolder.cpp
   63       object::MachOUniversalBinary::create(MemBuffer->getMemBufferRef());
   66     ArchiveBuffers.push_back(MemBuffer->getMemBufferRef());
  102       object::MachOUniversalBinary::create(MemBuffer->getMemBufferRef());
  105     ObjectBuffers.push_back(MemBuffer->getMemBufferRef());
tools/gold/gold-plugin.cpp
  523     BufferRef = Buffer->getMemBufferRef();
tools/lld/COFF/Driver.cpp
  806       mb->getMemBufferRef(), config->machine, config->mingw));
  895   for (std::string s : args::getLines(mb->getMemBufferRef())) {
tools/lld/ELF/InputFiles.cpp
  118   MemoryBufferRef mbref = mb->getMemBufferRef();
tools/lld/lib/Core/Reader.cpp
   43     if (!reader->canParse(fileType, mb->getMemBufferRef()))
tools/lld/lib/ReaderWriter/FileArchive.cpp
  128     _archive.reset(new Archive(_mb->getMemBufferRef(), Err));
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  671   if (sliceFromFatFile(mb->getMemBufferRef(), offset, size))
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  215   if (sliceFromFatFile(mb->getMemBufferRef(), arch, sliceOffset, sliceSize)) {
tools/lld/wasm/InputFiles.cpp
   54   MemoryBufferRef mbref = mb->getMemBufferRef();
tools/lli/lli.cpp
  501         object::Archive::create(ArBuf->getMemBufferRef());
tools/llvm-ar/llvm-ar.cpp
  264       object::Archive::create(ArchiveBuffers.back()->getMemBufferRef());
  865       object::ObjectFile::createObjectFile(Member.Buf->getMemBufferRef());
  971     object::Archive Archive(Buf.get()->getMemBufferRef(), Err);
tools/llvm-elfabi/llvm-elfabi.cpp
   89         readELFFile(FileReadBuffer->getMemBufferRef());
tools/llvm-exegesis/lib/Assembler.cpp
  255       cantFail(object::ObjectFile::createObjectFile(Buffer->getMemBufferRef()));
tools/llvm-jitlink/llvm-jitlink.cpp
  531       object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()));
tools/llvm-lto/llvm-lto.cpp
  607       auto Input = loadInputFile(Buffer->getMemBufferRef());
  644       auto Input = loadInputFile(Buffer->getMemBufferRef());
  671       auto Input = loadInputFile(Buffer->getMemBufferRef());
  704       auto Input = loadInputFile(Buffer->getMemBufferRef());
  737       auto Input = loadInputFile(Buffer->getMemBufferRef());
  762       auto Input = loadInputFile(Buffer->getMemBufferRef());
tools/llvm-lto2/llvm-lto2.cpp
  289         check(InputFile::create(MB->getMemBufferRef()), F);
  368         check(InputFile::create(MB->getMemBufferRef()), F);
tools/llvm-nm/llvm-nm.cpp
 1785       createBinary(BufferOrErr.get()->getMemBufferRef(), ContextPtr);
tools/llvm-objdump/MachODump.cpp
 7370       createBinary(DSYMBuf.get()->getMemBufferRef());
tools/llvm-rtdyld/llvm-rtdyld.cpp
  381       ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef()));
  516           ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef()));
  908       ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef()));
tools/llvm-strings/llvm-strings.cpp
  116               Buffer.get()->getMemBufferRef().getBuffer());
tools/verify-uselistorder/verify-uselistorder.cpp
  161       parseBitcodeFile(Buffer->getMemBufferRef(), Context);
unittests/Support/YAMLParserTest.cpp
  257   yaml::Stream Stream(Buffer->getMemBufferRef(), SM);