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

Public Member Functions

void print (::mlir::AsmPrinter &odsPrinter) const
 
unsigned getDeviceId0 () const
 
::llvm::ArrayRef< int64_t > getEthernetCoreCoord0 () const
 
unsigned getDeviceId1 () const
 
::llvm::ArrayRef< int64_t > getEthernetCoreCoord1 () const
 

Static Public Member Functions

static ChipChannelAttr get (::mlir::MLIRContext *context, unsigned deviceId0, ::llvm::ArrayRef< int64_t > ethernetCoreCoord0, unsigned deviceId1, ::llvm::ArrayRef< int64_t > ethernetCoreCoord1)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

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

Member Function Documentation

◆ get()

ChipChannelAttr mlir::tt::ChipChannelAttr::get ( ::mlir::MLIRContext *  context,
unsigned  deviceId0,
::llvm::ArrayRef< int64_t >  ethernetCoreCoord0,
unsigned  deviceId1,
::llvm::ArrayRef< int64_t >  ethernetCoreCoord1 
)
static

◆ getDeviceId0()

unsigned mlir::tt::ChipChannelAttr::getDeviceId0 ( ) const

◆ getDeviceId1()

unsigned mlir::tt::ChipChannelAttr::getDeviceId1 ( ) const

◆ getEthernetCoreCoord0()

llvm::ArrayRef< int64_t > mlir::tt::ChipChannelAttr::getEthernetCoreCoord0 ( ) const

◆ getEthernetCoreCoord1()

llvm::ArrayRef< int64_t > mlir::tt::ChipChannelAttr::getEthernetCoreCoord1 ( ) const

◆ getMnemonic()

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

◆ parse()

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

◆ print()

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

Member Data Documentation

◆ dialectName

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

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ChipChannelAttr::name = "tt.chip_channel"
static

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