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

Declarations

include/llvm/Support/MemoryBuffer.h
  118   getMemBufferCopy(StringRef InputData, const Twine &BufferName = "");

References

examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
   30     CachedObjects[M->getModuleIdentifier()] = MemoryBuffer::getMemBufferCopy(
lib/Bitcode/Writer/BitWriter.cpp
   48   return wrap(MemoryBuffer::getMemBufferCopy(OS.str()).release());
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
   93   Buffer = MemoryBuffer::getMemBufferCopy(AsmStr, "<inline asm>");
lib/DebugInfo/GSYM/GsymReader.cpp
   46   auto MemBuffer = MemoryBuffer::getMemBufferCopy(Bytes, "GSYM bytes");
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  300         ES.allocateVModule(), MemoryBuffer::getMemBufferCopy(O->getData())));
  412               MemoryBuffer::getMemBufferCopy(ChildBin->getData())));
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  191     MemoryBuffer::getMemBufferCopy(Obj.getData(), Obj.getFileName());
lib/IR/Core.cpp
 4039       MemoryBuffer::getMemBufferCopy(StringRef(InputData, InputDataLength),
lib/LTO/Caching.cpp
  114           auto MBCopy = MemoryBuffer::getMemBufferCopy((*MBOrErr)->getBuffer(),
lib/MC/MCParser/AsmParser.cpp
 2798       MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
 5543       MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
lib/ObjectYAML/DWARFEmitter.cpp
  306     OutputBuffers[Sec] = MemoryBuffer::getMemBufferCopy(Data);
lib/ProfileData/InstrProfWriter.cpp
  390   return MemoryBuffer::getMemBufferCopy(Data);
lib/Support/FileCheck.cpp
 1148     std::unique_ptr<MemoryBuffer> CmdLine = MemoryBuffer::getMemBufferCopy(
 1813       MemoryBuffer::getMemBufferCopy(CmdlineDefsDiag, "Global defines");
lib/Target/BPF/BTFDebug.cpp
  682     Buf = MemoryBuffer::getMemBufferCopy(*Source);
tools/clang/lib/ARCMigrate/ARCMT.cpp
  607         llvm::MemoryBuffer::getMemBufferCopy(
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1981         llvm::MemoryBuffer::getMemBufferCopy(
tools/clang/lib/AST/ASTImporter.cpp
 8479           llvm::MemoryBuffer::getMemBufferCopy(FromBuf->getBuffer(),
tools/clang/lib/CodeGen/CodeGenAction.cpp
  412       llvm::MemoryBuffer::getMemBufferCopy(LBuf->getBuffer(),
tools/clang/lib/Frontend/ASTUnit.cpp
  214   return llvm::MemoryBuffer::getMemBufferCopy(Buffer->getBuffer(), FilePath);
tools/clang/lib/Frontend/ChainedIncludesSource.cpp
  202     SerialBufs.push_back(llvm::MemoryBuffer::getMemBufferCopy(
tools/clang/lib/Frontend/FrontendAction.cpp
  533   return llvm::MemoryBuffer::getMemBufferCopy(
tools/clang/lib/Frontend/FrontendActions.cpp
  271   Buffer = llvm::MemoryBuffer::getMemBufferCopy(
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  329   auto PreambleInputBuffer = llvm::MemoryBuffer::getMemBufferCopy(
tools/clang/lib/Lex/Preprocessor.cpp
  558     llvm::MemoryBuffer::getMemBufferCopy(Predefines, "<built-in>");
tools/clang/lib/Serialization/ASTReader.cpp
 1457       return llvm::MemoryBuffer::getMemBufferCopy(Uncompressed, Name);
tools/clang/lib/Serialization/ASTWriter.cpp
 4724                             llvm::MemoryBuffer::getMemBufferCopy(
tools/clang/lib/Tooling/Tooling.cpp
  638                               llvm::MemoryBuffer::getMemBufferCopy(Code));
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
   35                        llvm::MemoryBuffer::getMemBufferCopy(
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1078       llvm::MemoryBuffer::getMemBufferCopy(Input.Contents, Input.FileName);
tools/clang/tools/extra/clangd/ParsedAST.cpp
  524       llvm::MemoryBuffer::getMemBufferCopy(Inputs.Contents, FileName),
tools/clang/tools/extra/clangd/unittests/TestFS.cpp
   31         llvm::MemoryBuffer::getMemBufferCopy(FileAndContents.second, File));
tools/clang/tools/libclang/CIndex.cpp
 3468         llvm::MemoryBuffer::getMemBufferCopy(getContents(UF), UF.Filename);
 4118         llvm::MemoryBuffer::getMemBufferCopy(getContents(UF), UF.Filename);
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
  727         llvm::MemoryBuffer::getMemBufferCopy(getContents(UF), UF.Filename);
tools/clang/tools/libclang/Indexing.cpp
  535         llvm::MemoryBuffer::getMemBufferCopy(getContents(UF), UF.Filename);
tools/clang/unittests/Frontend/PCHPreambleTest.cpp
   72     VFS->addFile(Filename, now, MemoryBuffer::getMemBufferCopy(Contents, Filename));
  118       std::unique_ptr<MemoryBuffer> buf = MemoryBuffer::getMemBufferCopy(
tools/clang/unittests/Lex/HeaderMapTest.cpp
   95       *MemoryBuffer::getMemBufferCopy("", "empty"), NeedsSwap));
   97       *MemoryBuffer::getMemBufferCopy("", "empty"), NeedsSwap));
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
  118     FS->addFile(FileName, time_t(), llvm::MemoryBuffer::getMemBufferCopy(""));
  128         FileName, llvm::MemoryBuffer::getMemBufferCopy(Code).release());
  150                      llvm::MemoryBuffer::getMemBufferCopy(Contents))) {
  159         SourceMgr->createFileID(llvm::MemoryBuffer::getMemBufferCopy(Text)),
tools/clang/unittests/Tooling/Syntax/TreeTest.cpp
   77     FS->addFile(FileName, time_t(), llvm::MemoryBuffer::getMemBufferCopy(""));
   87         FileName, llvm::MemoryBuffer::getMemBufferCopy(Code).release());
  106                      llvm::MemoryBuffer::getMemBufferCopy(Contents))) {
tools/lld/COFF/DriverUtils.cpp
  391       MemoryBuffer::getMemBufferCopy(defaultXml);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  936         MemoryBuffer::getMemBufferCopy(expr_text, m_filename);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
 2786     return MemoryBuffer::getMemBufferCopy(response.GetString(), __FUNCTION__);
tools/lldb/unittests/Process/POSIX/NativeProcessELFTest.cpp
   45   return llvm::MemoryBuffer::getMemBufferCopy(
tools/lli/lli.cpp
  274     return MemoryBuffer::getMemBufferCopy(IRObjectBuffer.get()->getBuffer());
tools/llvm-exegesis/lib/Assembler.cpp
  252       MemoryBuffer::getMemBufferCopy(InputData);
unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
   42     return MemoryBuffer::getMemBufferCopy(BufferFound->getBuffer());
   66         MemoryBuffer::getMemBufferCopy(Buf.getBuffer());
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
  103         K, MemoryBuffer::getMemBufferCopy(Obj->getBuffer())));
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
   94       MemoryBuffer::getMemBufferCopy(Obj->getBuffer()), false))
unittests/Support/FileCheckTest.cpp
  137       MemoryBuffer::getMemBufferCopy(Str, "TestBuffer");
unittests/Support/MemoryBufferTest.cpp
  153   OwningBuffer MBC1(MemoryBuffer::getMemBufferCopy(data));
  157   OwningBuffer MBC2(MemoryBuffer::getMemBufferCopy(data, "copy"));
unittests/TableGen/CodeExpanderTest.cpp
   20       MemoryBuffer::getMemBufferCopy(Str, "TestBuffer");