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

Public Member Functions

void print (::mlir::AsmPrinter &odsPrinter) const
 
::llvm::ArrayRef< int64_t > getOffset () const
 
::llvm::ArrayRef< int64_t > getSize () const
 

Static Public Member Functions

static CoreRangeAttr get (::mlir::MLIRContext *context, ::mlir::tt::GridAttr grid, SmallVector< int64_t > offset={0, 0})
 
static CoreRangeAttr get (::mlir::MLIRContext *context, ::llvm::ArrayRef< int64_t > offset, ::llvm::ArrayRef< int64_t > size)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

static constexpr ::llvm::StringLiteral name = "ttnn.core_range"
 
static constexpr ::llvm::StringLiteral dialectName = "ttnn"
 

Member Function Documentation

◆ get() [1/2]

CoreRangeAttr mlir::tt::ttnn::CoreRangeAttr::get ( ::mlir::MLIRContext *  context,
::llvm::ArrayRef< int64_t >  offset,
::llvm::ArrayRef< int64_t >  size 
)
static

◆ get() [2/2]

static CoreRangeAttr mlir::tt::ttnn::CoreRangeAttr::get ( ::mlir::MLIRContext *  context,
::mlir::tt::GridAttr  grid,
SmallVector< int64_t >  offset = {0, 0} 
)
inlinestatic

◆ getMnemonic()

static constexpr ::llvm::StringLiteral mlir::tt::ttnn::CoreRangeAttr::getMnemonic ( )
inlinestatic

◆ getOffset()

llvm::ArrayRef< int64_t > mlir::tt::ttnn::CoreRangeAttr::getOffset ( ) const

◆ getSize()

llvm::ArrayRef< int64_t > mlir::tt::ttnn::CoreRangeAttr::getSize ( ) const

◆ parse()

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

◆ print()

void mlir::tt::ttnn::CoreRangeAttr::print ( ::mlir::AsmPrinter &  odsPrinter) const

Member Data Documentation

◆ dialectName

constexpr ::llvm::StringLiteral mlir::tt::ttnn::CoreRangeAttr::dialectName = "ttnn"
static

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ttnn::CoreRangeAttr::name = "ttnn.core_range"
static

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