#include "mlir/Dialect/SparseTensor/TransformOps/SparseTensorTransformOps.h"
#include "mlir/Dialect/Linalg/TransformOps/Syntax.h"
#include "mlir/Dialect/SparseTensor/IR/SparseTensor.h"
usingnamespacemlir;
usingnamespacemlir::sparse_tensor;
DiagnosedSilenceableFailure transform::MatchSparseInOut::matchOperation(
mlir::Operation *current, mlir::transform::TransformResults &results,
mlir::transform::TransformState &state) { … }
namespace {
class SparseTensorTransformDialectExtension
: public transform::TransformDialectExtension<
SparseTensorTransformDialectExtension> { … };
}
#define GET_OP_CLASSES
#include "mlir/Dialect/SparseTensor/TransformOps/SparseTensorTransformOps.cpp.inc"
void mlir::sparse_tensor::registerTransformDialectExtension(
DialectRegistry ®istry) { … }