#include "mlir/Debug/CLOptionsSetup.h"
#include "mlir/Support/ToolUtilities.h"
#include "llvm/ADT/StringRef.h"
#include <cstdlib>
#include <functional>
#include <memory>
Go to the source code of this file.
|
| llvm |
| The OpAsmOpInterface, see OpAsmInterface.td for more details.
|
|
| mlir |
| Include the generated interface declarations.
|
|
|
std::pair< std::string, std::string > | mlir::registerAndParseCLIOptions (int argc, char **argv, llvm::StringRef toolName, DialectRegistry ®istry) |
| Register and parse command line options. More...
|
|
LogicalResult | mlir::MlirOptMain (llvm::raw_ostream &outputStream, std::unique_ptr< llvm::MemoryBuffer > buffer, DialectRegistry ®istry, const MlirOptMainConfig &config) |
| Perform the core processing behind mlir-opt . More...
|
|
LogicalResult | mlir::MlirOptMain (int argc, char **argv, llvm::StringRef toolName, DialectRegistry ®istry) |
| Implementation for tools like mlir-opt . More...
|
|
LogicalResult | mlir::MlirOptMain (int argc, char **argv, llvm::StringRef inputFilename, llvm::StringRef outputFilename, DialectRegistry ®istry) |
| Implementation for tools like mlir-opt . More...
|
|
int | mlir::asMainReturnCode (LogicalResult r) |
| Helper wrapper to return the result of MlirOptMain directly from main. More...
|
|