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

Public Types

using KeyTy = std::tuple< SymbolRefAttr, CoreRangeAttr, KernelArgsAttr, NocIndex >
 

Public Member Functions

 NocConfigAttrStorage (SymbolRefAttr kernel_symbol, CoreRangeAttr core_range, KernelArgsAttr kernel_args, NocIndex noc_index)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

SymbolRefAttr kernel_symbol
 
CoreRangeAttr core_range
 
KernelArgsAttr kernel_args
 
NocIndex noc_index
 

Member Typedef Documentation

◆ KeyTy

Constructor & Destructor Documentation

◆ NocConfigAttrStorage()

mlir::tt::ttmetal::detail::NocConfigAttrStorage::NocConfigAttrStorage ( SymbolRefAttr  kernel_symbol,
CoreRangeAttr  core_range,
KernelArgsAttr  kernel_args,
NocIndex  noc_index 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

KeyTy mlir::tt::ttmetal::detail::NocConfigAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ core_range

CoreRangeAttr mlir::tt::ttmetal::detail::NocConfigAttrStorage::core_range

◆ kernel_args

KernelArgsAttr mlir::tt::ttmetal::detail::NocConfigAttrStorage::kernel_args

◆ kernel_symbol

SymbolRefAttr mlir::tt::ttmetal::detail::NocConfigAttrStorage::kernel_symbol

◆ noc_index

NocIndex mlir::tt::ttmetal::detail::NocConfigAttrStorage::noc_index

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