mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-07 19:03:57 +00:00
[mlir] fix documentation includes
This commit is contained in:
parent
895b555378
commit
d8c18e422b
@ -28,6 +28,10 @@ This document describes the available MLIR passes and their contracts.
|
||||
|
||||
[include "ArithPasses.md"]
|
||||
|
||||
## 'arm\_sme' Dialect Passes
|
||||
|
||||
[include "ArmSMEPasses.md"]
|
||||
|
||||
## 'async' Dialect Passes
|
||||
|
||||
[include "AsyncPasses.md"]
|
||||
|
@ -325,3 +325,7 @@ transform.sequence failures(propagate) {
|
||||
transform.yield
|
||||
}
|
||||
```
|
||||
|
||||
## Appendix: Autogenerated Documentation
|
||||
|
||||
[include "MyExtensionCh2.md"]
|
||||
|
@ -280,4 +280,7 @@ def CallToOp : Op<Transform_Dialect, "my.call_to_op",
|
||||
}
|
||||
```
|
||||
|
||||
## Appendix: Autogenerated Documentation
|
||||
|
||||
[include "MyExtensionCh3.md"]
|
||||
|
||||
|
@ -15,7 +15,7 @@ demonstration of three use scenarios:
|
||||
code to work with the transform dialect infrastructure.
|
||||
- Setting up and using the transform dialect infrastructure in a downstream
|
||||
out-of-tree project with custom dialects, transformations and passes.
|
||||
|
||||
|
||||
After following the tutorial, one will be able to apply the transform dialect in
|
||||
their work and extend it when necessary. Basic familiarity with MLIR is a
|
||||
prerequisite. See [Toy tutorial](../Toy) for introduction to MLIR.
|
||||
|
@ -8,5 +8,6 @@ mlir_tablegen(MyExtension.cpp.inc -gen-op-defs)
|
||||
# Add a CMakeTarget we can depend on to ensure the generation happens before the compilation.
|
||||
add_public_tablegen_target(MyExtensionCh2IncGen)
|
||||
|
||||
# Don't forget to generate the documentation, this will produce a MyExtension.md under Dialects.
|
||||
add_mlir_doc(MyExtension MyExtensionCh2 Dialects/ -gen-op-doc)
|
||||
# Don't forget to generate the documentation, this will produce a
|
||||
# MyExtensionCh2.md under Tutorials/transform
|
||||
add_mlir_doc(MyExtension MyExtensionCh2 Tutorials/transform/ -gen-op-doc)
|
||||
|
@ -15,5 +15,6 @@ mlir_tablegen(MyExtensionTypes.cpp.inc -gen-typedef-defs)
|
||||
# Add a CMakeTarget we can depend on to ensure the generation happens before the compilation.
|
||||
add_public_tablegen_target(MyExtensionCh3IncGen)
|
||||
|
||||
# Don't forget to generate the documentation, this will produce a MyExtension.md under Dialects.
|
||||
add_mlir_doc(MyExtension MyExtensionCh3 Dialects/ -gen-op-doc)
|
||||
# Don't forget to generate the documentation, this will produce a
|
||||
# MyExtensionCh3.md under Tutorials/transform
|
||||
add_mlir_doc(MyExtension MyExtensionCh3 Tutorials/transform/ -gen-op-doc)
|
||||
|
Loading…
Reference in New Issue
Block a user