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

Public Member Functions

uint64_t getGridVolume () const
 
void print (::mlir::AsmPrinter &odsPrinter) const
 
::llvm::ArrayRef< int64_t > getShape () const
 
AffineMap getMapping () const
 

Static Public Member Functions

static GridAttr get (::mlir::MLIRContext *context)
 
static GridAttr get (::mlir::MLIRContext *context, ArrayRef< int64_t > shape)
 
static GridAttr get (::mlir::MLIRContext *context, std::int64_t rank)
 
static GridAttr get (::mlir::MLIRContext *context, ::llvm::ArrayRef< int64_t > shape, AffineMap mapping)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Public Attributes

uint64_t cGridVolume = 0
 

Static Public Attributes

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

Member Function Documentation

◆ get() [1/4]

static GridAttr mlir::tt::GridAttr::get ( ::mlir::MLIRContext *  context)
inlinestatic

◆ get() [2/4]

GridAttr mlir::tt::GridAttr::get ( ::mlir::MLIRContext *  context,
::llvm::ArrayRef< int64_t >  shape,
AffineMap  mapping 
)
static

◆ get() [3/4]

static GridAttr mlir::tt::GridAttr::get ( ::mlir::MLIRContext *  context,
ArrayRef< int64_t >  shape 
)
inlinestatic

◆ get() [4/4]

static GridAttr mlir::tt::GridAttr::get ( ::mlir::MLIRContext *  context,
std::int64_t  rank 
)
inlinestatic

◆ getGridVolume()

uint64_t mlir::tt::GridAttr::getGridVolume ( ) const
inline

◆ getMapping()

AffineMap mlir::tt::GridAttr::getMapping ( ) const

◆ getMnemonic()

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

◆ getShape()

llvm::ArrayRef< int64_t > mlir::tt::GridAttr::getShape ( ) const

◆ parse()

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

◆ print()

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

Member Data Documentation

◆ cGridVolume

uint64_t mlir::tt::GridAttr::cGridVolume = 0
mutable

◆ dialectName

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

◆ name

constexpr ::llvm::StringLiteral mlir::tt::GridAttr::name = "tt.grid"
static

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