Add op gen tool to generate C++ classes for Operations.
authorJacques Pienaar <jpienaar@google.com>
Mon, 15 Oct 2018 15:54:37 +0000 (08:54 -0700)
committerjpienaar <jpienaar@google.com>
Fri, 29 Mar 2019 20:30:35 +0000 (13:30 -0700)
commitf37a9909a12373f82d2ec417b362be19dd299345
treed92ce6f09df6dbd0a3baf4086dbecb419a1911db
parentd8917d80a8f7d63871081cbb643db5ef44a458eb
Add op gen tool to generate C++ classes for Operations.

Create tblgen based tool to generate the C++ Op definitions. The modelling is
currently simple (ops, attributes, properties) with the printer/parser/verifier
the bodies of those functions and builders being very explicit.

PiperOrigin-RevId: 217150213
mlir/tools/mlir-op-gen/mlir-op-gen.cpp [new file with mode: 0644]