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

Public Types

using KeyTy = std::tuple< int64_t, int64_t >
 

Public Member Functions

 MeshShapeAttrStorage (int64_t y, int64_t x)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

int64_t y
 
int64_t x
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::ttnn::detail::MeshShapeAttrStorage::KeyTy = std::tuple<int64_t, int64_t>

Constructor & Destructor Documentation

◆ MeshShapeAttrStorage()

mlir::tt::ttnn::detail::MeshShapeAttrStorage::MeshShapeAttrStorage ( int64_t  y,
int64_t  x 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ x

int64_t mlir::tt::ttnn::detail::MeshShapeAttrStorage::x

◆ y

int64_t mlir::tt::ttnn::detail::MeshShapeAttrStorage::y

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