My Project
Classes | Namespaces | Typedefs | Functions
Translation.h File Reference
#include "llvm/ADT/StringMap.h"
#include <memory>
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

struct  mlir::TranslateToMLIRRegistration
 
struct  mlir::TranslateFromMLIRRegistration
 
struct  mlir::TranslateRegistration
 

Namespaces

 llvm
 
 mlir
 

Typedefs

using mlir::TranslateSourceMgrToMLIRFunction = std::function< OwningModuleRef(llvm::SourceMgr &sourceMgr, MLIRContext *)>
 
using mlir::TranslateStringRefToMLIRFunction = std::function< OwningModuleRef(llvm::StringRef, MLIRContext *)>
 
using mlir::TranslateFromMLIRFunction = std::function< LogicalResult(ModuleOp, llvm::raw_ostream &output)>
 
using mlir::TranslateFunction = std::function< LogicalResult(llvm::SourceMgr &sourceMgr, llvm::raw_ostream &output, MLIRContext *)>
 

Functions

const llvm::StringMap< TranslateSourceMgrToMLIRFunction > & mlir::getTranslationToMLIRRegistry ()
 Get a read-only reference to the translator registry. More...
 
const llvm::StringMap< TranslateFromMLIRFunction > & mlir::getTranslationFromMLIRRegistry ()
 
const llvm::StringMap< TranslateFunction > & mlir::getTranslationRegistry ()