|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/Support/MemoryBuffer.h 80 getFile(const Twine &Filename, int64_t FileSize = -1,
References
lib/BinaryFormat/Magic.cpp 225 auto FileOrError = MemoryBuffer::getFile(Path, -1LL, false);
lib/DebugInfo/Symbolize/DIPrinter.cpp 39 MemoryBuffer::getFile(FileName);
lib/ExecutionEngine/Orc/ExecutionUtils.cpp 232 auto ArchiveBuffer = errorOrToExpected(MemoryBuffer::getFile(FileName));
lib/FuzzMutate/FuzzerCLI.cpp 155 auto BufOrErr = MemoryBuffer::getFile(Arg, /*FileSize-*/ -1,
lib/IR/Core.cpp 4002 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getFile(Path);
lib/LTO/LTO.cpp 286 auto FileOrErr = MemoryBuffer::getFile(Conf.SampleProfile);
291 FileOrErr = MemoryBuffer::getFile(Conf.ProfileRemapping);
lib/LTO/LTOCodeGenerator.cpp 304 MemoryBuffer::getFile(name, -1, false);
lib/LTO/LTOModule.cpp 63 MemoryBuffer::getFile(Path);
112 MemoryBuffer::getFile(path);
lib/Object/Archive.cpp 449 ErrorOr<std::unique_ptr<MemoryBuffer>> Buf = MemoryBuffer::getFile(FullName);
lib/Object/ObjectFile.cpp 170 MemoryBuffer::getFile(ObjectPath);
lib/Remarks/BitstreamRemarkParser.cpp 426 MemoryBuffer::getFile(FullPath);
lib/Remarks/YAMLRemarkParser.cpp 151 MemoryBuffer::getFile(FullPath);
lib/Support/CommandLine.cpp 1045 MemoryBuffer::getFile(FName);
lib/Support/FileUtilities.cpp 185 ErrorOr<std::unique_ptr<MemoryBuffer>> F1OrErr = MemoryBuffer::getFile(NameA);
193 ErrorOr<std::unique_ptr<MemoryBuffer>> F2OrErr = MemoryBuffer::getFile(NameB);
lib/Support/LockFileManager.cpp 55 MemoryBuffer::getFile(LockFileName);
lib/Support/MemoryBuffer.cpp 150 return getFile(Filename, FileSize, RequiresNullTerminator);
lib/Support/Signals.cpp 175 auto OutputBuf = MemoryBuffer::getFile(OutputFile.c_str());
lib/Support/SourceMgr.cpp 45 MemoryBuffer::getFile(IncludedFile);
52 NewBufOrErr = MemoryBuffer::getFile(IncludedFile);
lib/Support/SpecialCaseList.cpp 102 MemoryBuffer::getFile(Path);
lib/TableGen/Main.cpp 124 if (auto ExistingOrErr = MemoryBuffer::getFile(OutputFilename))
lib/Target/BPF/BTFDebug.cpp 684 MemoryBuffer::getFile(FileName))
lib/Testing/Support/SupportHelpers.cpp 43 auto File = MemoryBuffer::getFile(InputFilePath);
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp 58 ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> MB = MemoryBuffer::getFile(Path);
lib/ToolDrivers/llvm-lib/LibDriver.cpp 119 MemoryBuffer::getFile(Arg->getValue(), -1, false);
343 MemoryBuffer::getFile(Path, -1, false);
lib/Transforms/IPO/BlockExtractor.cpp 108 auto ErrOrBuf = MemoryBuffer::getFile(BlockExtractorFile);
lib/Transforms/IPO/Internalize.cpp 76 MemoryBuffer::getFile(Filename);
lib/Transforms/IPO/LowerTypeTests.cpp 1675 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ClReadSummary)));
lib/Transforms/IPO/WholeProgramDevirt.cpp 750 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ClReadSummary)));
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 70 auto FileOrErr = MemoryBuffer::getFile(CHRModuleList);
85 auto FileOrErr = MemoryBuffer::getFile(CHRFunctionList);
lib/Transforms/Utils/SymbolRewriter.cpp 253 MemoryBuffer::getFile(MapFile);
tools/clang/lib/ARCMigrate/FileRemapper.cpp 66 llvm::MemoryBuffer::getFile(infoFile);
tools/clang/lib/ARCMigrate/ObjCMT.cpp 2094 llvm::MemoryBuffer::getFile(File);
tools/clang/lib/CodeGen/BackendUtil.cpp 1402 llvm::MemoryBuffer::getFile(I.first());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 4232 auto Buf = llvm::MemoryBuffer::getFile(CGM.getLangOpts().OMPHostIRFile);
tools/clang/lib/Driver/Driver.cpp 1185 llvm::MemoryBuffer::getFile(File->path());
tools/clang/lib/Frontend/CompilerInstance.cpp 206 llvm::MemoryBuffer::getFile(VFSFile);
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 259 llvm::MemoryBuffer::getFile(IndexPath.c_str());
tools/clang/lib/Tooling/CompilationDatabase.cpp 366 llvm::MemoryBuffer::getFile(Path);
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp 199 llvm::MemoryBuffer::getFile(FilePath, /*FileSize=*/-1,
tools/clang/tools/arcmt-test/arcmt-test.cpp 211 ErrorOr<std::unique_ptr<MemoryBuffer>> file1 = MemoryBuffer::getFile(fname1);
215 ErrorOr<std::unique_ptr<MemoryBuffer>> file2 = MemoryBuffer::getFile(fname2);
244 inputBuf = MemoryBuffer::getFile(RemappingsFile);
tools/clang/tools/clang-refactor/ClangRefactor.cpp 488 llvm::MemoryBuffer::getFile(File);
tools/clang/tools/clang-refactor/TestSupport.cpp 93 llvm::MemoryBuffer::getFile(File);
163 MemoryBuffer::getFile(Filename);
296 MemoryBuffer::getFile(Filename);
tools/clang/tools/clang-rename/ClangRename.cpp 106 llvm::MemoryBuffer::getFile(Input);
tools/clang/tools/driver/cc1gen_reproducer_main.cpp 164 llvm::MemoryBuffer::getFile(Input);
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp 61 MemoryBuffer::getFile(I->path());
105 MemoryBuffer::getFile(I->path());
tools/clang/tools/extra/clang-change-namespace/tool/ClangChangeNamespace.cpp 88 llvm::MemoryBuffer::getFile(WhiteListFile);
tools/clang/tools/extra/clang-include-fixer/FuzzySymbolIndex.cpp 134 auto Buffer = llvm::MemoryBuffer::getFile(FilePath);
tools/clang/tools/extra/clang-include-fixer/YamlSymbolIndex.cpp 26 auto Buffer = llvm::MemoryBuffer::getFile(FilePath);
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp 98 auto Buffer = llvm::MemoryBuffer::getFile(Path);
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp 412 auto Buffer = llvm::MemoryBuffer::getFile(FilePath);
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp 295 llvm::MemoryBuffer::getFile(ConfigFile.c_str());
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp 134 auto BufOrError = llvm::MemoryBuffer::getFile(StdErrPath);
tools/clang/tools/extra/clangd/index/BackgroundIndexStorage.cpp 63 auto Buffer = llvm::MemoryBuffer::getFile(ShardPath);
tools/clang/tools/extra/clangd/index/Serialization.cpp 666 auto Buffer = llvm::MemoryBuffer::getFile(SymbolFilename);
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp 148 MemoryBuffer::getFile(InputPath);
221 MemoryBuffer::getFile(InputPath);
tools/dsymutil/DwarfLinker.cpp 2598 auto ErrorOrMem = MemoryBuffer::getFile(File);
tools/dsymutil/SymbolMap.cpp 118 auto ErrOrMemBuffer = MemoryBuffer::getFile(SymbolMapPath);
tools/lld/COFF/Driver.cpp 138 auto mbOrErr = MemoryBuffer::getFile(path,
772 ErrorOr<std::unique_ptr<MemoryBuffer>> oldBuf = MemoryBuffer::getFile(
792 std::unique_ptr<MemoryBuffer> newBuf = check(MemoryBuffer::getFile(
804 MemoryBuffer::getFile(path, -1, false, true), "could not open " + path);
889 MemoryBuffer::getFile(path, -1, false, true), "could not open " + path);
tools/lld/COFF/DriverUtils.cpp 349 return CHECK(MemoryBuffer::getFile(path, /*FileSize=*/-1,
400 check(MemoryBuffer::getFile(filename));
434 return CHECK(MemoryBuffer::getFile(user.path), "could not open " + user.path)
tools/lld/COFF/PDB.cpp 1341 MemoryBuffer::getFile(file);
tools/lld/ELF/InputFiles.cpp 111 auto mbOrErr = MemoryBuffer::getFile(path, -1, false);
tools/lld/lib/Driver/DarwinLdDriver.cpp 1111 MemoryBuffer::getFile(fileName);
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp 32 ErrorOr<std::unique_ptr<MemoryBuffer>> mbOrErr = MemoryBuffer::getFile(path);
tools/lld/wasm/InputFiles.cpp 48 auto mbOrErr = MemoryBuffer::getFile(path);
tools/lldb/source/Commands/CommandObjectReproducer.cpp 314 auto command_buffer = llvm::MemoryBuffer::getFile(*command_file);
327 auto error_or_file = MemoryBuffer::getFile(gdb_file.GetPath());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp 181 auto error_or_file = MemoryBuffer::getFile(path.GetPath());
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp 86 llvm::MemoryBuffer::getFile(PdbPath, /*FileSize=*/-1,
tools/lldb/source/Utility/Reproducer.cpp 210 auto error_or_file = MemoryBuffer::getFile(index.GetPath());
312 auto error_or_file = llvm::MemoryBuffer::getFile(file.GetPath());
tools/lldb/source/Utility/ReproducerInstrumentation.cpp 38 auto error_or_file = llvm::MemoryBuffer::getFile(file.GetPath());
tools/lldb/source/Utility/StructuredData.cpp 41 auto buffer_or_error = llvm::MemoryBuffer::getFile(input_spec.GetPath());
tools/lldb/unittests/TestingSupport/TestUtilities.cpp 51 llvm::MemoryBuffer::getFile(GetInputFilePath(Name), /*FileSize*/ -1,
tools/lli/lli.cpp 266 MemoryBuffer::getFile(CacheName, -1, false);
849 auto Obj = ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ObjPath)));
tools/llvm-ar/llvm-ar.cpp 260 auto BufOrErr = MemoryBuffer::getFile(Library, -1, false);
964 MemoryBuffer::getFile(ArchiveName, -1, false);
tools/llvm-cfi-verify/llvm-cfi-verify.cpp 63 auto FileOrErr = MemoryBuffer::getFile(LineInfo.FileName);
tools/llvm-cov/CodeCoverage.cpp 242 auto Buffer = MemoryBuffer::getFile(SourceFile);
490 auto BufOrError = MemoryBuffer::getFile(OutputPath);
tools/llvm-elfabi/llvm-elfabi.cpp 76 MemoryBuffer::getFile(FilePath);
tools/llvm-exegesis/lib/BenchmarkResult.cpp 337 errorOrToExpected(MemoryBuffer::getFile(Filename))) {
354 errorOrToExpected(MemoryBuffer::getFile(Filename))) {
tools/llvm-jitlink/llvm-jitlink.cpp 529 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(InputFiles.front())));
628 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(InputFile)));
746 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(CheckFile)));
tools/llvm-lto/llvm-lto.cpp 314 MemoryBuffer::getFile(Path);
469 auto InputOrErr = MemoryBuffer::getFile(Filename);
574 auto InputOrErr = MemoryBuffer::getFile(Filename);
787 auto InputOrErr = MemoryBuffer::getFile(Filename);
826 auto InputOrErr = MemoryBuffer::getFile(Filename);
898 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(Filename)));
tools/llvm-lto2/llvm-lto2.cpp 287 std::unique_ptr<MemoryBuffer> MB = check(MemoryBuffer::getFile(F), F);
355 std::unique_ptr<MemoryBuffer> MB = check(MemoryBuffer::getFile(F), F);
tools/llvm-mt/llvm-mt.cpp 140 MemoryBuffer::getFile(File);
tools/llvm-objcopy/COFF/COFFObjcopy.cpp 45 MemoryBuffer::getFile(File);
179 auto BufOrErr = MemoryBuffer::getFile(FileName);
tools/llvm-objcopy/CopyConfig.cpp 269 auto BufOrErr = MemoryBuffer::getFile(Filename);
327 auto BufOrErr = MemoryBuffer::getFile(Filename);
501 auto DebugOrErr = MemoryBuffer::getFile(Config.AddGnuDebugLink);
tools/llvm-objcopy/ELF/ELFObjcopy.cpp 696 MemoryBuffer::getFile(File);
tools/llvm-objdump/llvm-objdump.cpp 580 auto BufferOrError = MemoryBuffer::getFile(LineInfo.FileName);
tools/llvm-opt-report/OptReport.cpp 150 MemoryBuffer::getFile(InputFileName.c_str());
263 MemoryBuffer::getFile(FileName);
tools/llvm-pdbutil/InputFile.cpp 291 auto Result = MemoryBuffer::getFile(Path, -1LL, false);
tools/llvm-rc/ResourceFileWriter.cpp 1513 return errorOrToExpected(MemoryBuffer::getFile(File, -1, false));
1520 return errorOrToExpected(MemoryBuffer::getFile(Path, -1, false));
1528 return errorOrToExpected(MemoryBuffer::getFile(Path, -1, false));
1535 return errorOrToExpected(MemoryBuffer::getFile(Path, -1, false));
1540 return errorOrToExpected(MemoryBuffer::getFile(*Result, -1, false));
tools/llvm-rc/llvm-rc.cpp 111 MemoryBuffer::getFile(InArgsInfo[0]);
tools/lto/lto.cpp 187 ErrorOr<std::unique_ptr<MemoryBuffer>> Buffer = MemoryBuffer::getFile(path);
tools/polly/lib/Exchange/JSONExporter.cpp 702 MemoryBuffer::getFile(FileName);
tools/sancov/sancov.cpp 232 MemoryBuffer::getFile(FileName);
369 MemoryBuffer::getFile(InputFile);
843 MemoryBuffer::getFile(FileName);
869 MemoryBuffer::getFile(ObjectFile);
tools/sanstats/sanstats.cpp 128 MemoryBuffer::getFile(ClInputFile, -1, false);
tools/verify-uselistorder/verify-uselistorder.cpp 152 MemoryBuffer::getFile(Filename);
unittests/Support/CommandLineTest.cpp 1153 auto Buffer = MemoryBuffer::getFile(File.FilePath);
unittests/Support/MemoryBufferTest.cpp 142 ErrorOr<OwningBuffer> MB = MemoryBuffer::getFile(TestPath.c_str());
347 auto MBOrError = MemoryBuffer::getFile(TestPath);
377 auto MBOrError = MemoryBuffer::getFile(TestPath);
unittests/Support/Path.cpp 1327 auto Buffer = MemoryBuffer::getFile(Path);
unittests/Support/TarWriterTest.cpp 55 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getFile(Path);
utils/TableGen/GlobalISelEmitter.cpp 5000 auto RuleCoverageBufOrErr = MemoryBuffer::getFile(UseCoverageFile);