Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp496 struct CplxTypeStorage : public mlir::TypeStorage { struct
497 using KeyTy = KindTy;
499 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey()
501 bool operator==(const KeyTy &key) const { return key == getFKind(); } in operator ==()
503 static CplxTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()
509 KindTy getFKind() const { return kind; } in getFKind()
512 KindTy kind;
516 explicit CplxTypeStorage(KindTy kind) : kind{kind} {} in CplxTypeStorage() function