MLIR  16.0.0git
Namespaces | Functions
FileUtilities.h File Reference
#include <memory>
#include <string>
+ Include dependency graph for FileUtilities.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.
 
 mlir
 Include the generated interface declarations.
 

Functions

std::unique_ptr< llvm::MemoryBuffer > mlir::openInputFile (llvm::StringRef inputFilename, std::string *errorMessage=nullptr)
 Open the file specified by its name for reading. More...
 
std::unique_ptr< llvm::ToolOutputFile > mlir::openOutputFile (llvm::StringRef outputFilename, std::string *errorMessage=nullptr)
 Open the file specified by its name for writing. More...