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

Public Types

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

Public Member Functions

 ChipChannelAttrStorage (unsigned deviceId0, ::llvm::ArrayRef< int64_t > ethernetCoreCoord0, unsigned deviceId1, ::llvm::ArrayRef< int64_t > ethernetCoreCoord1)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

unsigned deviceId0
 
::llvm::ArrayRef< int64_t > ethernetCoreCoord0
 
unsigned deviceId1
 
::llvm::ArrayRef< int64_t > ethernetCoreCoord1
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::ChipChannelAttrStorage::KeyTy = std::tuple<unsigned, ::llvm::ArrayRef<int64_t>, unsigned, ::llvm::ArrayRef<int64_t> >

Constructor & Destructor Documentation

◆ ChipChannelAttrStorage()

mlir::tt::detail::ChipChannelAttrStorage::ChipChannelAttrStorage ( unsigned  deviceId0,
::llvm::ArrayRef< int64_t >  ethernetCoreCoord0,
unsigned  deviceId1,
::llvm::ArrayRef< int64_t >  ethernetCoreCoord1 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ deviceId0

unsigned mlir::tt::detail::ChipChannelAttrStorage::deviceId0

◆ deviceId1

unsigned mlir::tt::detail::ChipChannelAttrStorage::deviceId1

◆ ethernetCoreCoord0

::llvm::ArrayRef<int64_t> mlir::tt::detail::ChipChannelAttrStorage::ethernetCoreCoord0

◆ ethernetCoreCoord1

::llvm::ArrayRef<int64_t> mlir::tt::detail::ChipChannelAttrStorage::ethernetCoreCoord1

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