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

Public Member Functions

 ToMemoryConfigOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ToMemoryConfigOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ToMemoryConfigOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ToMemoryConfigOp, typename = std::enable_if_t<std::is_same_v<LateInst, ToMemoryConfigOp>>>
 ToMemoryConfigOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getInput ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::ToMemoryConfigOpGenericAdaptorBase
 ToMemoryConfigOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ToMemoryConfigOpGenericAdaptorBase (ToMemoryConfigOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::tt::ttnn::MemoryConfigAttr getMemoryConfigAttr ()
 
::mlir::tt::ttnn::MemoryConfigAttr getMemoryConfig ()
 

Private Types

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

Private Attributes

RangeT odsOperands
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

◆ ValueT

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

Constructor & Destructor Documentation

◆ ToMemoryConfigOpGenericAdaptor() [1/4]

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

◆ ToMemoryConfigOpGenericAdaptor() [2/4]

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

◆ ToMemoryConfigOpGenericAdaptor() [3/4]

template<typename RangeT >
mlir::tt::ttnn::ToMemoryConfigOpGenericAdaptor< RangeT >::ToMemoryConfigOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs = nullptr 
)
inline

◆ ToMemoryConfigOpGenericAdaptor() [4/4]

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

Member Function Documentation

◆ getInput()

template<typename RangeT >
ValueT mlir::tt::ttnn::ToMemoryConfigOpGenericAdaptor< RangeT >::getInput ( )
inline

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

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

◆ getOperands()

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

Member Data Documentation

◆ odsOperands

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

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