Home
last modified time | relevance | path

Searched refs:openFile (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/lld/ELF/
H A DLTO.cpp45 static std::unique_ptr<raw_fd_ostream> openFile(StringRef file) { in openFile() function
66 return openFile(file); in openLTOOutputFile()
191 indexFile = openFile(config->thinLTOIndexOnlyArg); in BitcodeCompiler()
297 std::unique_ptr<raw_fd_ostream> os = openFile(path + ".thinlto.bc"); in thinLTOCreateEmptyIndexFiles()
305 openFile(path + ".imports"); in thinLTOCreateEmptyIndexFiles()
339 openFile(path + ".thinlto.bc"); in compile()
341 openFile(path + ".imports"); in compile()
H A DWriter.cpp75 void openFile();
590 openFile(); in run()
2834 template <class ELFT> void Writer<ELFT>::openFile() { in openFile() function in Writer
/llvm-project-15.0.7/lld/COFF/
H A DLTO.cpp45 static std::unique_ptr<raw_fd_ostream> openFile(StringRef file) { in openFile() function
100 indexFile = openFile(config->thinLTOIndexOnlyArg); in BitcodeCompiler()
184 openFile(path + ".thinlto.bc"); in compile()
186 openFile(path + ".imports"); in compile()
H A DWriter.cpp215 void openFile(StringRef outputPath);
623 openFile(config->outputFile); in run()
1533 void Writer::openFile(StringRef path) { in openFile() function in Writer
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DCallHierarchyTests.cpp291 auto AST = Workspace.openFile("caller1.cc"); in TEST()
296 AST = Workspace.openFile("callee.hh"); in TEST()
301 AST = Workspace.openFile("callee.cc"); in TEST()
400 auto AST = Workspace.openFile("caller1.m"); in TEST()
405 AST = Workspace.openFile("callee.mi"); in TEST()
410 AST = Workspace.openFile("callee.m"); in TEST()
H A DTestWorkspace.h41 Optional<ParsedAST> openFile(llvm::StringRef Filename);
H A DTestWorkspace.cpp34 Optional<ParsedAST> TestWorkspace::openFile(llvm::StringRef Filename) { in openFile() function in clang::clangd::TestWorkspace
H A DInlayHintTests.cpp1109 auto AST = Workspace.openFile("foo.cc"); in TEST()
/llvm-project-15.0.7/clang/lib/Basic/
H A DFileManager.cpp197 FileManager::getFile(StringRef Filename, bool openFile, bool CacheFailure) { in getFile() argument
198 auto Result = getFileRef(Filename, openFile, CacheFailure); in getFile()
205 FileManager::getFileRef(StringRef Filename, bool openFile, bool CacheFailure) { in getFileRef() argument
257 openFile ? &F : nullptr); in getFileRef()
268 assert((openFile || !F) && "undesired open file"); in getFileRef()
388 } else if (!openFile) { in getFileRef()
/llvm-project-15.0.7/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp58 std::unique_ptr<MemoryBuffer> openFile(const Twine &Path) { in openFile() function
142 openFile(Args.getLastArg(OPT_d)->getValue()); in dlltoolDriverMain()
/llvm-project-15.0.7/lldb/unittests/Target/
H A DFindFileTest.cpp72 ASSERT_NO_ERROR(openFile(FileName, fd, CD_CreateAlways, FA_Read, OF_None)); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/GSYM/
H A DGsymReader.h77 static llvm::Expected<GsymReader> openFile(StringRef Path);
/llvm-project-15.0.7/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp496 CurrentGsym = GsymReader::openFile(GSYMPath); in main()
519 auto Gsym = GsymReader::openFile(GSYMPath); in main()
/llvm-project-15.0.7/lldb/tools/lldb-test/
H A Dlldb-test.cpp73 std::unique_ptr<MemoryBuffer> openFile(const std::string &Filename);
305 std::unique_ptr<MemoryBuffer> opts::openFile(const std::string &Filename) { in openFile() function in opts
371 std::unique_ptr<MemoryBuffer> MB = opts::openFile(breakpoint::CommandFile); in evaluateBreakpoints()
1063 std::unique_ptr<MemoryBuffer> MB = opts::openFile(irmemorymap::CommandFile); in evaluateMemoryMapCommands()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFileSystem.h965 std::error_code openFile(const Twine &Name, int &ResultFD,
1068 return openFile(Name, ResultFD, Disp, FA_Write, Flags, Mode);
1110 return openFile(Name, ResultFD, Disp, FA_Write | FA_Read, Flags, Mode);
/llvm-project-15.0.7/lld/MachO/
H A DWriter.cpp61 void openFile();
1087 void Writer::openFile() { in openFile() function in Writer
1147 openFile(); in writeOutputFile()
/llvm-project-15.0.7/lld/wasm/
H A DWriter.cpp55 void openFile();
1662 openFile(); in run()
1678 void Writer::openFile() { in openFile() function in lld::wasm::Writer
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DGsymReader.cpp34 llvm::Expected<GsymReader> GsymReader::openFile(StringRef Filename) { in openFile() function in GsymReader
H A DDwarfTransformer.cpp502 auto Gsym = GsymReader::openFile(GsymPath); in verify()
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DSparseTensorUtils.cpp1132 void openFile() { in openFile() function in __anon2f09016c0111::SparseTensorFile
1360 stfile.openFile(); in openSparseTensorCOO()
1841 stfile.openFile(); in readSparseTensorShape()
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DPath.inc1013 std::error_code openFile(const Twine &Name, int &ResultFD,
1122 std::error_code EC = openFile(Name, FD, Disp, Access, Flags, Mode);
1132 openFile(Name, ResultFD, CD_OpenExisting, FA_Read, Flags, 0666);
/llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp1042 openFile(path, pc.pc_fd, CD_CreateNew, FA_Write, OF_None)) { in SaveCore()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DPath.inc1210 std::error_code openFile(const Twine &Name, int &ResultFD,
/llvm-project-15.0.7/llvm/docs/
H A DCodingStandards.rst1096 and start with a lower case letter (e.g. ``openFile()`` or ``isFoo()``).