Searched defs:TypeDescTypeStorage (Results 1 – 1 of 1) sorted by relevance
794 struct TypeDescTypeStorage : public mlir::TypeStorage { struct795 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