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

Public Member Functions

 FromDeviceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs={}, const ::mlir::EmptyProperties &properties={}, ::mlir::RegionRange regions={})
 
 FromDeviceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
template<typename LateInst = FromDeviceOp, typename = std::enable_if_t<std::is_same_v<LateInst, FromDeviceOp>>>
 FromDeviceOpGenericAdaptor (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::FromDeviceOpGenericAdaptorBase
 FromDeviceOpGenericAdaptorBase (::mlir::DictionaryAttr attrs={}, const ::mlir::EmptyProperties &properties={}, ::mlir::RegionRange regions={})
 
 FromDeviceOpGenericAdaptorBase (::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::FromDeviceOpGenericAdaptorBase
 

Private Attributes

RangeT odsOperands
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

template<typename RangeT >
using mlir::tt::ttnn::FromDeviceOpGenericAdaptor< RangeT >::Base = detail::FromDeviceOpGenericAdaptorBase
private

◆ ValueT

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

Constructor & Destructor Documentation

◆ FromDeviceOpGenericAdaptor() [1/3]

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

◆ FromDeviceOpGenericAdaptor() [2/3]

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

◆ FromDeviceOpGenericAdaptor() [3/3]

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

Member Function Documentation

◆ getInput()

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

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

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

◆ getOperands()

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

Member Data Documentation

◆ odsOperands

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

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