TT-MLIR
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
mlir::tt::ttmetal::CoreRangeAttr Class Reference
Inheritance diagram for mlir::tt::ttmetal::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 = "ttmetal.core_range"
 
static constexpr ::llvm::StringLiteral dialectName = "ttmetal"
 

Member Function Documentation

◆ get() [1/2]

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

◆ get() [2/2]

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

◆ getMnemonic()

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

◆ getOffset()

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

◆ getSize()

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

◆ parse()

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

◆ print()

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

Member Data Documentation

◆ dialectName

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

◆ name

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

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