llvm-project/mlir/docs
Chia-hung Duan 9445b39673 [mlir] Support verification order (2/3)
This change gives explicit order of verifier execution and adds
    `hasRegionVerifier` and `verifyWithRegions` to increase the granularity
    of verifier classification. The orders are as below,

    1. InternalOpTrait will be verified first, they can be run independently.
    2. `verifyInvariants` which is constructed by ODS, it verifies the type,
       attributes, .etc.
    3. Other Traits/Interfaces that have marked their verifier as
       `verifyTrait` or `verifyWithRegions=0`.
    4. Custom verifier which is defined in the op and has marked
       `hasVerifier=1`

    If an operation has regions, then it may have the second phase,

    5. Traits/Interfaces that have marked their verifier as
       `verifyRegionTrait` or
       `verifyWithRegions=1`. This implies the verifier needs to access the
       operations in its regions.
    6. Custom verifier which is defined in the op and has marked
       `hasRegionVerifier=1`

    Note that the second phase will be run after the operations in the
    region are verified. Based on the verification order, you will be able to
    avoid verifying duplicate things.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D116789
2022-02-25 19:04:56 +00:00
..
Bindings [mlir] Document creation of Python bindings for a dialect 2022-02-24 14:18:56 +01:00
Dialects [mlir][OpDSL] Split arithmetic functions. 2022-02-25 15:27:42 +00:00
Rationale [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Tools [mlir][docs] Fix obvious spelling mistakes in documentation 2021-10-29 09:19:11 +02:00
Tutorials [mlir][ods] Default-valued parameters in attribute or type defs 2022-02-15 19:02:11 +00:00
includes/img [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
BufferDeallocationInternals.md [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Bufferization.md [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
CAPI.md [mlir] support interfaces in Python bindings 2021-10-25 12:50:42 +02:00
CMakeLists.txt Remove CMake configuration for Sphinx targets in MLIR 2020-03-12 01:28:38 +00:00
Canonicalization.md Clarify that fold() can't "erase" an operation in the MLIR Canonicalization doc (NFC) 2022-01-13 18:43:18 +00:00
DataLayout.md [mlir][NFC] Replace references to Identifier with StringAttr 2021-11-16 17:36:26 +00:00
DebugActions.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02:00
DeclarativeRewrites.md [mlir-tblgen] Support `either` in Tablegen DRR. 2021-11-08 23:16:03 +00:00
Diagnostics.md [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
DialectConversion.md [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Interfaces.md [mlir] Add isa/dyn_cast support for dialect interfaces 2022-01-31 19:24:34 -08:00
LangRef.md [MLIR] add entry block to MLIR grammar. 2022-02-17 15:40:43 +05:30
OpDefinitions.md [mlir] Support verification order (2/3) 2022-02-25 19:04:56 +00:00
PassManagement.md Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
Passes.md [mlir][doc] Add passes docs to Passes.md 2022-02-16 15:42:20 -08:00
PatternRewriter.md [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Quantization.md Fix invalid math formulas in quantization doc 2021-06-01 03:50:59 +00:00
README.txt [mlir] Add short readme.txt to docs directory 2020-02-18 08:35:22 -08:00
SPIRVToLLVMDialectConversion.md [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
ShapeInference.md [mlir][docs] Fix obvious spelling mistakes in documentation 2021-10-29 09:19:11 +02:00
SymbolsAndSymbolTables.md [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
TargetLLVMIR.md [mlir][docs] Fix obvious spelling mistakes in documentation 2021-10-29 09:19:11 +02:00
Traits.md [mlir] Support verification order (2/3) 2022-02-25 19:04:56 +00:00
doxygen-mainpage.dox [mlir] Bootstrap doxygen config 2020-01-25 09:31:59 -08:00
doxygen.cfg.in [NFC] Inclusive Language: change master to main for .chm files 2021-11-08 08:23:04 -06:00

README.txt

MLIR documentation
==================

Please note mlir.llvm.org is where MLIR's rendered documentation is displayed.
The viewing experience on GitHub or elsewhere may not match those of the
website. For any changes please verify instead that they work on the main
website first.

See https://github.com/llvm/mlir-www for the website generation information.