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

Public Types

using KeyTy = std::tuple< ShapeAttr >
 

Public Member Functions

 ShardSpecAttrStorage (ShapeAttr shardShape)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

ShapeAttr shardShape
 

Member Typedef Documentation

◆ KeyTy

Constructor & Destructor Documentation

◆ ShardSpecAttrStorage()

mlir::tt::ttnn::detail::ShardSpecAttrStorage::ShardSpecAttrStorage ( ShapeAttr  shardShape)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

KeyTy mlir::tt::ttnn::detail::ShardSpecAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ shardShape

ShapeAttr mlir::tt::ttnn::detail::ShardSpecAttrStorage::shardShape

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