#include "mlir/Dialect/Linalg/Transforms/SubsetInsertionOpInterfaceImpl.h"
#include "mlir/Dialect/Linalg/IR/Linalg.h"
#include "mlir/Interfaces/SubsetOpInterface.h"
usingnamespacemlir;
usingnamespacemlir::linalg;
namespace {
struct LinalgCopyOpSubsetOpInterface
: public SubsetOpInterface::ExternalModel<LinalgCopyOpSubsetOpInterface,
linalg::CopyOp> { … };
struct LinalgCopyOpInterface
: public SubsetInsertionOpInterface::ExternalModel<LinalgCopyOpInterface,
linalg::CopyOp> { … };
}
void mlir::linalg::registerSubsetOpInterfaceExternalModels(
DialectRegistry ®istry) { … }