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

References

examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
   31         ObjBuffer.getBuffer(), ObjBuffer.getBufferIdentifier());
include/llvm/Bitstream/BitstreamReader.h
  108       : SimpleBitstreamCursor(BitcodeBytes.getBuffer()) {}
include/llvm/Object/ELFObjectFile.h
  947   auto EFOrErr = ELFFile<ELFT>::create(Object.getBuffer());
include/llvm/Object/Minidump.h
  171     return arrayRefFromStringRef(Data.getBuffer());
lib/AsmParser/Parser.cpp
   34   return LLParser(F.getBuffer(), SM, Err, M, Index,
  120   return LLParser(F.getBuffer(), SM, Err, nullptr, &Index, unusedContext).Run();
lib/ExecutionEngine/JITLink/JITLink.cpp
  218   auto Magic = identify_magic(Ctx->getObjectBuffer().getBuffer());
lib/ExecutionEngine/JITLink/MachO.cpp
   35   StringRef Data = Ctx->getObjectBuffer().getBuffer();
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
  271         {ChildBuffer->getBuffer(), ChildBuffer->getBufferIdentifier()});
lib/Object/Archive.cpp
  489   const char *a = Parent->Data.getBuffer().data();
  546   StringRef Buffer = Data.getBuffer();
lib/Object/ArchiveWriter.cpp
  357   if (identify_magic(Buf.getBuffer()) == file_magic::bitcode) {
  461     StringRef Data = Thin ? "" : Buf.getBuffer();
lib/Object/Binary.cpp
   40 StringRef Binary::getData() const { return Data.getBuffer(); }
   48   file_magic Type = identify_magic(Buffer.getBuffer());
lib/Object/COFFModuleDefinition.cpp
  364   return Parser(MB.getBuffer(), Machine, MingwDef).parse();
lib/Object/ELFObjectFile.cpp
   72       getElfArchType(Obj.getBuffer());
lib/Object/IRObjectFile.cpp
   91   file_magic Type = identify_magic(Object.getBuffer());
lib/Object/MachOObjectFile.cpp
 4639   StringRef Magic = Buffer.getBuffer().slice(0, 4);
lib/Object/Minidump.cpp
  112   ArrayRef<uint8_t> Data = arrayRefFromStringRef(Source.getBuffer());
lib/Object/Object.cpp
   81                 Buf.getBuffer(), Buf.getBufferIdentifier(),
lib/Object/ObjectFile.cpp
  119   StringRef Data = Object.getBuffer();
lib/Object/SymbolicFile.cpp
   40   StringRef Data = Object.getBuffer();
   95         MemoryBufferRef(BCData->getBuffer(), Object.getBufferIdentifier()),
lib/Object/WindowsResource.cpp
   54   BBS = BinaryByteStream(Data.getBuffer().drop_front(LeadingSize),
lib/ProfileData/Coverage/CoverageMappingReader.cpp
  738   if (ObjectBuffer.getBuffer().startswith(TestingFormatMagic)) {
  740     auto ReaderOrErr = loadTestingFormat(ObjectBuffer.getBuffer());
lib/Support/MemoryBuffer.cpp
  122       Ref.getBuffer(), Ref.getBufferIdentifier(), RequiresNullTerminator));
lib/TextAPI/MachO/TextStub.cpp
 1111   yaml::Input YAMLIn(InputBuffer.getBuffer(), &Ctx, DiagHandler, &Ctx);
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  194   file_magic Magic = identify_magic(MB.getBuffer());
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  359       PCH = Buffer.getBuffer();
tools/clang/lib/Frontend/FrontendActions.cpp
  712   StringRef Magic = (*Buffer)->getMemBufferRef().getBuffer();
tools/clang/lib/Serialization/PCHContainerOperations.cpp
   62   return Buffer.getBuffer();
tools/lld/COFF/Driver.cpp
  166                         mbref.getBuffer());
  178   switch (identify_magic(mbref.getBuffer())) {
  255   file_magic magic = identify_magic(mb.getBuffer());
tools/lld/COFF/InputFiles.cpp
  142   if (mb.getBuffer().empty())
  894       mb.getBuffer(),
tools/lld/COFF/InputFiles.h
  357   return identify_magic(mb.getBuffer()) == llvm::file_magic::bitcode;
tools/lld/Common/Args.cpp
   67   mb.getBuffer().split(arr, '\n');
tools/lld/ELF/Driver.cpp
  174       tar->append(relativeToRoot(check(c.getFullName())), mbref.getBuffer());
  202   switch (identify_magic(mbref.getBuffer())) {
  226         if (identify_magic(p.first.getBuffer()) != file_magic::bitcode) {
tools/lld/ELF/InputFiles.cpp
   68   std::tie(size, endian) = getElfArchType(mb.getBuffer());
   78   if (!mb.getBuffer().startswith(ElfMagic))
   85   size_t bufSize = mb.getBuffer().size();
  122     tar->append(relativeToRoot(path), mbref.getBuffer());
  346       (identify_magic(mb.getBuffer()) == file_magic::elf_shared_object);
 1097     tar->append(relativeToRoot(CHECK(c.getFullName(), this)), mb.getBuffer());
 1378   MemoryBufferRef mbref(mb.getBuffer(), name);
 1444   ArrayRef<uint8_t> data = arrayRefFromStringRef(mb.getBuffer());
 1486   if (mb.getBuffer().empty())
 1522   ELFFile<ELFT> obj = check(ELFFile<ELFT>::create(mb.getBuffer()));
 1551       if (mb.getBuffer().empty())
tools/lld/ELF/InputFiles.h
  159     return check(llvm::object::ELFFile<ELFT>::create(mb.getBuffer()));
  381   return identify_magic(mb.getBuffer()) == llvm::file_magic::bitcode;
tools/lld/ELF/ScriptLexer.cpp
   44   StringRef s = getCurrentMB().getBuffer();
   55   StringRef s = getCurrentMB().getBuffer();
   89   StringRef s = mb.getBuffer();
  297     if (encloses(mb.getBuffer(), tokens[pos - 1]))
tools/lld/lib/ReaderWriter/FileArchive.cpp
  151         mb.getBuffer(), mb.getBufferIdentifier(), false));
tools/lld/wasm/Driver.cpp
  224   switch (identify_magic(mbref.getBuffer())) {
tools/lld/wasm/InputFiles.cpp
   58     tar->append(relativeToRoot(path), mbref.getBuffer());
   64   file_magic magic = identify_magic(mb.getBuffer());
  542       mb.getBuffer(), saver.save(archiveName + mb.getBufferIdentifier()))));
tools/llvm-strings/llvm-strings.cpp
  116               Buffer.get()->getMemBufferRef().getBuffer());
unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
   66         MemoryBuffer::getMemBufferCopy(Buf.getBuffer());