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

Public Types

using KeyTy = std::tuple< unsigned, unsigned, unsigned, unsigned >
 

Public Member Functions

 ChipCoordAttrStorage (unsigned rack, unsigned shelf, unsigned y, unsigned x)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

unsigned rack
 
unsigned shelf
 
unsigned y
 
unsigned x
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::ChipCoordAttrStorage::KeyTy = std::tuple<unsigned, unsigned, unsigned, unsigned>

Constructor & Destructor Documentation

◆ ChipCoordAttrStorage()

mlir::tt::detail::ChipCoordAttrStorage::ChipCoordAttrStorage ( unsigned  rack,
unsigned  shelf,
unsigned  y,
unsigned  x 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ rack

unsigned mlir::tt::detail::ChipCoordAttrStorage::rack

◆ shelf

unsigned mlir::tt::detail::ChipCoordAttrStorage::shelf

◆ x

unsigned mlir::tt::detail::ChipCoordAttrStorage::x

◆ y

unsigned mlir::tt::detail::ChipCoordAttrStorage::y

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