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

Public Member Functions

void print (::mlir::AsmPrinter &odsPrinter) const
 
::llvm::ArrayRef< CoreCoordAttrgetWorker () const
 
::llvm::ArrayRef< CoreCoordAttrgetDram () const
 
::llvm::ArrayRef< CoreCoordAttrgetEth () const
 
::llvm::ArrayRef< CoreCoordAttrgetEthInactive () const
 

Static Public Member Functions

static ChipPhysicalCoresAttr get (::mlir::MLIRContext *context, ::llvm::ArrayRef< CoreCoordAttr > worker, ::llvm::ArrayRef< CoreCoordAttr > dram, ::llvm::ArrayRef< CoreCoordAttr > eth, ::llvm::ArrayRef< CoreCoordAttr > eth_inactive)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

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

Member Function Documentation

◆ get()

ChipPhysicalCoresAttr mlir::tt::ChipPhysicalCoresAttr::get ( ::mlir::MLIRContext *  context,
::llvm::ArrayRef< CoreCoordAttr worker,
::llvm::ArrayRef< CoreCoordAttr dram,
::llvm::ArrayRef< CoreCoordAttr eth,
::llvm::ArrayRef< CoreCoordAttr eth_inactive 
)
static

◆ getDram()

llvm::ArrayRef< CoreCoordAttr > mlir::tt::ChipPhysicalCoresAttr::getDram ( ) const

◆ getEth()

llvm::ArrayRef< CoreCoordAttr > mlir::tt::ChipPhysicalCoresAttr::getEth ( ) const

◆ getEthInactive()

llvm::ArrayRef< CoreCoordAttr > mlir::tt::ChipPhysicalCoresAttr::getEthInactive ( ) const

◆ getMnemonic()

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

◆ getWorker()

llvm::ArrayRef< CoreCoordAttr > mlir::tt::ChipPhysicalCoresAttr::getWorker ( ) const

◆ parse()

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

◆ print()

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

Member Data Documentation

◆ dialectName

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

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ChipPhysicalCoresAttr::name = "tt.chip_physical_cores"
static

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