TT-MLIR
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
mlir::tt::ShardLayoutAttr Class Reference
Inheritance diagram for mlir::tt::ShardLayoutAttr:

Public Member Functions

AffineMap getAffineMap () const
 
void print (::mlir::AsmPrinter &odsPrinter) const
 
::llvm::ArrayRef< int64_t > getStride () const
 
uint32_t getBuffers () const
 

Static Public Member Functions

static ShardLayoutAttr get (::mlir::MLIRContext *context, ::llvm::ArrayRef< int64_t > stride, uint32_t buffers)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

static constexpr ::llvm::StringLiteral name = "tt.shard"
 
static constexpr ::llvm::StringLiteral dialectName = "tt"
 

Member Function Documentation

◆ get()

ShardLayoutAttr mlir::tt::ShardLayoutAttr::get ( ::mlir::MLIRContext *  context,
::llvm::ArrayRef< int64_t >  stride,
uint32_t  buffers 
)
static

◆ getAffineMap()

AffineMap mlir::tt::ShardLayoutAttr::getAffineMap ( ) const

◆ getBuffers()

uint32_t mlir::tt::ShardLayoutAttr::getBuffers ( ) const

◆ getMnemonic()

static constexpr ::llvm::StringLiteral mlir::tt::ShardLayoutAttr::getMnemonic ( )
inlinestatic

◆ getStride()

llvm::ArrayRef< int64_t > mlir::tt::ShardLayoutAttr::getStride ( ) const

◆ parse()

mlir::Attribute mlir::tt::ShardLayoutAttr::parse ( ::mlir::AsmParser &  odsParser,
::mlir::Type  odsType 
)
static

◆ print()

void mlir::tt::ShardLayoutAttr::print ( ::mlir::AsmPrinter &  odsPrinter) const

Member Data Documentation

◆ dialectName

constexpr ::llvm::StringLiteral mlir::tt::ShardLayoutAttr::dialectName = "tt"
static

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ShardLayoutAttr::name = "tt.shard"
static

The documentation for this class was generated from the following files: