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

Public Types

using KeyTy = std::tuple< AffineMap, GridAttr, MemRefType, TensorMemoryLayout >
 

Public Member Functions

 TTNNLayoutAttrStorage (AffineMap linear, GridAttr grid, MemRefType memref, TensorMemoryLayout mem_layout)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

AffineMap linear
 
GridAttr grid
 
MemRefType memref
 
TensorMemoryLayout mem_layout
 

Member Typedef Documentation

◆ KeyTy

Constructor & Destructor Documentation

◆ TTNNLayoutAttrStorage()

mlir::tt::ttnn::detail::TTNNLayoutAttrStorage::TTNNLayoutAttrStorage ( AffineMap  linear,
GridAttr  grid,
MemRefType  memref,
TensorMemoryLayout  mem_layout 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

KeyTy mlir::tt::ttnn::detail::TTNNLayoutAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ grid

GridAttr mlir::tt::ttnn::detail::TTNNLayoutAttrStorage::grid

◆ linear

AffineMap mlir::tt::ttnn::detail::TTNNLayoutAttrStorage::linear

◆ mem_layout

TensorMemoryLayout mlir::tt::ttnn::detail::TTNNLayoutAttrStorage::mem_layout

◆ memref

MemRefType mlir::tt::ttnn::detail::TTNNLayoutAttrStorage::memref

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