Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp448 struct LogicalTypeStorage : public mlir::TypeStorage { struct
449 using KeyTy = KindTy;
451 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey()
453 bool operator==(const KeyTy &key) const { return key == getFKind(); } in operator ==()
455 static LogicalTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()
461 KindTy getFKind() const { return kind; } in getFKind()
464 KindTy kind;
468 explicit LogicalTypeStorage(KindTy kind) : kind{kind} {} in LogicalTypeStorage() argument