Home
last modified time | relevance | path

Searched refs:outputFilename (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/mlir/tools/mlir-pdll/
H A Dmlir-pdll.cpp94 createDependencyFile(StringRef outputFilename, StringRef dependencyFile, in createDependencyFile() argument
96 if (outputFilename == "-") { in createDependencyFile()
109 outputFile->os() << outputFilename << ":"; in createDependencyFile()
126 llvm::cl::opt<std::string> outputFilename( in main() local
200 llvm::MemoryBuffer::getFile(outputFilename, /*IsText=*/true)) in main()
208 openOutputFile(outputFilename, &errorMessage); in main()
220 if (failed(createDependencyFile(outputFilename, dependencyFilename, in main()
/llvm-project-15.0.7/mlir/lib/Support/
H A DFileUtilities.cpp35 mlir::openOutputFile(StringRef outputFilename, std::string *errorMessage) { in openOutputFile() argument
37 auto result = std::make_unique<llvm::ToolOutputFile>(outputFilename, error, in openOutputFile()
41 *errorMessage = "cannot open output file '" + outputFilename.str() + in openOutputFile()
/llvm-project-15.0.7/flang/lib/Frontend/
H A DCompilerInstance.cpp65 static std::string getOutputFilePath(llvm::StringRef outputFilename, in getOutputFilePath() argument
70 if (!outputFilename.empty()) in getOutputFilePath()
71 return std::string(outputFilename); in getOutputFilePath()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-reduce/
H A DMlirReduceMain.cpp54 static llvm::cl::opt<std::string> outputFilename( in mlirReduceMain() local
75 auto output = openOutputFile(outputFilename, &errorMessage); in mlirReduceMain()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-translate/
H A DMlirTranslateMain.cpp35 static llvm::cl::opt<std::string> outputFilename( in mlirTranslateMain() local
73 auto output = openOutputFile(outputFilename, &errorMessage); in mlirTranslateMain()
/llvm-project-15.0.7/flang/tools/tco/
H A Dtco.cpp43 static cl::opt<std::string> outputFilename("o", variable
95 ToolOutputFile out(outputFilename, ec, sys::fs::OF_None); in compileFIR()
/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DFileUtilities.h36 openOutputFile(llvm::StringRef outputFilename,
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DToolOutputFile.h69 const std::string &outputFilename() { return Installer.Filename; } in outputFilename() function
/llvm-project-15.0.7/mlir/lib/Tools/mlir-opt/
H A DMlirOptMain.cpp198 static cl::opt<std::string> outputFilename("o", cl::desc("Output filename"), in MlirOptMain() local
263 auto output = openOutputFile(outputFilename, &errorMessage); in MlirOptMain()
/llvm-project-15.0.7/flang/tools/bbc/
H A Dbbc.cpp71 outputFilename("o", llvm::cl::desc("Specify the output filename"), variable
226 std::string outputName = outputFilename; in convertFortranSourceToMLIR()
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DExecutionEngine.cpp83 void SimpleObjectCache::dumpToObjectFile(StringRef outputFilename) { in dumpToObjectFile() argument
86 auto file = openOutputFile(outputFilename, &errorMessage); in dumpToObjectFile()
/llvm-project-15.0.7/llvm/tools/llc/
H A Dllc.cpp624 Target->Options.ObjectFilenameForDebug = Out->outputFilename(); in compileModule()