Home
last modified time | relevance | path

Searched defs:TypeAttributeStorage (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRAttr.cpp52 struct TypeAttributeStorage : public mlir::AttributeStorage { struct
53 using KeyTy = mlir::Type;
55 TypeAttributeStorage(mlir::Type value) : value(value) { in TypeAttributeStorage() argument
60 bool operator==(const KeyTy &key) const { return key == value; } in operator ==()
64 construct(mlir::AttributeStorageAllocator &allocator, KeyTy key) { in construct()
69 mlir::Type getType() const { return value; } in getType()
72 mlir::Type value;
/external/llvm-project/mlir/lib/IR/
DAttributeDetail.h329 struct TypeAttributeStorage : public AttributeStorage { struct
332 TypeAttributeStorage(Type value) : value(value) {} in TypeAttributeStorage() argument
338 static TypeAttributeStorage *construct(AttributeStorageAllocator &allocator, in construct() argument
344 Type value;