#include "TestDialect.h"
#include "TestOps.h"
#include "TestTypes.h"
#include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h"
#include "mlir/Conversion/LLVMCommon/Pattern.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Pass/Pass.h"
usingnamespacemlir;
namespace {
class TestTypeProducerOpConverter
: public ConvertOpToLLVMPattern<test::TestTypeProducerOp> { … };
struct TestConvertCallOp
: public PassWrapper<TestConvertCallOp, OperationPass<ModuleOp>> { … };
}
namespace mlir {
namespace test {
void registerConvertCallOpPass() { … }
}
}