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

Public Types

using KeyTy = std::tuple< ThreadType, SymbolRefAttr >
 

Public Member Functions

 ThreadAttrStorage (ThreadType threadType, SymbolRefAttr kernelSymbol)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

ThreadType threadType
 
SymbolRefAttr kernelSymbol
 

Member Typedef Documentation

◆ KeyTy

Constructor & Destructor Documentation

◆ ThreadAttrStorage()

mlir::tt::ttir::detail::ThreadAttrStorage::ThreadAttrStorage ( ThreadType  threadType,
SymbolRefAttr  kernelSymbol 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

KeyTy mlir::tt::ttir::detail::ThreadAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ kernelSymbol

SymbolRefAttr mlir::tt::ttir::detail::ThreadAttrStorage::kernelSymbol

◆ threadType

ThreadType mlir::tt::ttir::detail::ThreadAttrStorage::threadType

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