Abstract the internal storage of the NamedAttributeList into a new attribute...
authorRiver Riddle <riverriddle@google.com>
Fri, 31 May 2019 16:24:48 +0000 (09:24 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:12:01 +0000 (20:12 -0700)
commit94541563dcaa4674d002ecb65b1cddfb2bd5ed22
tree7aa80f4ffc8f3bfd59ed995b6cef07099f5ec85e
parent9c430353ae31beabe37a7d8676e82dcf779a2ed1
Abstract the internal storage of the NamedAttributeList into a new attribute, DictionaryAttr. This attribute maintains a sorted list of NamedAttributes. This will allow for operations/functions to maintain sub dictionaries of attributes.

    The syntax is the same as top level attribute dictionaries:
       {sub_dictionary: {fn: @someFn, boolAttr: true}}

--

PiperOrigin-RevId: 250898950
mlir/g3doc/LangRef.md
mlir/include/mlir/IR/Attributes.h
mlir/include/mlir/IR/Builders.h
mlir/lib/IR/AsmPrinter.cpp
mlir/lib/IR/AttributeDetail.h
mlir/lib/IR/Attributes.cpp
mlir/lib/IR/Builders.cpp
mlir/lib/IR/MLIRContext.cpp
mlir/lib/Parser/Parser.cpp
mlir/test/IR/parser.mlir