llvm-capstone/mlir/unittests/Interfaces
Fehr Mathieu 3dbac2c007
[mlir] Expose type and attribute names in the MLIRContext and abstract type/attr classes (#72189)
This patch expose the type and attribute names in C++ as methods in the
`AbstractType` and `AbstractAttribute` classes, and keep a map of names
to `AbstractType` and `AbstractAttribute` in the `MLIRContext`. Type and
attribute names should be unique.

It adds support in ODS to generate the `getName` methods in
`AbstractType` and `AbstractAttribute`, through the use of two new
variables, `typeName` and `attrName`. It also adds names to C++-defined
type and attributes.
2023-12-01 00:39:34 +01:00
..
CMakeLists.txt [mlir] Add support for "promised" interfaces 2023-06-09 11:30:13 -07:00
ControlFlowInterfacesTest.cpp Reland "[mlir] Use a type for representing branch points in RegionBranchOpInterface" 2023-08-30 09:31:54 +02:00
DataLayoutInterfacesTest.cpp [mlir] Expose type and attribute names in the MLIRContext and abstract type/attr classes (#72189) 2023-12-01 00:39:34 +01:00
InferIntRangeInterfaceTest.cpp
InferTypeOpInterfaceTest.cpp Revert "Revert "Refactor OperationName to use virtual tables for dispatch (NFC)"" 2023-01-16 23:58:48 +00:00