#include "TestDialect.h"
#include "TestOps.h"
#include "mlir/Interfaces/FoldInterfaces.h"
#include "mlir/Reducer/ReductionPatternInterface.h"
#include "mlir/Transforms/InliningUtils.h"
usingnamespacemlir;
usingnamespacetest;
namespace {
static_assert …;
static_assert …;
struct TestResourceBlobManagerInterface
: public ResourceBlobManagerDialectInterfaceBase<
TestDialectResourceBlobHandle> { … };
namespace {
enum test_encoding { … };
}
struct TestBytecodeDialectInterface : public BytecodeDialectInterface { … };
struct TestOpAsmInterface : public OpAsmDialectInterface { … };
struct TestDialectFoldInterface : public DialectFoldInterface { … };
struct TestInlinerInterface : public DialectInlinerInterface { … };
struct TestReductionPatternInterface : public DialectReductionPatternInterface { … };
}
void TestDialect::registerInterfaces() { … }