MLIR  19.0.0git
Public Member Functions | List of all members
mlir::TranslateFromMLIRRegistration Struct Reference

#include "mlir/Tools/mlir-translate/Translation.h"

Public Member Functions

 TranslateFromMLIRRegistration (llvm::StringRef name, llvm::StringRef description, const TranslateFromMLIRFunction &function, const DialectRegistrationFunction &dialectRegistration=[](DialectRegistry &) {})
 
template<typename FuncTy , typename OpTy = detail::first_argument<FuncTy>, typename = std::enable_if_t<!std::is_same_v<OpTy, Operation *>>>
 TranslateFromMLIRRegistration (llvm::StringRef name, llvm::StringRef description, FuncTy function, const DialectRegistrationFunction &dialectRegistration=[](DialectRegistry &) {})
 

Detailed Description

Definition at line 131 of file Translation.h.

Constructor & Destructor Documentation

◆ TranslateFromMLIRRegistration() [1/2]

mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration ( llvm::StringRef  name,
llvm::StringRef  description,
const TranslateFromMLIRFunction function,
const DialectRegistrationFunction dialectRegistration = [](DialectRegistry &) {} 
)

◆ TranslateFromMLIRRegistration() [2/2]

template<typename FuncTy , typename OpTy = detail::first_argument<FuncTy>, typename = std::enable_if_t<!std::is_same_v<OpTy, Operation *>>>
mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration ( llvm::StringRef  name,
llvm::StringRef  description,
FuncTy  function,
const DialectRegistrationFunction dialectRegistration = [](DialectRegistry &) {} 
)
inline

Definition at line 140 of file Translation.h.


The documentation for this struct was generated from the following file: