Searched defs:HeapTypeStorage (Results 1 – 1 of 1) sorted by relevance
683 struct HeapTypeStorage : public mlir::TypeStorage { struct684 using KeyTy = mlir::Type;686 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey()688 bool operator==(const KeyTy &key) const { return key == getElementType(); } in operator ==()690 static HeapTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()697 mlir::Type getElementType() const { return eleTy; } in getElementType()700 mlir::Type eleTy;704 explicit HeapTypeStorage(mlir::Type eleTy) : eleTy{eleTy} {} in HeapTypeStorage() function