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

Public Member Functions

::mlir::Type getElementType () const
 
::llvm::SmallVector< int64_t > getShape () const
 
void print (::mlir::AsmPrinter &odsPrinter) const
 
MemRefType getMemref () const
 
BufferAccess getBufferAccess () const
 

Static Public Member Functions

static BufferAttr get (::mlir::MLIRContext *context, MemRefType memref, BufferAccess buffer_access)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

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

Member Function Documentation

◆ get()

BufferAttr mlir::tt::BufferAttr::get ( ::mlir::MLIRContext *  context,
MemRefType  memref,
BufferAccess  buffer_access 
)
static

◆ getBufferAccess()

BufferAccess mlir::tt::BufferAttr::getBufferAccess ( ) const

◆ getElementType()

::mlir::Type mlir::tt::BufferAttr::getElementType ( ) const

◆ getMemref()

MemRefType mlir::tt::BufferAttr::getMemref ( ) const

◆ getMnemonic()

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

◆ getShape()

::llvm::SmallVector<int64_t> mlir::tt::BufferAttr::getShape ( ) const

◆ parse()

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

◆ print()

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

Member Data Documentation

◆ dialectName

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

◆ name

constexpr ::llvm::StringLiteral mlir::tt::BufferAttr::name = "tt.buffer"
static

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