Searched defs:DimsTypeStorage (Results 1 – 1 of 1) sorted by relevance
386 struct DimsTypeStorage : public mlir::TypeStorage { struct387 using KeyTy = unsigned;389 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey()391 bool operator==(const KeyTy &key) const { return key == getRank(); } in operator ==()393 static DimsTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()399 unsigned getRank() const { return rank; } in getRank()402 unsigned rank;406 explicit DimsTypeStorage(unsigned rank) : rank{rank} {} in DimsTypeStorage() function