TT-MLIR
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::tt::detail::GridAttrStorage Struct Reference
Inheritance diagram for mlir::tt::detail::GridAttrStorage:

Public Types

using KeyTy = std::tuple<::llvm::ArrayRef< int64_t >, AffineMap >
 

Public Member Functions

 GridAttrStorage (::llvm::ArrayRef< int64_t > shape, AffineMap mapping)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

::llvm::hash_code hashKey (const KeyTy &tblgenKey)
 
static GridAttrStorageconstruct (::mlir::AttributeStorageAllocator &allocator, KeyTy &&tblgenKey)
 

Public Attributes

::llvm::ArrayRef< int64_t > shape
 
AffineMap mapping
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::GridAttrStorage::KeyTy = std::tuple<::llvm::ArrayRef<int64_t>, AffineMap>

Constructor & Destructor Documentation

◆ GridAttrStorage()

mlir::tt::detail::GridAttrStorage::GridAttrStorage ( ::llvm::ArrayRef< int64_t >  shape,
AffineMap  mapping 
)
inline

Member Function Documentation

◆ construct()

static GridAttrStorage* mlir::tt::detail::GridAttrStorage::construct ( ::mlir::AttributeStorageAllocator &  allocator,
KeyTy &&  tblgenKey 
)
inlinestatic

◆ getAsKey()

KeyTy mlir::tt::detail::GridAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

::llvm::hash_code mlir::tt::detail::GridAttrStorage::hashKey ( const KeyTy tblgenKey)
inlinestatic

◆ operator==()

bool mlir::tt::detail::GridAttrStorage::operator== ( const KeyTy tblgenKey) const
inline

Member Data Documentation

◆ mapping

AffineMap mlir::tt::detail::GridAttrStorage::mapping

◆ shape

::llvm::ArrayRef<int64_t> mlir::tt::detail::GridAttrStorage::shape

The documentation for this struct was generated from the following file: