llvm-project/mlir/lib/IR
River Riddle 0c7890c844 [mlir] Convert NamedAttribute to be a class
NamedAttribute is currently represented as an std::pair, but this
creates an extremely clunky .first/.second API. This commit
converts it to a class, with better accessors (getName/getValue)
and also opens the door for more convenient API in the future.

Differential Revision: https://reviews.llvm.org/D113956
2021-11-18 05:39:29 +00:00
..
AffineExpr.cpp [MLIR] Simplify semi-affine expressions using flattening 2021-11-16 15:42:22 +05:30
AffineExprDetail.h [mlir] Remove the use of "kinds" from Attributes and Types 2020-08-18 16:20:14 -07:00
AffineMap.cpp [mlir][Linalg] Enable vectorization of explicit broadcasts 2021-10-12 21:08:22 +00:00
AffineMapDetail.h
AsmPrinter.cpp [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
AttributeDetail.h [mlir][NFC] Replace references to Identifier with StringAttr 2021-11-16 17:36:26 +00:00
Attributes.cpp [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
Block.cpp Use early exist and simplify a condition in Block SuccessorRange (NFC) 2021-06-16 19:42:41 +00:00
Builders.cpp [mlir][NFC] Replace references to Identifier with StringAttr 2021-11-16 17:36:26 +00:00
BuiltinAttributeInterfaces.cpp [mlir] Refactor ElementsAttr's value access API 2021-11-09 00:15:08 +00:00
BuiltinAttributes.cpp [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
BuiltinDialect.cpp [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
BuiltinTypes.cpp [mlir][Vector] First step for 0D vector type 2021-11-17 14:58:24 +00:00
CMakeLists.txt [mlir] Refactor ElementsAttr into an AttrInterface 2021-09-21 01:57:43 +00:00
Diagnostics.cpp [mlir] Replace usages of Identifier with StringAttr 2021-11-11 02:02:24 +00:00
Dialect.cpp [mlir][NFC] Replace references to Identifier with StringAttr 2021-11-16 17:36:26 +00:00
Dominance.cpp [Dominators] Rewrite the dominator implementation for efficiency. NFC. 2021-06-01 14:46:37 -07:00
FunctionImplementation.cpp Change ASM Op printer to print the operation name in the framework instead of leaving it up to each individual operation 2021-08-31 17:52:40 +00:00
FunctionSupport.cpp Fix `insertFunctionArguments()` block argument order. 2021-11-05 10:08:20 +01:00
IntegerSet.cpp [MLIR][NFC] drop some unnecessary includes 2020-03-27 09:17:27 +05:30
IntegerSetDetail.h
Location.cpp [mlir][NFC] Replace references to Identifier with StringAttr 2021-11-16 17:36:26 +00:00
MLIRContext.cpp [mlir] Refactor AbstractOperation and OperationName 2021-11-17 22:29:57 +00:00
Operation.cpp [mlir] Refactor AbstractOperation and OperationName 2021-11-17 22:29:57 +00:00
OperationSupport.cpp [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
PatternMatch.cpp [mlir][Pattern] Add better support for using interfaces/traits to match root operations in rewrite patterns 2021-03-23 14:05:33 -07:00
Region.cpp [mlir][NFC] Move several small methods from .cpp to .h to allow more aggressive inlining 2021-06-23 00:52:26 +00:00
RegionKindInterface.cpp [MLIR] Add RegionKindInterface 2020-07-15 14:27:05 -07:00
SubElementInterfaces.cpp [mlir] Add new SubElementAttr/SubElementType Interfaces 2021-06-10 17:23:07 -07:00
SymbolTable.cpp [mlir][NFC] Replace references to Identifier with StringAttr 2021-11-16 17:36:26 +00:00
TensorEncoding.cpp [mlir][tensors] Introduce attribute interface/attribute for tensor encoding 2021-04-26 18:31:54 -07:00
TypeDetail.h [mlir][NFC] Replace references to Identifier with StringAttr 2021-11-16 17:36:26 +00:00
TypeRange.cpp [mlir][IR] Refactor the internal implementation of Value 2021-03-03 14:33:37 -08:00
TypeUtilities.cpp [mlir] Optimize usage of llvm::mapped_iterator 2021-11-11 03:26:29 +00:00
Types.cpp [mlir][NFC] Move several small methods from .cpp to .h to allow more aggressive inlining 2021-06-23 00:52:26 +00:00
Value.cpp [mlir][NFC] Split the non-templated bits out of IROperand into a base class 2021-06-02 12:48:37 -07:00
Verifier.cpp [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
Visitors.cpp [mlir] Add 'Skip' result to Operation visitor 2021-03-06 00:02:20 +02:00