llvm-project/mlir/lib/CAPI/IR
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
..
AffineExpr.cpp [mlir][CAPI] Convert the rest of the API int -> bool. 2020-11-29 20:36:42 -08:00
AffineMap.cpp [mlir][CAPI] Convert the rest of the API int -> bool. 2020-11-29 20:36:42 -08:00
BuiltinAttributes.cpp Store a MlirIdentifier instead of a MlirStringRef in MlirNameAttribute 2020-12-11 22:38:48 +00:00
BuiltinTypes.cpp [mlir][IR][NFC] Move context/location parameters of builtin Type::get methods to the start of the parameter list 2020-12-17 13:01:36 -08:00
CMakeLists.txt [mlir][Attributes][NFC] Move all builtin Attribute classes to BuiltinAttributes.h 2020-12-03 18:02:11 -08:00
Diagnostics.cpp Add userData to the diagnostic handler C API 2020-11-23 09:52:45 -08:00
IR.cpp [mlir] Remove the MutableDictionaryAttr class 2020-12-17 17:18:42 -08:00
Pass.cpp Switch from C-style comments `/* ... */` to C++ style `//` (NFC) 2020-11-04 18:11:13 +00:00
Support.cpp [mlir] Model StringRef in C API 2020-09-16 16:04:36 +02:00