Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp794 struct TypeDescTypeStorage : public mlir::TypeStorage { struct
795 using KeyTy = mlir::Type;
797 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey()
799 bool operator==(const KeyTy &key) const { return key == getOfType(); } in operator ==()
801 static TypeDescTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()
809 mlir::Type getOfType() const { return ofTy; } in getOfType()
812 mlir::Type ofTy;
816 explicit TypeDescTypeStorage(mlir::Type ofTy) : ofTy{ofTy} {} in TypeDescTypeStorage() argument