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

Public Member Functions

unsigned getUsableL1Size () const
 
unsigned getScratchL1RegionAddress () const
 
unsigned getScratchL1RegionSize () const
 
unsigned getUsableDramChannelSize () const
 
void print (::mlir::AsmPrinter &odsPrinter) const
 
ArchAttr getArch () const
 
::llvm::ArrayRef< int64_t > getGrid () const
 
unsigned getL1Size () const
 
unsigned getNumDramChannels () const
 
unsigned getDramChannelSize () const
 
unsigned getNocL1AddressAlignBytes () const
 
unsigned getPcieAddressAlignBytes () const
 
unsigned getNocDRAMAddressAlignBytes () const
 
unsigned getL1UnreservedBase () const
 
unsigned getEriscL1UnreservedBase () const
 
unsigned getDramUnreservedBase () const
 
unsigned getDramUnreservedEnd () const
 
ChipPhysicalCoresAttr getChipPhysicalCores () const
 
::llvm::ArrayRef< DataTypeAttrgetSupportedDataTypes () const
 
::llvm::ArrayRef< TileSizeAttrgetSupportedTileSizes () const
 
unsigned getNumCBs () const
 

Static Public Member Functions

static ChipDescAttr get (::mlir::MLIRContext *context, ArchAttr arch, ::llvm::ArrayRef< int64_t > grid, unsigned l1Size, unsigned numDramChannels, unsigned dramChannelSize, unsigned nocL1AddressAlignBytes, unsigned pcieAddressAlignBytes, unsigned nocDRAMAddressAlignBytes, unsigned l1UnreservedBase, unsigned eriscL1UnreservedBase, unsigned dramUnreservedBase, unsigned dramUnreservedEnd, ChipPhysicalCoresAttr chipPhysicalCores, ::llvm::ArrayRef< DataTypeAttr > supportedDataTypes, ::llvm::ArrayRef< TileSizeAttr > supportedTileSizes, unsigned numCBs)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

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

Member Function Documentation

◆ get()

ChipDescAttr mlir::tt::ChipDescAttr::get ( ::mlir::MLIRContext *  context,
ArchAttr  arch,
::llvm::ArrayRef< int64_t >  grid,
unsigned  l1Size,
unsigned  numDramChannels,
unsigned  dramChannelSize,
unsigned  nocL1AddressAlignBytes,
unsigned  pcieAddressAlignBytes,
unsigned  nocDRAMAddressAlignBytes,
unsigned  l1UnreservedBase,
unsigned  eriscL1UnreservedBase,
unsigned  dramUnreservedBase,
unsigned  dramUnreservedEnd,
ChipPhysicalCoresAttr  chipPhysicalCores,
::llvm::ArrayRef< DataTypeAttr supportedDataTypes,
::llvm::ArrayRef< TileSizeAttr supportedTileSizes,
unsigned  numCBs 
)
static

◆ getArch()

ArchAttr mlir::tt::ChipDescAttr::getArch ( ) const

◆ getChipPhysicalCores()

ChipPhysicalCoresAttr mlir::tt::ChipDescAttr::getChipPhysicalCores ( ) const

◆ getDramChannelSize()

unsigned mlir::tt::ChipDescAttr::getDramChannelSize ( ) const

◆ getDramUnreservedBase()

unsigned mlir::tt::ChipDescAttr::getDramUnreservedBase ( ) const

◆ getDramUnreservedEnd()

unsigned mlir::tt::ChipDescAttr::getDramUnreservedEnd ( ) const

◆ getEriscL1UnreservedBase()

unsigned mlir::tt::ChipDescAttr::getEriscL1UnreservedBase ( ) const

◆ getGrid()

llvm::ArrayRef< int64_t > mlir::tt::ChipDescAttr::getGrid ( ) const

◆ getL1Size()

unsigned mlir::tt::ChipDescAttr::getL1Size ( ) const

◆ getL1UnreservedBase()

unsigned mlir::tt::ChipDescAttr::getL1UnreservedBase ( ) const

◆ getMnemonic()

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

◆ getNocDRAMAddressAlignBytes()

unsigned mlir::tt::ChipDescAttr::getNocDRAMAddressAlignBytes ( ) const

◆ getNocL1AddressAlignBytes()

unsigned mlir::tt::ChipDescAttr::getNocL1AddressAlignBytes ( ) const

◆ getNumCBs()

unsigned mlir::tt::ChipDescAttr::getNumCBs ( ) const

◆ getNumDramChannels()

unsigned mlir::tt::ChipDescAttr::getNumDramChannels ( ) const

◆ getPcieAddressAlignBytes()

unsigned mlir::tt::ChipDescAttr::getPcieAddressAlignBytes ( ) const

◆ getScratchL1RegionAddress()

unsigned mlir::tt::ChipDescAttr::getScratchL1RegionAddress ( ) const

◆ getScratchL1RegionSize()

unsigned mlir::tt::ChipDescAttr::getScratchL1RegionSize ( ) const

◆ getSupportedDataTypes()

llvm::ArrayRef< DataTypeAttr > mlir::tt::ChipDescAttr::getSupportedDataTypes ( ) const

◆ getSupportedTileSizes()

llvm::ArrayRef< TileSizeAttr > mlir::tt::ChipDescAttr::getSupportedTileSizes ( ) const

◆ getUsableDramChannelSize()

unsigned mlir::tt::ChipDescAttr::getUsableDramChannelSize ( ) const
inline

◆ getUsableL1Size()

unsigned mlir::tt::ChipDescAttr::getUsableL1Size ( ) const
inline

◆ parse()

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

◆ print()

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

Member Data Documentation

◆ dialectName

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

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ChipDescAttr::name = "tt.chip_desc"
static

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