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

Public Types

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

Public Member Functions

 MeshAttrStorage (StringAttr name, ::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 MeshAttrStorageconstruct (::mlir::AttributeStorageAllocator &allocator, KeyTy &&tblgenKey)
 

Public Attributes

StringAttr name
 
::llvm::ArrayRef< int64_t > shape
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::MeshAttrStorage::KeyTy = std::tuple<StringAttr, ::llvm::ArrayRef<int64_t> >

Constructor & Destructor Documentation

◆ MeshAttrStorage()

mlir::tt::detail::MeshAttrStorage::MeshAttrStorage ( StringAttr  name,
::llvm::ArrayRef< int64_t >  shape 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ name

StringAttr mlir::tt::detail::MeshAttrStorage::name

◆ shape

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

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