9 #ifndef MLIR_TOOLS_PDLL_CODEGEN_MLIRGEN_H_
10 #define MLIR_TOOLS_PDLL_CODEGEN_MLIRGEN_H_
21 template <
typename OpT>
33 const ast::Context &context,
34 const llvm::SourceMgr &sourceMgr,
35 const ast::Module &module);
The OpAsmOpInterface, see OpAsmInterface.td for more details.
OwningOpRef< ModuleOp > codegenPDLLToMLIR(MLIRContext *mlirContext, const ast::Context &context, const llvm::SourceMgr &sourceMgr, const ast::Module &module)
Given a PDLL module, generate an MLIR PDL pattern module within the given MLIR context.
Include the generated interface declarations.