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

References

include/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h
  335             this->Remote.template callB<AddObject>(ObjBuffer->getBuffer())) {
include/llvm/ProfileData/GCOV.h
   73     StringRef File = Buffer->getBuffer().slice(0, 4);
   84     StringRef File = Buffer->getBuffer().slice(0, 4);
   95     StringRef VersionStr = Buffer->getBuffer().slice(Cursor, Cursor + 4);
  118     StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4);
  130     StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4);
  142     StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4);
  154     StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4);
  166     StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4);
  178     StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4);
  190     StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4);
  200     if (Buffer->getBuffer().size() < Cursor + 4) {
  204     StringRef Str = Buffer->getBuffer().slice(Cursor, Cursor + 4);
  226     if (Buffer->getBuffer().size() < Cursor + Len) {
  230     Str = Buffer->getBuffer().slice(Cursor, Cursor + Len).split('\0').first;
include/llvm/Support/BinaryByteStream.h
   79       : BinaryByteStream(Buffer->getBuffer(), Endian),
include/llvm/Support/MemoryBuffer.h
  268       : Buffer(Buffer.getBuffer()), Identifier(Buffer.getBufferIdentifier()) {}
lib/BinaryFormat/Magic.cpp
  230   Result = identify_magic(FileBuffer->getBuffer());
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  546         SrcMgr.getMemoryBuffer(BufNum)->getBuffer().begin());
lib/CodeGen/MIRParser/MIRParser.cpp
  169             SM.AddNewSourceBuffer(std::move(Contents), SMLoc()))->getBuffer(),
lib/DebugInfo/DWARF/DWARFContext.cpp
 1491         *SectionData = SecIt.second->getBuffer();
 1495         InfoSections[SectionRef()].Data = SecIt.second->getBuffer();
 1497         InfoDWOSections[SectionRef()].Data = SecIt.second->getBuffer();
 1499         TypesSections[SectionRef()].Data = SecIt.second->getBuffer();
 1501         TypesDWOSections[SectionRef()].Data = SecIt.second->getBuffer();
lib/DebugInfo/GSYM/GsymReader.cpp
   64   BinaryStreamReader FileData(MemBuffer->getBuffer(),
   91     DataExtractor Data(MemBuffer->getBuffer(), DataIsLittleEndian, 4);
  139   DataExtractor Data(MemBuffer->getBuffer(), DataIsLittleEndian, 4);
  192     StrTab.Data = MemBuffer->getBuffer().substr(Hdr->StrtabOffset,
  252   DataExtractor Data(MemBuffer->getBuffer().substr(AddrInfoOffset), Endian, 4);
lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
  177       CRC.update(arrayRefFromStringRef(IS.Content->getBuffer()));
  260         arrayRefFromStringRef(IS.Content->getBuffer())));
lib/DebugInfo/Symbolize/Symbolize.cpp
  195   return CRCHash == llvm::crc32(arrayRefFromStringRef(MB.get()->getBuffer()));
lib/LTO/Caching.cpp
  114           auto MBCopy = MemoryBuffer::getMemBufferCopy((*MBOrErr)->getBuffer(),
lib/LTO/LTO.cpp
  288       Hasher.update(FileOrErr.get()->getBuffer());
  293           Hasher.update(FileOrErr.get()->getBuffer());
lib/LTO/ThinLTOCodeGenerator.cpp
  380                                       OutputBuffer.getBuffer()),
  890   OS << OutputBuffer.getBuffer();
lib/MC/MCParser/AsmParser.cpp
  714   Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
  794   Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
  810   StringRef Bytes = SrcMgr.getMemoryBuffer(NewBuf)->getBuffer();
  826   Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(),
 2810   Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
 5553   Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
 5893       SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer();
lib/Object/Archive.cpp
  453   return Parent->ThinBuffers.back()->getBuffer();
lib/ProfileData/GCOV.cpp
  628       Remaining = Buffer->getBuffer();
lib/Remarks/BitstreamRemarkParser.cpp
  432   ParserHelper = BitstreamParserHelper(TmpRemarkBuffer->getBuffer());
lib/Remarks/YAMLRemarkParser.cpp
  157       Buf = SeparateBuf->getBuffer();
lib/Support/FileCheck.cpp
 1152         CmdLine->getBuffer().substr(Prefix.size(), PatternString.size());
 1814   StringRef CmdlineDefsDiagRef = CmdLineDefsDiagBuffer->getBuffer();
lib/Support/Host.cpp
 1244   (*Text)->getBuffer().split(strs, "\n", /*MaxSplit=*/-1,
lib/Support/LockFileManager.cpp
   64   std::tie(Hostname, PIDStr) = getToken(MB.getBuffer(), " ");
lib/Support/MemoryBuffer.cpp
  520   StringRef Data = getBuffer();
lib/Support/Signals.cpp
  178   StringRef Output = OutputBuf.get()->getBuffer();
lib/Support/SourceMgr.cpp
   82     StringRef S = Buffer->getBuffer();
lib/Support/SpecialCaseList.cpp
  129   MB->getBuffer().split(Lines, '\n');
lib/Support/VirtualFileSystem.cpp
  615         Buf->getBuffer(), Buf->getBufferIdentifier(), RequiresNullTerminator);
  774         return Link->getResolvedFile().getBuffer()->getBuffer() ==
  775                Buffer->getBuffer();
  777       return cast<detail::InMemoryFile>(Node)->getBuffer()->getBuffer() ==
  778              Buffer->getBuffer();
  801                      Buffer->getBuffer(), Buffer->getBufferIdentifier()),
lib/TableGen/Main.cpp
  125       if (std::move(ExistingOrErr.get())->getBuffer() == Out.str())
lib/TableGen/TGLexer.cpp
   48   CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer();
   89     CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer();
  392   CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer();
lib/Testing/Support/SupportHelpers.cpp
   49   InputFilePath.append((*File)->getBuffer().trim());
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  122     if (identify_magic(MaybeBuf.get()->getBuffer()) == file_magic::archive) {
lib/Transforms/IPO/BlockExtractor.cpp
  114   Buf->getBuffer().split(Lines, '\n', /*MaxSplit=*/-1,
lib/Transforms/IPO/LowerTypeTests.cpp
 1677     yaml::Input In(ReadSummaryFile->getBuffer());
lib/Transforms/IPO/WholeProgramDevirt.cpp
  752     yaml::Input In(ReadSummaryFile->getBuffer());
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
   75     StringRef Buf = FileOrErr->get()->getBuffer();
   90     StringRef Buf = FileOrErr->get()->getBuffer();
lib/Transforms/Utils/SymbolRewriter.cpp
  268   yaml::Stream YS(MapFile->getBuffer(), SM);
tools/clang/include/clang/Tooling/JSONCompilationDatabase.h
  100         YAMLStream(this->Database->getBuffer(), SM) {}
tools/clang/lib/ARCMigrate/FileRemapper.cpp
   71   fileBuf.get()->getBuffer().split(lines, "\n");
tools/clang/lib/AST/ASTImporter.cpp
 8479           llvm::MemoryBuffer::getMemBufferCopy(FromBuf->getBuffer(),
tools/clang/lib/Basic/SourceLocation.cpp
  248   return SrcMgr->getBuffer(SrcMgr->getFileID(*this), Invalid)->getBuffer();
tools/clang/lib/Basic/SourceManager.cpp
  215   StringRef BufStr = Buffer.getPointer()->getBuffer();
  719   return Buf->getBuffer();
tools/clang/lib/CodeGen/CGCUDANV.cpp
  554       FatBinStr = makeConstantString(CudaGpuBinary->getBuffer(), "",
  589     FatBinStr = makeConstantString(CudaGpuBinary->getBuffer(), "",
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  385   Hash.update(MemBuffer->getBuffer());
tools/clang/lib/CodeGen/CodeGenAction.cpp
  412       llvm::MemoryBuffer::getMemBufferCopy(LBuf->getBuffer(),
tools/clang/lib/Driver/DarwinSDKInfo.cpp
   29       llvm::json::parse(File.get()->getBuffer());
tools/clang/lib/Driver/Distro.cpp
   24     StringRef Data = File.get()->getBuffer();
   62     StringRef Data = File.get()->getBuffer();
   80     StringRef Data = File.get()->getBuffer();
  115     StringRef Data = File.get()->getBuffer();
tools/clang/lib/Driver/Driver.cpp
 1190     StringRef Data = CrashFile.get()->getBuffer();
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  162       Version = ParseCudaVersionFile((*VersionFile)->getBuffer());
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 2440     File.get()->getBuffer().split(Lines, "\n");
 2463         ConfigFile.get()->getBuffer().split(ConfigLines, "\n");
tools/clang/lib/Format/Format.cpp
 2636               parseConfiguration(Text.get()->getBuffer(), &Style)) {
tools/clang/lib/Format/FormatTokenLexer.cpp
  561   StringRef Buffer = SourceMgr.getBuffer(ID)->getBuffer();
tools/clang/lib/Frontend/ASTUnit.cpp
  214   return llvm::MemoryBuffer::getMemBufferCopy(Buffer->getBuffer(), FilePath);
tools/clang/lib/Frontend/ChainedIncludesSource.cpp
  179         Bufs.push_back(llvm::MemoryBuffer::getMemBuffer(SB->getBuffer()));
tools/clang/lib/Frontend/FrontendActions.cpp
  867         Lexer::ComputePreamble((*Buffer)->getBuffer(), CI.getLangOpts()).Size;
  928           FromFile->getBuffer(), Output, Toks, &CI.getDiagnostics(),
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  232   return Lexer::ComputePreamble(Buffer->getBuffer(), LangOpts, MaxLines);
  330       MainFileBuffer->getBuffer().slice(0, Bounds.Size), MainFilePath);
  438                   MainFileBuffer->getBuffer().begin()))
  697   MD5Ctx.update(Buffer->getBuffer().data());
tools/clang/lib/Serialization/ASTReader.cpp
 2379         auto ContentHash = hash_value(MemBuffOrError.get()->getBuffer());
tools/clang/lib/Serialization/ASTWriter.cpp
 1830         ContentHash = hash_value(MemBuff->getBuffer());
tools/clang/lib/StaticAnalyzer/Checkers/Yaml.h
   43   llvm::yaml::Input Input(Buffer.get()->getBuffer());
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 1577   StringRef Snippet = Buffer->getBuffer().slice(BeginOffset, EndOffset);
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  596   StringRef Buffer = SM.getBuffer(FID)->getBuffer();
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
   40                        Buffer->getBuffer(), MinimizedFileContents, Tokens)) {
tools/clang/tools/arcmt-test/arcmt-test.cpp
  146     OS << RB.second->getBuffer();
  219   return file1.get()->getBuffer() == file2.get()->getBuffer();
  219   return file1.get()->getBuffer() == file2.get()->getBuffer();
  251   inputBuf.get()->getBuffer().split(strs, "\n", /*MaxSplit=*/-1,
tools/clang/tools/clang-diff/ClangDiff.cpp
  287   auto Code = SrcMgr.getBuffer(SrcMgr.getMainFileID())->getBuffer();
tools/clang/tools/clang-format/ClangFormat.cpp
  388   StringRef BufStr = Code->getBuffer();
  407       getStyle(Style, AssumedFileName, FallbackStyle, Code->getBuffer());
  416   Replacements Replaces = sortIncludes(*FormatStyle, Code->getBuffer(), Ranges,
  418   auto ChangedCode = tooling::applyAllReplacements(Code->getBuffer(), Replaces);
  495                               Code ? Code->getBuffer() : "");
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  232     StringRef FC = Input.getBuffer();
  313     StringRef FC = Input.getBuffer();
  537     StringRef FC = Input.getBuffer();
  559     StringRef FC = Input.getBuffer();
  573     StringRef FC = Input.getBuffer();
  601     OS << Input.getBuffer();
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  493       auto Result = tooling::applyAtomicChanges(File, (*BufferErr)->getBuffer(),
tools/clang/tools/clang-refactor/TestSupport.cpp
   98     auto Result = tooling::applyAtomicChanges(File, (*BufferErr)->getBuffer(),
  166   StringRef Source = ErrOrFile.get()->getBuffer();
  302   StringRef Source = ErrOrFile.get()->getBuffer();
tools/clang/tools/clang-rename/ClangRename.cpp
  114     llvm::yaml::Input YAML(Buffer.get()->getBuffer());
tools/clang/tools/driver/cc1as_main.cpp
  420                             SrcMgr.getMemoryBuffer(BufferIndex)->getBuffer());
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
  170   llvm::yaml::Input YAML(Buffer.get()->getBuffer());
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
   68     yaml::Input YIn(Out.get()->getBuffer(), nullptr, &eatDiagnostics);
  112     yaml::Input YIn(Out.get()->getBuffer(), nullptr, &eatDiagnostics);
  241   return tooling::applyAtomicChanges(File, Buffer.get()->getBuffer(), Changes,
tools/clang/tools/extra/clang-change-namespace/tool/ClangChangeNamespace.cpp
   91   llvm::StringRef Content = File.get()->getBuffer();
tools/clang/tools/extra/clang-include-fixer/FuzzySymbolIndex.cpp
  138       find_all_symbols::ReadSymbolInfosFromYAML(Buffer.get()->getBuffer()));
tools/clang/tools/extra/clang-include-fixer/YamlSymbolIndex.cpp
   31       find_all_symbols::ReadSymbolInfosFromYAML(Buffer.get()->getBuffer())));
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
  104                 ReadSymbolInfosFromYAML(Buffer.get()->getBuffer());
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  288     tool.mapVirtualFile(SourceFilePath, Code->getBuffer());
  333         Code->getBuffer(), Context, *InsertStyle,
  342         tooling::applyAllReplacements(Code->getBuffer(), *Replacements);
  420         Buffer.get()->getBuffer(), Context, *InsertStyle);
  441     auto ChangedCode = tooling::applyAllReplacements(Code->getBuffer(),
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  198         StringRef Code = Buffer.get()->getBuffer();
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp
  304     if ((*Text)->getBuffer().empty())
  307         ConfigHandler.second((*Text)->getBuffer());
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
   36                            ContentCache.getRawBuffer()->getBuffer()));
tools/clang/tools/extra/clangd/ParsedAST.cpp
  232   std::string Content = Buffer->getBuffer();
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  141   auto Includes = parseDriverOutput(BufOrError->get()->getBuffer());
tools/clang/tools/extra/clangd/SourceCode.cpp
  575   return Buf->getBuffer().substr(BeginOffset, EndOffset - BeginOffset);
  580   llvm::StringRef Code = SM.getBuffer(SM.getMainFileID())->getBuffer();
tools/clang/tools/extra/clangd/index/Background.cpp
  132   return digest(Buf->get()->getBuffer()) != LS.Digest;
  352   auto Hash = digest(Buf->get()->getBuffer());
tools/clang/tools/extra/clangd/index/BackgroundIndexStorage.cpp
   66     if (auto I = readIndexFile(Buffer->get()->getBuffer()))
tools/clang/tools/extra/clangd/index/Serialization.cpp
  677     if (auto I = readIndexFile(Buffer->get()->getBuffer())) {
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
  154   listBuffer.get()->getBuffer().split(Strings, "\n", -1, false);
  227   listBuffer.get()->getBuffer().split(Strings, "\n", -1, false);
tools/clang/unittests/Tooling/RefactoringTest.cpp
  631     return (*FileBuffer)->getBuffer();
tools/clang/unittests/Tooling/RewriterTestContext.h
  110     return (*FileBuffer)->getBuffer();
tools/dsymutil/DebugMap.cpp
  138   yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt);
tools/dsymutil/DwarfLinker.cpp
 2626         Streamer->emitSwiftAST((*ErrorOrMem)->getBuffer());
tools/gold/gold-plugin.cpp
 1054     *AddStream(Task)->OS << MB->getBuffer();
tools/lld/COFF/Driver.cpp
  794   if ((*oldBuf)->getBuffer() != newBuf->getBuffer()) {
  794   if ((*oldBuf)->getBuffer() != newBuf->getBuffer()) {
tools/lld/COFF/DriverUtils.cpp
  406   return merger.getMergedManifest().get()->getBuffer();
  436       ->getBuffer();
tools/lld/COFF/LTO.cpp
  205       ret.push_back(file->getBuffer());
tools/lld/lib/Driver/DarwinLdDriver.cpp
  176   StringRef buffer = mb->get()->getBuffer();
  206   StringRef buffer = mb->get()->getBuffer();
  264   StringRef buffer = mb->get()->getBuffer();
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  152   StringRef fileBuffer = b->get()->getBuffer();
  310           appendRelocations(section.relocations, mb->getBuffer(), isBig,
  314             appendIndirectSymbols(section.indirectSymbols, mb->getBuffer(),
  354           appendRelocations(section.relocations, mb->getBuffer(), isBig,
  359                 section.indirectSymbols, mb->getBuffer(), isBig,
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  809   llvm::yaml::Input yin(mb->getBuffer(), &yamlContext);
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
 1365     llvm::yaml::Input yin(mb->getBuffer(), &yamlContext);
tools/lld/wasm/LTO.cpp
  163       ret.push_back(file->getBuffer());
tools/lldb/include/lldb/Utility/Reproducer.h
  311     return (*buffer)->getBuffer().str();
tools/lldb/source/Commands/CommandObjectReproducer.cpp
  319         result.AppendMessage((*command_buffer)->getBuffer());
  334       yaml::Input yin((*error_or_file)->getBuffer());
tools/lldb/source/Host/linux/Host.cpp
   57   llvm::StringRef Rest = BufferOrError.get()->getBuffer();
  154   std::tie(Arg0, Rest) = Cmdline->getBuffer().split('\0');
  197   llvm::StringRef Rest = Environ->getBuffer();
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
 1306   ParseLinuxMapRegions(BufferOrError.get()->getBuffer(),
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
  102   return BufferOrError.get()->getBuffer().rtrim('\n');
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp
   87   StringRef rest = ret.get()->getBuffer();
  185   StringRef Rest = BufferOrError.get()->getBuffer();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
  185   yaml::Input yin((*error_or_file)->getBuffer());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
 2837   llvm::StringRef buffer = buffer_it->second->getBuffer();
tools/lldb/source/Utility/Reproducer.cpp
  214   yaml::Input yin((*error_or_file)->getBuffer());
  317   llvm::yaml::Input yin((*error_or_file)->getBuffer());
tools/lldb/source/Utility/ReproducerInstrumentation.cpp
   42   return Replay((*error_or_file)->getBuffer());
tools/lldb/source/Utility/StructuredData.cpp
   48   return ParseJSON(buffer_or_error.get()->getBuffer().str());
tools/lldb/tools/lldb-test/lldb-test.cpp
  366   StringRef Rest = MB->getBuffer();
 1042   StringRef Rest = MB->getBuffer();
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp
  143     llvm::StringRef raw_debug_info = m_sections_map["debug_info"]->getBuffer();
tools/lldb/unittests/TestingSupport/TestUtilities.cpp
   55   return fromYaml(BufferOrError.get()->getBuffer());
tools/lli/lli.cpp
  274     return MemoryBuffer::getMemBufferCopy(IRObjectBuffer.get()->getBuffer());
tools/llvm-ar/llvm-ar.cpp
  657       identify_magic(NMOrErr->Buf->getBuffer()) == file_magic::archive) {
  697       identify_magic(NMOrErr->Buf->getBuffer()) == file_magic::archive) {
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
   96   BitcodeAnalyzer BA(MB->getBuffer(),
   97                      BlockInfoMB ? Optional<StringRef>(BlockInfoMB->getBuffer())
tools/llvm-cfi-verify/llvm-cfi-verify.cpp
   71   File->getBuffer().split(Lines, '\n');
tools/llvm-cov/CodeCoverage.cpp
  499   StringRef DemanglerData = DemanglerBuf->getBuffer();
tools/llvm-elfabi/llvm-elfabi.cpp
  100         readTBEFromBuffer(FileReadBuffer->getBuffer());
tools/llvm-ifs/llvm-ifs.cpp
  211   yaml::Input YamlIn(FileReadBuffer->getBuffer());
tools/llvm-lto/llvm-lto.cpp
  577       ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer());
  699                               MemBuffer->getBuffer());
  732                               MemBuffer->getBuffer());
  790       ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer());
  800         outs() << std::get<0>(BinName)->getBuffer();
  807       OS << std::get<0>(BinName)->getBuffer();
  829       ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer());
  853       OS << Binaries[BufID]->getBuffer();
tools/llvm-lto2/llvm-lto2.cpp
  342     *AddStream(Task)->OS << MB->getBuffer();
tools/llvm-mc/Disassembler.cpp
  166   StringRef Str = Buffer.getBuffer();
tools/llvm-mc/llvm-mc.cpp
  246   Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer());
  407     Ctx.setGenDwarfRootFile(InputFilename, Buffer->getBuffer());
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
   49   uint32_t CRC32 = llvm::crc32(arrayRefFromStringRef(LinkTarget->getBuffer()));
tools/llvm-objcopy/CopyConfig.cpp
  273   BufOrErr.get()->getBuffer().split(Lines, '\n');
  331   BufOrErr.get()->getBuffer().split(Lines, '\n');
  506         llvm::crc32(arrayRefFromStringRef(Debug->getBuffer()));
tools/llvm-objcopy/ELF/Object.cpp
 1638   MemBuf->getBuffer().split(Lines, '\n');
tools/llvm-opt-report/OptReport.cpp
  167       remarks::createRemarkParserFromMeta(*Format, (*Buf)->getBuffer());
tools/llvm-pdbutil/ExplainOutputStyle.cpp
   67       std::make_unique<BinaryByteStream>(File.unknown().getBuffer(),
tools/llvm-pdbutil/llvm-pdbutil.cpp
  756   llvm::yaml::Input In(Buffer->getBuffer());
tools/llvm-profdata/llvm-profdata.cpp
  436   StringRef Data = Buffer->getBuffer();
  583   StringRef Data = Buffer->getBuffer();
tools/llvm-rc/ResourceFileWriter.cpp
  409   *FS << (*File)->getBuffer();
  711   StringRef Buffer = (*File)->getBuffer();
  889   BinaryStreamReader Reader((*File)->getBuffer(), support::little);
tools/llvm-rc/llvm-rc.cpp
  118   StringRef Contents = FileContents->getBuffer();
tools/llvm-undname/llvm-undname.cpp
   90     return msDemangle(FileOrErr->get()->getBuffer()) ? 0 : 1;
tools/polly/lib/Exchange/JSONExporter.cpp
  711       json::parse(result.get().get()->getBuffer());
tools/sancov/sancov.cpp
  872   Hasher.update((*BufOrErr)->getBuffer());
tools/yaml2obj/yaml2obj.cpp
   65   yaml::Input YIn(Buf.get()->getBuffer());
unittests/CodeGen/GlobalISel/GISelMITest.h
  201   auto OutBuffer = OutputBuf->getBuffer();
unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
   42     return MemoryBuffer::getMemBufferCopy(BufferFound->getBuffer());
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
  103         K, MemoryBuffer::getMemBufferCopy(Obj->getBuffer())));
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
   94       MemoryBuffer::getMemBufferCopy(Obj->getBuffer()), false))
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
  125   StringRef ObjBytes = TestObject->getBuffer();
  139       StringRef RPCObjContents = Obj->getBuffer();
unittests/Support/CommandLineTest.cpp
 1156     return Buffer->get()->getBuffer().str();
unittests/Support/FileCheckTest.cpp
  138   StringRef StrBufferRef = Buffer->getBuffer();
unittests/Support/MemoryBufferTest.cpp
  116     EXPECT_EQ("123456", MB.get()->getBuffer());
  192   EXPECT_EQ(MB.get()->getBuffer(), "foofoofoofoofoo");
  253   StringRef BufData = Buf.get()->getBuffer();
  300   StringRef BufData = MB.get()->getBuffer();
  315   StringRef BufData2 = MB2.get()->getBuffer();
  352     EXPECT_EQ("0123456789abcdef", MB.getBuffer().substr(i, 0x10)) << "i: " << i;
  381   EXPECT_EQ("xxxxxxxxxxxxxxxx", MB.getBuffer());
unittests/Support/Path.cpp
 1329   StringRef Data = Buffer.get()->getBuffer();
unittests/Support/ReplaceFileTest.cpp
   58   return Buffer.get()->getBuffer() == Content;
unittests/Support/VirtualFileSystemTest.cpp
  525   EXPECT_EQ("bbbb", (*BBuf)->getBuffer());
  529   EXPECT_EQ("aaaa", (*ABuf)->getBuffer());
  911   EXPECT_EQ("test", (*(*File)->getBuffer("ignored"))->getBuffer());
 1006   ASSERT_EQ("a", (*(*File)->getBuffer("ignored"))->getBuffer());
 1008   ASSERT_EQ("a", (*(*File)->getBuffer("ignored"))->getBuffer());
 1010   ASSERT_EQ("a", (*(*File)->getBuffer("ignored"))->getBuffer());
 1020   ASSERT_EQ("c", (*(*File)->getBuffer("ignored"))->getBuffer());
 1022   ASSERT_EQ("d", (*(*File)->getBuffer("ignored"))->getBuffer());
 1237   EXPECT_TRUE(FS.getBufferForFile(FromLink)->get()->getBuffer() ==
 1238               FS.getBufferForFile(Target)->get()->getBuffer());
unittests/TableGen/CodeExpanderTest.cpp
   21   StringRef StrBufferRef = Buffer->getBuffer();
utils/yaml-bench/YAMLBench.cpp
  210       yaml::dumpTokens(Buf.getBuffer(), outs());
  214       yaml::Stream stream(Buf.getBuffer(), sm, ShowColors);