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

Public Types

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

Public Member Functions

 ShapeAttrStorage (::llvm::ArrayRef< int64_t > shape)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

::llvm::ArrayRef< int64_t > shape
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::ttnn::detail::ShapeAttrStorage::KeyTy = std::tuple<::llvm::ArrayRef<int64_t> >

Constructor & Destructor Documentation

◆ ShapeAttrStorage()

mlir::tt::ttnn::detail::ShapeAttrStorage::ShapeAttrStorage ( ::llvm::ArrayRef< int64_t >  shape)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ shape

::llvm::ArrayRef<int64_t> mlir::tt::ttnn::detail::ShapeAttrStorage::shape

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