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

Public Types

using Adaptor = DotGeneralOpAdaptor
 
template<typename RangeT >
using GenericAdaptor = DotGeneralOpGenericAdaptor< RangeT >
 
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > >
 
using Properties = FoldAdaptor::Properties
 

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
 
::mlir::StringAttr getBatchDimsLhsAttrName ()
 
::mlir::StringAttr getBatchDimsRhsAttrName ()
 
::mlir::StringAttr getContractDimsLhsAttrName ()
 
::mlir::StringAttr getContractDimsRhsAttrName ()
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::Operation::operand_range getODSOperands (unsigned index)
 
::mlir::TypedValue<::mlir::RankedTensorType > getLhs ()
 
::mlir::TypedValue<::mlir::RankedTensorType > getRhs ()
 
::mlir::OpOperand & getLhsMutable ()
 
::mlir::OpOperand & getRhsMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::TypedValue<::mlir::RankedTensorType > getResult ()
 
void writeProperties (::mlir::DialectBytecodeWriter &writer)
 
::mlir::DenseI64ArrayAttr getBatchDimsLhsAttr ()
 
::llvm::ArrayRef< int64_t > getBatchDimsLhs ()
 
::mlir::DenseI64ArrayAttr getContractDimsLhsAttr ()
 
::llvm::ArrayRef< int64_t > getContractDimsLhs ()
 
::mlir::DenseI64ArrayAttr getBatchDimsRhsAttr ()
 
::llvm::ArrayRef< int64_t > getBatchDimsRhs ()
 
::mlir::DenseI64ArrayAttr getContractDimsRhsAttr ()
 
::llvm::ArrayRef< int64_t > getContractDimsRhs ()
 
void setBatchDimsLhsAttr (::mlir::DenseI64ArrayAttr attr)
 
void setBatchDimsLhs (::llvm::ArrayRef< int64_t > attrValue)
 
void setContractDimsLhsAttr (::mlir::DenseI64ArrayAttr attr)
 
void setContractDimsLhs (::llvm::ArrayRef< int64_t > attrValue)
 
void setBatchDimsRhsAttr (::mlir::DenseI64ArrayAttr attr)
 
void setBatchDimsRhs (::llvm::ArrayRef< int64_t > attrValue)
 
void setContractDimsRhsAttr (::mlir::DenseI64ArrayAttr attr)
 
void setContractDimsRhs (::llvm::ArrayRef< int64_t > attrValue)
 
::llvm::LogicalResult verifyInvariantsImpl ()
 
::llvm::LogicalResult verifyInvariants ()
 
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect >> &effects)
 

Static Public Member Functions

::mlir::StringAttr getBatchDimsLhsAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getBatchDimsRhsAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getContractDimsLhsAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getContractDimsRhsAttrName (::mlir::OperationName name)
 
static constexpr ::llvm::StringLiteral getOperationName ()
 
::llvm::LogicalResult setPropertiesFromAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::mlir::Attribute getPropertiesAsAttr (::mlir::MLIRContext *ctx, const Properties &prop)
 
static llvm::hash_code computePropertiesHash (const Properties &prop)
 
static std::optional< mlir::Attribute > getInherentAttr (::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
 
static void setInherentAttr (Properties &prop, llvm::StringRef name, mlir::Attribute value)
 
static void populateInherentAttrs (::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
 
::llvm::LogicalResult verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::DenseI64ArrayAttr batch_dims_lhs, ::mlir::DenseI64ArrayAttr contract_dims_lhs, ::mlir::DenseI64ArrayAttr batch_dims_rhs, ::mlir::DenseI64ArrayAttr contract_dims_rhs)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::DenseI64ArrayAttr batch_dims_lhs, ::mlir::DenseI64ArrayAttr contract_dims_lhs, ::mlir::DenseI64ArrayAttr batch_dims_rhs, ::mlir::DenseI64ArrayAttr contract_dims_rhs)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::llvm::ArrayRef< int64_t > batch_dims_lhs, ::llvm::ArrayRef< int64_t > contract_dims_lhs, ::llvm::ArrayRef< int64_t > batch_dims_rhs, ::llvm::ArrayRef< int64_t > contract_dims_rhs)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::llvm::ArrayRef< int64_t > batch_dims_lhs, ::llvm::ArrayRef< int64_t > contract_dims_lhs, ::llvm::ArrayRef< int64_t > batch_dims_rhs, ::llvm::ArrayRef< int64_t > contract_dims_rhs)
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 

Private Member Functions

::mlir::StringAttr getAttributeNameForIndex (unsigned index)
 

Static Private Member Functions

::mlir::StringAttr getAttributeNameForIndex (::mlir::OperationName name, unsigned index)
 

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using mlir::tt::ttir::DotGeneralOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> >

◆ GenericAdaptor

◆ Properties

Member Function Documentation

◆ build() [1/5]

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

◆ build() [2/5]

void mlir::tt::ttir::DotGeneralOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result,
::mlir::Value  lhs,
::mlir::Value  rhs,
::llvm::ArrayRef< int64_t >  batch_dims_lhs,
::llvm::ArrayRef< int64_t >  contract_dims_lhs,
::llvm::ArrayRef< int64_t >  batch_dims_rhs,
::llvm::ArrayRef< int64_t >  contract_dims_rhs 
)
static

◆ build() [3/5]

void mlir::tt::ttir::DotGeneralOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result,
::mlir::Value  lhs,
::mlir::Value  rhs,
::mlir::DenseI64ArrayAttr  batch_dims_lhs,
::mlir::DenseI64ArrayAttr  contract_dims_lhs,
::mlir::DenseI64ArrayAttr  batch_dims_rhs,
::mlir::DenseI64ArrayAttr  contract_dims_rhs 
)
static

◆ build() [4/5]

void mlir::tt::ttir::DotGeneralOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  lhs,
::mlir::Value  rhs,
::llvm::ArrayRef< int64_t >  batch_dims_lhs,
::llvm::ArrayRef< int64_t >  contract_dims_lhs,
::llvm::ArrayRef< int64_t >  batch_dims_rhs,
::llvm::ArrayRef< int64_t >  contract_dims_rhs 
)
static

◆ build() [5/5]

void mlir::tt::ttir::DotGeneralOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  lhs,
::mlir::Value  rhs,
::mlir::DenseI64ArrayAttr  batch_dims_lhs,
::mlir::DenseI64ArrayAttr  contract_dims_lhs,
::mlir::DenseI64ArrayAttr  batch_dims_rhs,
::mlir::DenseI64ArrayAttr  contract_dims_rhs 
)
static

◆ computePropertiesHash()

llvm::hash_code mlir::tt::ttir::DotGeneralOp::computePropertiesHash ( const Properties prop)
static

◆ getAttributeNameForIndex() [1/2]

::mlir::StringAttr mlir::tt::ttir::DotGeneralOp::getAttributeNameForIndex ( ::mlir::OperationName  name,
unsigned  index 
)
inlinestaticprivate

◆ getAttributeNameForIndex() [2/2]

::mlir::StringAttr mlir::tt::ttir::DotGeneralOp::getAttributeNameForIndex ( unsigned  index)
inlineprivate

◆ getAttributeNames()

static ::llvm::ArrayRef<::llvm::StringRef> mlir::tt::ttir::DotGeneralOp::getAttributeNames ( )
inline

◆ getBatchDimsLhs()

llvm::ArrayRef< int64_t > mlir::tt::ttir::DotGeneralOp::getBatchDimsLhs ( )

◆ getBatchDimsLhsAttr()

::mlir::DenseI64ArrayAttr mlir::tt::ttir::DotGeneralOp::getBatchDimsLhsAttr ( )
inline

◆ getBatchDimsLhsAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttir::DotGeneralOp::getBatchDimsLhsAttrName ( )
inline

◆ getBatchDimsLhsAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttir::DotGeneralOp::getBatchDimsLhsAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getBatchDimsRhs()

llvm::ArrayRef< int64_t > mlir::tt::ttir::DotGeneralOp::getBatchDimsRhs ( )

◆ getBatchDimsRhsAttr()

::mlir::DenseI64ArrayAttr mlir::tt::ttir::DotGeneralOp::getBatchDimsRhsAttr ( )
inline

◆ getBatchDimsRhsAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttir::DotGeneralOp::getBatchDimsRhsAttrName ( )
inline

◆ getBatchDimsRhsAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttir::DotGeneralOp::getBatchDimsRhsAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getContractDimsLhs()

llvm::ArrayRef< int64_t > mlir::tt::ttir::DotGeneralOp::getContractDimsLhs ( )

◆ getContractDimsLhsAttr()

::mlir::DenseI64ArrayAttr mlir::tt::ttir::DotGeneralOp::getContractDimsLhsAttr ( )
inline

◆ getContractDimsLhsAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttir::DotGeneralOp::getContractDimsLhsAttrName ( )
inline

◆ getContractDimsLhsAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttir::DotGeneralOp::getContractDimsLhsAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getContractDimsRhs()

llvm::ArrayRef< int64_t > mlir::tt::ttir::DotGeneralOp::getContractDimsRhs ( )

◆ getContractDimsRhsAttr()

::mlir::DenseI64ArrayAttr mlir::tt::ttir::DotGeneralOp::getContractDimsRhsAttr ( )
inline

◆ getContractDimsRhsAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttir::DotGeneralOp::getContractDimsRhsAttrName ( )
inline

◆ getContractDimsRhsAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttir::DotGeneralOp::getContractDimsRhsAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getEffects()

void mlir::tt::ttir::DotGeneralOp::getEffects ( ::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect >> &  effects)

◆ getInherentAttr()

std::optional< mlir::Attribute > mlir::tt::ttir::DotGeneralOp::getInherentAttr ( ::mlir::MLIRContext *  ctx,
const Properties prop,
llvm::StringRef  name 
)
static

◆ getLhs()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttir::DotGeneralOp::getLhs ( )
inline

◆ getLhsMutable()

::mlir::OpOperand& mlir::tt::ttir::DotGeneralOp::getLhsMutable ( )
inline

◆ getODSOperandIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttir::DotGeneralOp::getODSOperandIndexAndLength ( unsigned  index)
inline

◆ getODSOperands()

::mlir::Operation::operand_range mlir::tt::ttir::DotGeneralOp::getODSOperands ( unsigned  index)
inline

◆ getODSResultIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttir::DotGeneralOp::getODSResultIndexAndLength ( unsigned  index)
inline

◆ getODSResults()

::mlir::Operation::result_range mlir::tt::ttir::DotGeneralOp::getODSResults ( unsigned  index)
inline

◆ getOperationName()

static constexpr ::llvm::StringLiteral mlir::tt::ttir::DotGeneralOp::getOperationName ( )
inlinestatic

◆ getPropertiesAsAttr()

mlir::Attribute mlir::tt::ttir::DotGeneralOp::getPropertiesAsAttr ( ::mlir::MLIRContext *  ctx,
const Properties prop 
)
static

◆ getResult()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttir::DotGeneralOp::getResult ( )
inline

◆ getRhs()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttir::DotGeneralOp::getRhs ( )
inline

◆ getRhsMutable()

::mlir::OpOperand& mlir::tt::ttir::DotGeneralOp::getRhsMutable ( )
inline

◆ populateInherentAttrs()

void mlir::tt::ttir::DotGeneralOp::populateInherentAttrs ( ::mlir::MLIRContext *  ctx,
const Properties prop,
::mlir::NamedAttrList &  attrs 
)
static

◆ readProperties()

llvm::LogicalResult mlir::tt::ttir::DotGeneralOp::readProperties ( ::mlir::DialectBytecodeReader &  reader,
::mlir::OperationState &  state 
)
static

◆ setBatchDimsLhs()

void mlir::tt::ttir::DotGeneralOp::setBatchDimsLhs ( ::llvm::ArrayRef< int64_t >  attrValue)

◆ setBatchDimsLhsAttr()

void mlir::tt::ttir::DotGeneralOp::setBatchDimsLhsAttr ( ::mlir::DenseI64ArrayAttr  attr)
inline

◆ setBatchDimsRhs()

void mlir::tt::ttir::DotGeneralOp::setBatchDimsRhs ( ::llvm::ArrayRef< int64_t >  attrValue)

◆ setBatchDimsRhsAttr()

void mlir::tt::ttir::DotGeneralOp::setBatchDimsRhsAttr ( ::mlir::DenseI64ArrayAttr  attr)
inline

◆ setContractDimsLhs()

void mlir::tt::ttir::DotGeneralOp::setContractDimsLhs ( ::llvm::ArrayRef< int64_t >  attrValue)

◆ setContractDimsLhsAttr()

void mlir::tt::ttir::DotGeneralOp::setContractDimsLhsAttr ( ::mlir::DenseI64ArrayAttr  attr)
inline

◆ setContractDimsRhs()

void mlir::tt::ttir::DotGeneralOp::setContractDimsRhs ( ::llvm::ArrayRef< int64_t >  attrValue)

◆ setContractDimsRhsAttr()

void mlir::tt::ttir::DotGeneralOp::setContractDimsRhsAttr ( ::mlir::DenseI64ArrayAttr  attr)
inline

◆ setInherentAttr()

void mlir::tt::ttir::DotGeneralOp::setInherentAttr ( Properties prop,
llvm::StringRef  name,
mlir::Attribute  value 
)
static

◆ setPropertiesFromAttr()

llvm::LogicalResult mlir::tt::ttir::DotGeneralOp::setPropertiesFromAttr ( Properties prop,
::mlir::Attribute  attr,
::llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ verifyInherentAttrs()

llvm::LogicalResult mlir::tt::ttir::DotGeneralOp::verifyInherentAttrs ( ::mlir::OperationName  opName,
::mlir::NamedAttrList &  attrs,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ verifyInvariants()

llvm::LogicalResult mlir::tt::ttir::DotGeneralOp::verifyInvariants ( )

◆ verifyInvariantsImpl()

llvm::LogicalResult mlir::tt::ttir::DotGeneralOp::verifyInvariantsImpl ( )

◆ writeProperties()

void mlir::tt::ttir::DotGeneralOp::writeProperties ( ::mlir::DialectBytecodeWriter &  writer)

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