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

Public Member Functions

bool intersects (CoreRangeAttr other) const
 
void print (::mlir::AsmPrinter &odsPrinter) const
 
CoreCoordAttr getStartCoord () const
 
CoreCoordAttr getEndCoord () const
 

Static Public Member Functions

static CoreRangeAttr get (::mlir::MLIRContext *context, CoreCoordAttr start_coord, CoreCoordAttr end_coord)
 
static CoreRangeAttr getChecked (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, CoreCoordAttr start_coord, CoreCoordAttr end_coord)
 
::llvm::LogicalResult verify (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, CoreCoordAttr start_coord, CoreCoordAttr end_coord)
 
::llvm::LogicalResult verifyInvariants (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, CoreCoordAttr start_coord, CoreCoordAttr end_coord)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

static constexpr ::llvm::StringLiteral name = "ttnn.core_range"
 
static constexpr ::llvm::StringLiteral dialectName = "ttnn"
 

Member Function Documentation

◆ get()

CoreRangeAttr mlir::tt::ttnn::CoreRangeAttr::get ( ::mlir::MLIRContext *  context,
CoreCoordAttr  start_coord,
CoreCoordAttr  end_coord 
)
static

◆ getChecked()

CoreRangeAttr mlir::tt::ttnn::CoreRangeAttr::getChecked ( ::llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError,
::mlir::MLIRContext *  context,
CoreCoordAttr  start_coord,
CoreCoordAttr  end_coord 
)
static

◆ getEndCoord()

CoreCoordAttr mlir::tt::ttnn::CoreRangeAttr::getEndCoord ( ) const

◆ getMnemonic()

static constexpr ::llvm::StringLiteral mlir::tt::ttnn::CoreRangeAttr::getMnemonic ( )
inlinestatic

◆ getStartCoord()

CoreCoordAttr mlir::tt::ttnn::CoreRangeAttr::getStartCoord ( ) const

◆ intersects()

bool mlir::tt::ttnn::CoreRangeAttr::intersects ( CoreRangeAttr  other) const

◆ parse()

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

◆ print()

void mlir::tt::ttnn::CoreRangeAttr::print ( ::mlir::AsmPrinter &  odsPrinter) const

◆ verify()

::llvm::LogicalResult mlir::tt::ttnn::CoreRangeAttr::verify ( ::llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError,
CoreCoordAttr  start_coord,
CoreCoordAttr  end_coord 
)
static

◆ verifyInvariants()

llvm::LogicalResult mlir::tt::ttnn::CoreRangeAttr::verifyInvariants ( ::llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError,
CoreCoordAttr  start_coord,
CoreCoordAttr  end_coord 
)
static

Member Data Documentation

◆ dialectName

constexpr ::llvm::StringLiteral mlir::tt::ttnn::CoreRangeAttr::dialectName = "ttnn"
static

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ttnn::CoreRangeAttr::name = "ttnn.core_range"
static

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