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

Public Types

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

Public Member Functions

 LayoutAttrStorage (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 LayoutAttrStorageconstruct (::mlir::AttributeStorageAllocator &allocator, KeyTy &&tblgenKey)
 

Public Attributes

AffineMap linear
 
OOBVal oob_val
 
GridAttr grid
 
MemRefType memref
 
TensorMemoryLayout mem_layout
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::LayoutAttrStorage::KeyTy = std::tuple<AffineMap, OOBVal, GridAttr, MemRefType, TensorMemoryLayout>

Constructor & Destructor Documentation

◆ LayoutAttrStorage()

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

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ grid

GridAttr mlir::tt::detail::LayoutAttrStorage::grid

◆ linear

AffineMap mlir::tt::detail::LayoutAttrStorage::linear

◆ mem_layout

TensorMemoryLayout mlir::tt::detail::LayoutAttrStorage::mem_layout

◆ memref

MemRefType mlir::tt::detail::LayoutAttrStorage::memref

◆ oob_val

OOBVal mlir::tt::detail::LayoutAttrStorage::oob_val

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