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

Public Member Functions

void print (::mlir::AsmPrinter &odsPrinter) const
 
::mlir::tt::DeviceAttr getDesc () const
 

Static Public Member Functions

static DeviceType get (::mlir::MLIRContext *context, ::mlir::tt::DeviceAttr desc)
 
static DeviceType getChecked (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::mlir::tt::DeviceAttr desc)
 
::llvm::LogicalResult verifyInvariantsImpl (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::tt::DeviceAttr desc)
 
::llvm::LogicalResult verifyInvariants (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::tt::DeviceAttr desc)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Type parse (::mlir::AsmParser &odsParser)
 

Static Public Attributes

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

Member Function Documentation

◆ get()

DeviceType mlir::tt::DeviceType::get ( ::mlir::MLIRContext *  context,
::mlir::tt::DeviceAttr  desc 
)
static

◆ getChecked()

DeviceType mlir::tt::DeviceType::getChecked ( ::llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError,
::mlir::MLIRContext *  context,
::mlir::tt::DeviceAttr  desc 
)
static

◆ getDesc()

mlir::tt::DeviceAttr mlir::tt::DeviceType::getDesc ( ) const

◆ getMnemonic()

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

◆ parse()

mlir::Type mlir::tt::DeviceType::parse ( ::mlir::AsmParser &  odsParser)
static

◆ print()

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

◆ verifyInvariants()

llvm::LogicalResult mlir::tt::DeviceType::verifyInvariants ( ::llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError,
::mlir::tt::DeviceAttr  desc 
)
static

◆ verifyInvariantsImpl()

llvm::LogicalResult mlir::tt::DeviceType::verifyInvariantsImpl ( ::llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError,
::mlir::tt::DeviceAttr  desc 
)
static

Member Data Documentation

◆ dialectName

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

◆ name

constexpr ::llvm::StringLiteral mlir::tt::DeviceType::name = "tt.device"
static

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