llvm-project/mlir/lib/CAPI
River Riddle fc5cf50e89 [mlir] Remove the MutableDictionaryAttr class
This class used to serve a few useful purposes:
* Allowed containing a null DictionaryAttr
* Provided some simple mutable API around a DictionaryAttr

The first of which is no longer an issue now that there is much better caching support for attributes in general, and a cache in the context for empty dictionaries. The second results in more trouble than it's worth because it mutates the internal dictionary on every action, leading to a potentially large number of dictionary copies. NamedAttrList is a much better alternative for the second use case, and should be modified as needed to better fit it's usage as a DictionaryAttrBuilder.

Differential Revision: https://reviews.llvm.org/D93442
2020-12-17 17:18:42 -08:00
..
IR [mlir] Remove the MutableDictionaryAttr class 2020-12-17 17:18:42 -08:00
Registration [mlir][CAPI] Proposal: Always building a libMLIRPublicAPI.so (re-apply). 2020-11-08 16:57:51 -08:00
Standard [mlir][CAPI] Proposal: Always building a libMLIRPublicAPI.so (re-apply). 2020-11-08 16:57:51 -08:00
Transforms [mlir][CAPI] Proposal: Always building a libMLIRPublicAPI.so (re-apply). 2020-11-08 16:57:51 -08:00
CMakeLists.txt [mlir][CAPI] Proposal: Always building a libMLIRPublicAPI.so (re-apply). 2020-11-08 16:57:51 -08:00