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

Public Member Functions

 SignOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 SignOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 SignOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs)
 
template<typename LateInst = SignOp, typename = std::enable_if_t<std::is_same_v<LateInst, SignOp>>>
 SignOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
RangeT getInputs ()
 
RangeT getOutputs ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::SignOpGenericAdaptorBase
 SignOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 SignOpGenericAdaptorBase (SignOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 

Private Types

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

Private Attributes

RangeT odsOperands
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

template<typename RangeT >
using mlir::tt::ttnn::SignOpGenericAdaptor< RangeT >::Base = detail::SignOpGenericAdaptorBase
private

◆ ValueT

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

Constructor & Destructor Documentation

◆ SignOpGenericAdaptor() [1/4]

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

◆ SignOpGenericAdaptor() [2/4]

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

◆ SignOpGenericAdaptor() [3/4]

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

◆ SignOpGenericAdaptor() [4/4]

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

Member Function Documentation

◆ getInputs()

template<typename RangeT >
RangeT mlir::tt::ttnn::SignOpGenericAdaptor< RangeT >::getInputs ( )
inline

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

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

◆ getOperands()

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

◆ getOutputs()

template<typename RangeT >
RangeT mlir::tt::ttnn::SignOpGenericAdaptor< RangeT >::getOutputs ( )
inline

Member Data Documentation

◆ odsOperands

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

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