[Mlir-commits] [mlir] 2f1791c - [mlir] generate documentation for transform dialect extensions

Alex Zinenko llvmlistbot at llvm.org
Wed Jun 15 06:06:28 PDT 2022


Author: Alex Zinenko
Date: 2022-06-15T15:06:20+02:00
New Revision: 2f1791c43c87bddef739ec3853222912d349d719

URL: https://github.com/llvm/llvm-project/commit/2f1791c43c87bddef739ec3853222912d349d719
DIFF: https://github.com/llvm/llvm-project/commit/2f1791c43c87bddef739ec3853222912d349d719.diff

LOG: [mlir] generate documentation for transform dialect extensions

Added: 
    

Modified: 
    mlir/docs/Dialects/Transform.md
    mlir/include/mlir/Dialect/Bufferization/TransformOps/CMakeLists.txt
    mlir/include/mlir/Dialect/Linalg/TransformOps/CMakeLists.txt
    mlir/include/mlir/Dialect/SCF/TransformOps/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/docs/Dialects/Transform.md b/mlir/docs/Dialects/Transform.md
index fdbb608449dfb..b5f5eec056eb7 100644
--- a/mlir/docs/Dialects/Transform.md
+++ b/mlir/docs/Dialects/Transform.md
@@ -3,4 +3,17 @@
 [TOC]
 
 [include "Dialects/TransformOps.md"]
+
+## Bufferization Transform Operations
+
+[include "Dialects/BufferizationTransformOps.md"]
+
+## Loop (SCF) Transform Operations
+
+[include "Dialects/SCFLoopTransformOps.md"]
+
+## Structured (Linalg) Transform Operations
+
+[include "Dialects/LinalgStructuredTransformOps.md"]
+
 [include "Dialects/TransformOpInterfaces.md"]

diff  --git a/mlir/include/mlir/Dialect/Bufferization/TransformOps/CMakeLists.txt b/mlir/include/mlir/Dialect/Bufferization/TransformOps/CMakeLists.txt
index 8a0d37c295f3f..95276e3e5e0d0 100644
--- a/mlir/include/mlir/Dialect/Bufferization/TransformOps/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/Bufferization/TransformOps/CMakeLists.txt
@@ -2,3 +2,5 @@ set(LLVM_TARGET_DEFINITIONS BufferizationTransformOps.td)
 mlir_tablegen(BufferizationTransformOps.h.inc -gen-op-decls)
 mlir_tablegen(BufferizationTransformOps.cpp.inc -gen-op-defs)
 add_public_tablegen_target(MLIRBufferizationTransformOpsIncGen)
+
+add_mlir_doc(BufferizationTransformOps BufferizationTransformOps Dialects/ -gen-op-doc)

diff  --git a/mlir/include/mlir/Dialect/Linalg/TransformOps/CMakeLists.txt b/mlir/include/mlir/Dialect/Linalg/TransformOps/CMakeLists.txt
index 861d60c1494f3..425b905b0ac2a 100644
--- a/mlir/include/mlir/Dialect/Linalg/TransformOps/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/Linalg/TransformOps/CMakeLists.txt
@@ -2,3 +2,5 @@ set(LLVM_TARGET_DEFINITIONS LinalgTransformOps.td)
 mlir_tablegen(LinalgTransformOps.h.inc -gen-op-decls)
 mlir_tablegen(LinalgTransformOps.cpp.inc -gen-op-defs)
 add_public_tablegen_target(MLIRLinalgTransformOpsIncGen)
+
+add_mlir_doc(LinalgTransformOps LinalgStructuredTransformOps Dialects/ -gen-op-doc)

diff  --git a/mlir/include/mlir/Dialect/SCF/TransformOps/CMakeLists.txt b/mlir/include/mlir/Dialect/SCF/TransformOps/CMakeLists.txt
index b8e09b6d140bd..9095b1f8dbc98 100644
--- a/mlir/include/mlir/Dialect/SCF/TransformOps/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/SCF/TransformOps/CMakeLists.txt
@@ -2,3 +2,5 @@ set(LLVM_TARGET_DEFINITIONS SCFTransformOps.td)
 mlir_tablegen(SCFTransformOps.h.inc -gen-op-decls)
 mlir_tablegen(SCFTransformOps.cpp.inc -gen-op-defs)
 add_public_tablegen_target(MLIRSCFTransformOpsIncGen)
+
+add_mlir_doc(SCFTransformOps SCFLoopTransformOps Dialects/ -gen-op-doc)


        


More information about the Mlir-commits mailing list