llvm-capstone/mlir/unittests/IR
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
..
AdaptorTest.cpp
AttributeTest.cpp Improve MLIR Attribute::get() method efficiency by reducing the amount of argument copies (#68067) 2023-10-03 18:07:46 -07:00
CMakeLists.txt [mlir] Expose type and attribute names in the MLIRContext and abstract type/attr classes (#72189) 2023-12-01 00:39:34 +01:00
DialectTest.cpp [mlir] Fix crash when adding nested dialect extensions 2023-08-26 10:01:18 +02:00
InterfaceAttachmentTest.cpp [mlir] Extend the promise interface mechanism 2023-09-05 09:55:27 -04:00
InterfaceTest.cpp [mlir] Support null interface to base conversion (#65988) 2023-09-12 08:42:47 +02:00
IRMapping.cpp
OperationSupportTest.cpp Update some uses of getAttr() to be explicit about Inherent vs Discardable (NFC) 2023-09-12 01:33:47 -07:00
OpPropertiesTest.cpp Simplify diagnostic error management for MLIR properties API (NFC) (#67409) 2023-09-26 11:44:37 -07:00
PatternMatchTest.cpp
ShapedTypeTest.cpp [mlir] Fix use-after-free bugs in {RankedTensorType|VectorType}::Builder (#68969) 2023-10-18 14:52:22 +01:00
SymbolTableTest.cpp [mlir] Make overloads of SymbolTable::replaceAllSymbolUses consistent. (#68320) 2023-10-10 07:47:08 +02:00
TypeAttrNamesTest.cpp [mlir] Expose type and attribute names in the MLIRContext and abstract type/attr classes (#72189) 2023-12-01 00:39:34 +01:00
TypeTest.cpp [mlir] Expose type and attribute names in the MLIRContext and abstract type/attr classes (#72189) 2023-12-01 00:39:34 +01:00