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

Public Types

using KeyTy = std::tuple< CPURole, StringAttr >
 

Public Member Functions

 CPUDescAttrStorage (CPURole role, StringAttr target_triple)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

CPURole role
 
StringAttr target_triple
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::CPUDescAttrStorage::KeyTy = std::tuple<CPURole, StringAttr>

Constructor & Destructor Documentation

◆ CPUDescAttrStorage()

mlir::tt::detail::CPUDescAttrStorage::CPUDescAttrStorage ( CPURole  role,
StringAttr  target_triple 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ role

CPURole mlir::tt::detail::CPUDescAttrStorage::role

◆ target_triple

StringAttr mlir::tt::detail::CPUDescAttrStorage::target_triple

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