Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp520 struct RealTypeStorage : public mlir::TypeStorage { struct
521 using KeyTy = KindTy;
523 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey()
525 bool operator==(const KeyTy &key) const { return key == getFKind(); } in operator ==()
527 static RealTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()
533 KindTy getFKind() const { return kind; } in getFKind()
536 KindTy kind;
540 explicit RealTypeStorage(KindTy kind) : kind{kind} {} in RealTypeStorage() function