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

Public Types

using KeyTy = std::tuple<::llvm::ArrayRef< ChipDescAttr >, ::llvm::ArrayRef< unsigned >, ::llvm::ArrayRef< ChipCapabilityAttr >, ::llvm::ArrayRef< ChipCoordAttr >, ::llvm::ArrayRef< ChipChannelAttr > >
 

Public Member Functions

 SystemDescAttrStorage (::llvm::ArrayRef< ChipDescAttr > chipDescs, ::llvm::ArrayRef< unsigned > chipDescIndices, ::llvm::ArrayRef< ChipCapabilityAttr > chipCapabilities, ::llvm::ArrayRef< ChipCoordAttr > chipCoords, ::llvm::ArrayRef< ChipChannelAttr > chipChannels)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

::llvm::ArrayRef< ChipDescAttrchipDescs
 
::llvm::ArrayRef< unsigned > chipDescIndices
 
::llvm::ArrayRef< ChipCapabilityAttrchipCapabilities
 
::llvm::ArrayRef< ChipCoordAttrchipCoords
 
::llvm::ArrayRef< ChipChannelAttrchipChannels
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::SystemDescAttrStorage::KeyTy = std::tuple<::llvm::ArrayRef<ChipDescAttr>, ::llvm::ArrayRef<unsigned>, ::llvm::ArrayRef<ChipCapabilityAttr>, ::llvm::ArrayRef<ChipCoordAttr>, ::llvm::ArrayRef<ChipChannelAttr> >

Constructor & Destructor Documentation

◆ SystemDescAttrStorage()

mlir::tt::detail::SystemDescAttrStorage::SystemDescAttrStorage ( ::llvm::ArrayRef< ChipDescAttr chipDescs,
::llvm::ArrayRef< unsigned >  chipDescIndices,
::llvm::ArrayRef< ChipCapabilityAttr chipCapabilities,
::llvm::ArrayRef< ChipCoordAttr chipCoords,
::llvm::ArrayRef< ChipChannelAttr chipChannels 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ chipCapabilities

::llvm::ArrayRef<ChipCapabilityAttr> mlir::tt::detail::SystemDescAttrStorage::chipCapabilities

◆ chipChannels

::llvm::ArrayRef<ChipChannelAttr> mlir::tt::detail::SystemDescAttrStorage::chipChannels

◆ chipCoords

::llvm::ArrayRef<ChipCoordAttr> mlir::tt::detail::SystemDescAttrStorage::chipCoords

◆ chipDescIndices

::llvm::ArrayRef<unsigned> mlir::tt::detail::SystemDescAttrStorage::chipDescIndices

◆ chipDescs

::llvm::ArrayRef<ChipDescAttr> mlir::tt::detail::SystemDescAttrStorage::chipDescs

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