hello-mlir/include/MLIRGen.h

25 lines
368 B
C++

//
// Created by ricardo on 29/05/25.
//
#ifndef MLIRGEN_H
#define MLIRGEN_H
#include <mlir/IR/BuiltinOps.h>
#include "SyntaxNode.h"
namespace mlir
{
class MLIRContext;
template <typename OpTy>
class OwningOpRef;
}
namespace hello
{
mlir::OwningOpRef<mlir::ModuleOp> mlirGen(mlir::MLIRContext& context, Module& helloModule);
}
#endif //MLIRGEN_H