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

Public Member Functions

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

Private Types

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

Private Attributes

RangeT odsOperands
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

template<typename RangeT >
using mlir::tt::ttnn::ToDeviceOpGenericAdaptor< RangeT >::Base = detail::ToDeviceOpGenericAdaptorBase
private

◆ ValueT

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

Constructor & Destructor Documentation

◆ ToDeviceOpGenericAdaptor() [1/4]

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

◆ ToDeviceOpGenericAdaptor() [2/4]

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

◆ ToDeviceOpGenericAdaptor() [3/4]

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

◆ ToDeviceOpGenericAdaptor() [4/4]

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

Member Function Documentation

◆ getDevice()

template<typename RangeT >
ValueT mlir::tt::ttnn::ToDeviceOpGenericAdaptor< RangeT >::getDevice ( )
inline

◆ getInput()

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

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

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

◆ getOperands()

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

Member Data Documentation

◆ odsOperands

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

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