[mlir] Add derived attribute op interface
authorJacques Pienaar <jpienaar@google.com>
Wed, 11 Mar 2020 23:14:54 +0000 (16:14 -0700)
committerJacques Pienaar <jpienaar@google.com>
Thu, 12 Mar 2020 17:32:24 +0000 (10:32 -0700)
commit36e018b94111b90797489050aa8edc004781a1b5
treeca9be65a68192f87b05bb1022ee89ed4729b9f9e
parentbc9b6b33a0d5760370e72ae06c520c25aa8d61c6
[mlir] Add derived attribute op interface

Interface provides uniform access to the the derived attribute query method.
mlir/include/mlir/Interfaces/CMakeLists.txt
mlir/include/mlir/Interfaces/DerivedAttributeOpInterface.h [new file with mode: 0644]
mlir/include/mlir/Interfaces/DerivedAttributeOpInterface.td [new file with mode: 0644]
mlir/lib/Interfaces/CMakeLists.txt
mlir/lib/Interfaces/DerivedAttributeOpInterface.cpp [new file with mode: 0644]