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

Public Member Functions

void print (::mlir::AsmPrinter &odsPrinter) const
 
unsigned getRack () const
 
unsigned getShelf () const
 
unsigned getY () const
 
unsigned getX () const
 

Static Public Member Functions

static ChipCoordAttr get (::mlir::MLIRContext *context, unsigned rack, unsigned shelf, unsigned y, unsigned x)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

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

Member Function Documentation

◆ get()

ChipCoordAttr mlir::tt::ChipCoordAttr::get ( ::mlir::MLIRContext *  context,
unsigned  rack,
unsigned  shelf,
unsigned  y,
unsigned  x 
)
static

◆ getMnemonic()

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

◆ getRack()

unsigned mlir::tt::ChipCoordAttr::getRack ( ) const

◆ getShelf()

unsigned mlir::tt::ChipCoordAttr::getShelf ( ) const

◆ getX()

unsigned mlir::tt::ChipCoordAttr::getX ( ) const

◆ getY()

unsigned mlir::tt::ChipCoordAttr::getY ( ) const

◆ parse()

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

◆ print()

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

Member Data Documentation

◆ dialectName

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

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ChipCoordAttr::name = "tt.chip_coord"
static

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