MLIR  16.0.0git
Classes | Namespaces | Typedefs
Translation.h File Reference
#include "llvm/Support/CommandLine.h"
+ Include dependency graph for Translation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mlir::OwningOpRef< OpTy >
 This class acts as an owning reference to an op, and will automatically destroy the held op on destruction if the held op is valid. More...
 
struct  mlir::TranslateToMLIRRegistration
 Use Translate[ToMLIR|FromMLIR]Registration as an initializer that registers a function and associates it with name. More...
 
struct  mlir::TranslateFromMLIRRegistration
 
struct  mlir::TranslateRegistration
 
struct  mlir::TranslationParser
 A command line parser for translation functions. More...
 

Namespaces

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

Typedefs

using mlir::TranslateSourceMgrToMLIRFunction = std::function< OwningOpRef< ModuleOp >(llvm::SourceMgr &sourceMgr, MLIRContext *)>
 Interface of the function that translates the sources managed by sourceMgr to MLIR. More...
 
using mlir::TranslateStringRefToMLIRFunction = std::function< OwningOpRef< ModuleOp >(llvm::StringRef, MLIRContext *)>
 Interface of the function that translates the given string to MLIR. More...
 
using mlir::TranslateFromMLIRFunction = std::function< LogicalResult(ModuleOp, llvm::raw_ostream &output)>
 Interface of the function that translates MLIR to a different format and outputs the result to a stream. More...
 
using mlir::TranslateFunction = std::function< LogicalResult(llvm::SourceMgr &sourceMgr, llvm::raw_ostream &output, MLIRContext *)>
 Interface of the function that performs file-to-file translation involving MLIR. More...