Searched defs:BoxTypeStorage (Results 1 – 1 of 1) sorted by relevance
544 struct BoxTypeStorage : public mlir::TypeStorage { struct545 using KeyTy = std::tuple<mlir::Type, mlir::AffineMapAttr>;547 static unsigned hashKey(const KeyTy &key) { in hashKey()553 bool operator==(const KeyTy &key) const { in operator ==()558 static BoxTypeStorage *construct(mlir::TypeStorageAllocator &allocator, in construct()565 mlir::Type getElementType() const { return eleTy; } in getElementType()566 mlir::AffineMapAttr getLayoutMap() const { return map; } in getLayoutMap()569 mlir::Type eleTy;570 mlir::AffineMapAttr map;574 explicit BoxTypeStorage(mlir::Type eleTy, mlir::AffineMapAttr map) in BoxTypeStorage() function