mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
3dbac2c007
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. |
||
---|---|---|
.. | ||
AdaptorTest.cpp | ||
AttributeTest.cpp | ||
CMakeLists.txt | ||
DialectTest.cpp | ||
InterfaceAttachmentTest.cpp | ||
InterfaceTest.cpp | ||
IRMapping.cpp | ||
OperationSupportTest.cpp | ||
OpPropertiesTest.cpp | ||
PatternMatchTest.cpp | ||
ShapedTypeTest.cpp | ||
SymbolTableTest.cpp | ||
TypeAttrNamesTest.cpp | ||
TypeTest.cpp |