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

Public Member Functions

unsigned getAddressAlignBytes (unsigned chipIndex=0) const
 
unsigned getAddressAlignBytes (MemorySpace memorySpace, unsigned chipIndex=0) const
 
unsigned getNocL1AddressAlignBytes (unsigned chipIndex=0) const
 
unsigned getNocDRAMAddressAlignBytes (unsigned chipIndex=0) const
 
unsigned getPcieAddressAlignBytes (unsigned chipIndex=0) const
 
void print (::mlir::AsmPrinter &odsPrinter) const
 
::llvm::ArrayRef< CPUDescAttrgetCpuDescs () const
 
::llvm::ArrayRef< ChipDescAttrgetChipDescs () const
 
::llvm::ArrayRef< unsigned > getChipDescIndices () const
 
::llvm::ArrayRef< ChipCapabilityAttrgetChipCapabilities () const
 
::llvm::ArrayRef< ChipCoordAttrgetChipCoords () const
 
::llvm::ArrayRef< ChipChannelAttrgetChipChannels () const
 

Static Public Member Functions

static tt::SystemDescAttr getDefault (MLIRContext *context)
 
static tt::SystemDescAttr getFromPath (MLIRContext *context, std::string &path)
 
static SystemDescAttr get (::mlir::MLIRContext *context, ::llvm::ArrayRef< CPUDescAttr > cpuDescs, ::llvm::ArrayRef< ChipDescAttr > chipDescs, ::llvm::ArrayRef< unsigned > chipDescIndices, ::llvm::ArrayRef< ChipCapabilityAttr > chipCapabilities, ::llvm::ArrayRef< ChipCoordAttr > chipCoords, ::llvm::ArrayRef< ChipChannelAttr > chipChannels)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

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

Member Function Documentation

◆ get()

SystemDescAttr mlir::tt::SystemDescAttr::get ( ::mlir::MLIRContext *  context,
::llvm::ArrayRef< CPUDescAttr cpuDescs,
::llvm::ArrayRef< ChipDescAttr chipDescs,
::llvm::ArrayRef< unsigned >  chipDescIndices,
::llvm::ArrayRef< ChipCapabilityAttr chipCapabilities,
::llvm::ArrayRef< ChipCoordAttr chipCoords,
::llvm::ArrayRef< ChipChannelAttr chipChannels 
)
static

◆ getAddressAlignBytes() [1/2]

unsigned mlir::tt::SystemDescAttr::getAddressAlignBytes ( MemorySpace  memorySpace,
unsigned  chipIndex = 0 
) const

◆ getAddressAlignBytes() [2/2]

unsigned mlir::tt::SystemDescAttr::getAddressAlignBytes ( unsigned  chipIndex = 0) const

◆ getChipCapabilities()

llvm::ArrayRef< ChipCapabilityAttr > mlir::tt::SystemDescAttr::getChipCapabilities ( ) const

◆ getChipChannels()

llvm::ArrayRef< ChipChannelAttr > mlir::tt::SystemDescAttr::getChipChannels ( ) const

◆ getChipCoords()

llvm::ArrayRef< ChipCoordAttr > mlir::tt::SystemDescAttr::getChipCoords ( ) const

◆ getChipDescIndices()

llvm::ArrayRef< unsigned > mlir::tt::SystemDescAttr::getChipDescIndices ( ) const

◆ getChipDescs()

llvm::ArrayRef< ChipDescAttr > mlir::tt::SystemDescAttr::getChipDescs ( ) const

◆ getCpuDescs()

llvm::ArrayRef< CPUDescAttr > mlir::tt::SystemDescAttr::getCpuDescs ( ) const

◆ getDefault()

static tt::SystemDescAttr mlir::tt::SystemDescAttr::getDefault ( MLIRContext *  context)
static

◆ getFromPath()

static tt::SystemDescAttr mlir::tt::SystemDescAttr::getFromPath ( MLIRContext *  context,
std::string &  path 
)
static

◆ getMnemonic()

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

◆ getNocDRAMAddressAlignBytes()

unsigned mlir::tt::SystemDescAttr::getNocDRAMAddressAlignBytes ( unsigned  chipIndex = 0) const

◆ getNocL1AddressAlignBytes()

unsigned mlir::tt::SystemDescAttr::getNocL1AddressAlignBytes ( unsigned  chipIndex = 0) const

◆ getPcieAddressAlignBytes()

unsigned mlir::tt::SystemDescAttr::getPcieAddressAlignBytes ( unsigned  chipIndex = 0) const

◆ parse()

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

◆ print()

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

Member Data Documentation

◆ dialectName

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

◆ name

constexpr ::llvm::StringLiteral mlir::tt::SystemDescAttr::name = "tt.system_desc"
static

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