mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +00:00
Fix `SymbolTable::get/setSymbolVisibility`. These functions used to read/write the hard-coded `sym_visibility` attribute, even though the op may store visibility in a different way. The new implementations dispatch to `SymbolOpInterface::get/setVisibility`. No change in functionality for the interface methods: Their default implementations still read/write `sym_visibility`. (That may change in a follow-up commit.) This commit just aligns the `SymbolTable::get/setSymbolVisibility` API with the op interface. Also turn `SymbolOpInterface::isNested/setNested/...` into non-overridable helper functions. Users should implement `SymbolOpInterface::get/setVisibility` instead. Assisted-by: Opus 5 High |
||
|---|---|---|
| .. | ||
| Bindings | ||
| DefiningDialects | ||
| Dialects | ||
| includes/img | ||
| Rationale | ||
| Tools | ||
| Traits | ||
| Tutorials | ||
| ActionTracing.md | ||
| Bufferization.md | ||
| BytecodeFormat.md | ||
| Canonicalization.md | ||
| CAPI.md | ||
| CMakeLists.txt | ||
| DataLayout.md | ||
| DeclarativeRewrites.md | ||
| Diagnostics.md | ||
| DialectConversion.md | ||
| doxygen-mainpage.dox | ||
| doxygen.cfg.in | ||
| Interfaces.md | ||
| LangRef.md | ||
| OwnershipBasedBufferDeallocation.md | ||
| Passes.md | ||
| PassManagement.md | ||
| PatternRewriter.md | ||
| PDLL.md | ||
| Quantization.md | ||
| README.txt | ||
| ReleaseNotes.md | ||
| Remarks.md | ||
| ShapeInference.md | ||
| SPIRVToLLVMDialectConversion.md | ||
| SymbolsAndSymbolTables.md | ||
| TargetLLVMIR.md | ||
| Tokens.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.