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

Public Member Functions

void print (::mlir::AsmPrinter &odsPrinter) const
 
ThreadType getThreadType () const
 
SymbolRefAttr getKernelSymbol () const
 

Static Public Member Functions

static ThreadAttr get (::mlir::MLIRContext *context, ThreadType threadType)
 
static ThreadAttr get (::mlir::MLIRContext *context, ThreadType threadType, SymbolRefAttr kernelSymbol)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

static constexpr ::llvm::StringLiteral name = "ttir.thread"
 
static constexpr ::llvm::StringLiteral dialectName = "ttir"
 

Member Function Documentation

◆ get() [1/2]

static ThreadAttr mlir::tt::ttir::ThreadAttr::get ( ::mlir::MLIRContext *  context,
ThreadType  threadType 
)
inlinestatic

◆ get() [2/2]

ThreadAttr mlir::tt::ttir::ThreadAttr::get ( ::mlir::MLIRContext *  context,
ThreadType  threadType,
SymbolRefAttr  kernelSymbol 
)
static

◆ getKernelSymbol()

SymbolRefAttr mlir::tt::ttir::ThreadAttr::getKernelSymbol ( ) const

◆ getMnemonic()

static constexpr ::llvm::StringLiteral mlir::tt::ttir::ThreadAttr::getMnemonic ( )
inlinestatic

◆ getThreadType()

ThreadType mlir::tt::ttir::ThreadAttr::getThreadType ( ) const

◆ parse()

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

◆ print()

void mlir::tt::ttir::ThreadAttr::print ( ::mlir::AsmPrinter &  odsPrinter) const

Member Data Documentation

◆ dialectName

constexpr ::llvm::StringLiteral mlir::tt::ttir::ThreadAttr::dialectName = "ttir"
static

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ttir::ThreadAttr::name = "ttir.thread"
static

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