[mlir][ODS]: Add per-op cppNamespace.
authorSean Silva <silvasean@google.com>
Mon, 10 May 2021 21:30:22 +0000 (14:30 -0700)
committerSean Silva <silvasean@google.com>
Tue, 11 May 2021 17:48:05 +0000 (10:48 -0700)
commit49755871ad0c24ed970c0a4f2c51f90488b0ddd2
tree052346b0331316953803f40c0202be53c573ad14
parent68de58cd649cb3a3e94a1c9552ebf2a18bb9d040
[mlir][ODS]: Add per-op cppNamespace.

This is useful for dialects that have logical subparts.

Differential Revision: https://reviews.llvm.org/D102200
mlir/include/mlir/IR/OpBase.td
mlir/include/mlir/TableGen/CodeGenHelpers.h
mlir/include/mlir/TableGen/Operator.h
mlir/lib/TableGen/Operator.cpp
mlir/test/mlir-tblgen/dialect.td
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp