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

Public Types

using Adaptor = MatmulOpAdaptor
 
template<typename RangeT >
using GenericAdaptor = MatmulOpGenericAdaptor< RangeT >
 
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > >
 

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::Operation::operand_range getODSOperands (unsigned index)
 
::mlir::TypedValue<::mlir::RankedTensorType > getA ()
 
::mlir::TypedValue<::mlir::RankedTensorType > getB ()
 
::mlir::TypedValue<::mlir::RankedTensorType > getOutput ()
 
::mlir::OpOperand & getAMutable ()
 
::mlir::OpOperand & getBMutable ()
 
::mlir::OpOperand & getOutputMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::TypedValue<::mlir::RankedTensorType > getResult ()
 
::llvm::LogicalResult verifyInvariantsImpl ()
 
::llvm::LogicalResult verifyInvariants ()
 
::llvm::LogicalResult verify ()
 
MutableOperandRange getDpsInitsMutable ()
 

Static Public Member Functions

static constexpr ::llvm::StringLiteral getOperationName ()
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value a, ::mlir::Value b, ::mlir::Value output)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value a, ::mlir::Value b, ::mlir::Value output)
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using mlir::tt::ttnn::MatmulOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> >

◆ GenericAdaptor

template<typename RangeT >
using mlir::tt::ttnn::MatmulOp::GenericAdaptor = MatmulOpGenericAdaptor<RangeT>

Member Function Documentation

◆ build() [1/3]

void mlir::tt::ttnn::MatmulOp::build ( ::mlir::OpBuilder &  ,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::ValueRange  operands,
::llvm::ArrayRef<::mlir::NamedAttribute >  attributes = {} 
)
static

◆ build() [2/3]

void mlir::tt::ttnn::MatmulOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result,
::mlir::Value  a,
::mlir::Value  b,
::mlir::Value  output 
)
static

◆ build() [3/3]

void mlir::tt::ttnn::MatmulOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  a,
::mlir::Value  b,
::mlir::Value  output 
)
static

◆ getA()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttnn::MatmulOp::getA ( )
inline

◆ getAMutable()

::mlir::OpOperand& mlir::tt::ttnn::MatmulOp::getAMutable ( )
inline

◆ getAttributeNames()

static ::llvm::ArrayRef<::llvm::StringRef> mlir::tt::ttnn::MatmulOp::getAttributeNames ( )
inline

◆ getB()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttnn::MatmulOp::getB ( )
inline

◆ getBMutable()

::mlir::OpOperand& mlir::tt::ttnn::MatmulOp::getBMutable ( )
inline

◆ getDpsInitsMutable()

MutableOperandRange mlir::tt::ttnn::MatmulOp::getDpsInitsMutable ( )
inline

◆ getODSOperandIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttnn::MatmulOp::getODSOperandIndexAndLength ( unsigned  index)
inline

◆ getODSOperands()

::mlir::Operation::operand_range mlir::tt::ttnn::MatmulOp::getODSOperands ( unsigned  index)
inline

◆ getODSResultIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttnn::MatmulOp::getODSResultIndexAndLength ( unsigned  index)
inline

◆ getODSResults()

::mlir::Operation::result_range mlir::tt::ttnn::MatmulOp::getODSResults ( unsigned  index)
inline

◆ getOperationName()

static constexpr ::llvm::StringLiteral mlir::tt::ttnn::MatmulOp::getOperationName ( )
inlinestatic

◆ getOutput()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttnn::MatmulOp::getOutput ( )
inline

◆ getOutputMutable()

::mlir::OpOperand& mlir::tt::ttnn::MatmulOp::getOutputMutable ( )
inline

◆ getResult()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttnn::MatmulOp::getResult ( )
inline

◆ verify()

::llvm::LogicalResult mlir::tt::ttnn::MatmulOp::verify ( )

◆ verifyInvariants()

llvm::LogicalResult mlir::tt::ttnn::MatmulOp::verifyInvariants ( )

◆ verifyInvariantsImpl()

llvm::LogicalResult mlir::tt::ttnn::MatmulOp::verifyInvariantsImpl ( )

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