mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 11:23:58 +00:00
0f827ee036
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 |
||
---|---|---|
.. | ||
Bindings | ||
DefiningDialects | ||
Dialects | ||
includes/img | ||
Rationale | ||
Tools | ||
Tutorials | ||
BufferDeallocationInternals.md | ||
Bufferization.md | ||
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 | ||
PDLL.md | ||
Quantization.md | ||
README.txt | ||
ShapeInference.md | ||
SPIRVToLLVMDialectConversion.md | ||
SymbolsAndSymbolTables.md | ||
TargetLLVMIR.md | ||
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.