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

Public Types

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

Public Member Functions

 MetalLayoutAttrStorage (AffineMap linear, OOBVal oob_val, 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 MetalLayoutAttrStorageconstruct (::mlir::AttributeStorageAllocator &allocator, KeyTy &&tblgenKey)
 

Public Attributes

AffineMap linear
 
OOBVal oob_val
 
GridAttr grid
 
MemRefType memref
 
TensorMemoryLayout mem_layout
 

Member Typedef Documentation

◆ KeyTy

Constructor & Destructor Documentation

◆ MetalLayoutAttrStorage()

mlir::tt::detail::MetalLayoutAttrStorage::MetalLayoutAttrStorage ( AffineMap  linear,
OOBVal  oob_val,
GridAttr  grid,
MemRefType  memref,
TensorMemoryLayout  mem_layout 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ grid

GridAttr mlir::tt::detail::MetalLayoutAttrStorage::grid

◆ linear

AffineMap mlir::tt::detail::MetalLayoutAttrStorage::linear

◆ mem_layout

TensorMemoryLayout mlir::tt::detail::MetalLayoutAttrStorage::mem_layout

◆ memref

MemRefType mlir::tt::detail::MetalLayoutAttrStorage::memref

◆ oob_val

OOBVal mlir::tt::detail::MetalLayoutAttrStorage::oob_val

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