TT-MLIR
Public Member Functions | Private Types | Private Attributes | List of all members
mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT > Class Template Reference
Inheritance diagram for mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >:
mlir::tt::ttnn::detail::MatmulOpGenericAdaptorBase mlir::tt::ttnn::MatmulOpAdaptor

Public Member Functions

 MatmulOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs={}, const ::mlir::EmptyProperties &properties={}, ::mlir::RegionRange regions={})
 
 MatmulOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
template<typename LateInst = MatmulOp, typename = std::enable_if_t<std::is_same_v<LateInst, MatmulOp>>>
 MatmulOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getA ()
 
ValueT getB ()
 
ValueT getOutput ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::MatmulOpGenericAdaptorBase
 MatmulOpGenericAdaptorBase (::mlir::DictionaryAttr attrs={}, const ::mlir::EmptyProperties &properties={}, ::mlir::RegionRange regions={})
 
 MatmulOpGenericAdaptorBase (::mlir::Operation *op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
::mlir::DictionaryAttr getAttributes ()
 

Private Types

using ValueT = ::llvm::detail::ValueOfRange< RangeT >
 
using Base = detail::MatmulOpGenericAdaptorBase
 

Private Attributes

RangeT odsOperands
 

Additional Inherited Members

- Protected Attributes inherited from mlir::tt::ttnn::detail::MatmulOpGenericAdaptorBase
::mlir::DictionaryAttr odsAttrs
 
::std::optional<::mlir::OperationName > odsOpName
 
::mlir::RegionRange odsRegions
 

Member Typedef Documentation

◆ Base

template<typename RangeT >
using mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::Base = detail::MatmulOpGenericAdaptorBase
private

◆ ValueT

template<typename RangeT >
using mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::ValueT = ::llvm::detail::ValueOfRange<RangeT>
private

Constructor & Destructor Documentation

◆ MatmulOpGenericAdaptor() [1/3]

template<typename RangeT >
mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::MatmulOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs = {},
const ::mlir::EmptyProperties &  properties = {},
::mlir::RegionRange  regions = {} 
)
inline

◆ MatmulOpGenericAdaptor() [2/3]

template<typename RangeT >
mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::MatmulOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs,
::mlir::OpaqueProperties  properties,
::mlir::RegionRange  regions = {} 
)
inline

◆ MatmulOpGenericAdaptor() [3/3]

template<typename RangeT >
template<typename LateInst = MatmulOp, typename = std::enable_if_t<std::is_same_v<LateInst, MatmulOp>>>
mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::MatmulOpGenericAdaptor ( RangeT  values,
LateInst  op 
)
inline

Member Function Documentation

◆ getA()

template<typename RangeT >
ValueT mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::getA ( )
inline

◆ getB()

template<typename RangeT >
ValueT mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::getB ( )
inline

◆ getODSOperandIndexAndLength()

template<typename RangeT >
std::pair<unsigned, unsigned> mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::getODSOperandIndexAndLength ( unsigned  index)
inline

◆ getODSOperands()

template<typename RangeT >
RangeT mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::getODSOperands ( unsigned  index)
inline

◆ getOperands()

template<typename RangeT >
RangeT mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::getOperands ( )
inline

◆ getOutput()

template<typename RangeT >
ValueT mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::getOutput ( )
inline

Member Data Documentation

◆ odsOperands

template<typename RangeT >
RangeT mlir::tt::ttnn::MatmulOpGenericAdaptor< RangeT >::odsOperands
private

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