llvm-capstone/mlir/docs
Markus Böck 0f827ee036 [mlir][ods] add mechanism for deprecating an OpBuilder in ODS
This allows discouraging the use of specific build methods of an op by having TableGen generate C++ code, instructing the C++ compiler to warn on use of the `build` method.
The implementation uses the C++14 `[[deprecated(...)]]`` for this purpose. I considered using `LLVM_DEPRECATED`, but thought requiring a fix-it was not necassery, nor would the syntax in ODS have been very nice.

My motivation for this change is that in the future I'd like to deprecate the use `build` methods in the LLVM Dialect, not using explicit pointer types for ops such as `llvm.load` or `llvm.alloca`, which makes the code not future proof for opaque pointers. In-tree has to be clean first before I could commit such a change of course, but I thought the initial infrastructure change could already be submitted.

Differential Revision: https://reviews.llvm.org/D143190
2023-02-07 16:49:45 +01:00
..
Bindings
DefiningDialects [mlir][ods] add mechanism for deprecating an OpBuilder in ODS 2023-02-07 16:49:45 +01:00
Dialects [mlir][NFC] Add omitted operations to Transform dialect's doc 2023-02-06 17:05:07 -08:00
includes/img
Rationale
Tools
Tutorials [mlir] Require explicit casts when using TypedValue 2023-02-01 21:54:53 -05:00
BufferDeallocationInternals.md
Bufferization.md [mlir][bufferization][NFC] Rename BufferRelation::None to BufferRelation::Unknown 2023-01-30 11:09:28 +01:00
BytecodeFormat.md
Canonicalization.md
CAPI.md
CMakeLists.txt
DataLayout.md
DebugActions.md
DeclarativeRewrites.md
Diagnostics.md
DialectConversion.md
doxygen-mainpage.dox
doxygen.cfg.in
Interfaces.md
LangRef.md
Passes.md
PassManagement.md
PatternRewriter.md [mlir][NFC] GreedyPatternRewriteDriver: Merge region-based and multi-op-based drivers 2023-01-27 17:32:00 +01:00
PDLL.md
Quantization.md
README.txt
ShapeInference.md
SPIRVToLLVMDialectConversion.md
SymbolsAndSymbolTables.md
TargetLLVMIR.md [mlir][Conversion] Rename the MemRefToLLVM pass 2023-01-27 09:10:10 +00:00
Traits.md

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.