[mlir] Add an 'cppNamespace' field to availability
authorLei Zhang <antiagainst@google.com>
Tue, 5 Oct 2021 13:32:35 +0000 (09:32 -0400)
committerLei Zhang <antiagainst@google.com>
Tue, 5 Oct 2021 13:38:09 +0000 (09:38 -0400)
commit83e074a0c652a668c8a5d572f8c77b58c8383ff0
treebea2dc7532e3e49eba8b2ffdec2f3410bd2d03ee
parentc483140f3ce28ea243d414dd0dee0c0f13c5b01c
[mlir] Add an 'cppNamespace' field to availability

This allows us to generate interfaces in a namespace,
following other TableGen'erated code.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D108311
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAvailability.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVOps.h
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp