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

Public Member Functions

 MaxOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 MaxOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 MaxOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = MaxOp, typename = std::enable_if_t<std::is_same_v<LateInst, MaxOp>>>
 MaxOpGenericAdaptor (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::MaxOpGenericAdaptorBase
 MaxOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 MaxOpGenericAdaptorBase (MaxOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::BoolAttr getKeepDimAttr ()
 
bool getKeepDim ()
 
::mlir::ArrayAttr getDimArgAttr ()
 
::std::optional< ::mlir::ArrayAttr > getDimArg ()
 

Private Types

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

Private Attributes

RangeT odsOperands
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

template<typename RangeT >
using mlir::tt::ttnn::MaxOpGenericAdaptor< RangeT >::Base = detail::MaxOpGenericAdaptorBase
private

◆ ValueT

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

Constructor & Destructor Documentation

◆ MaxOpGenericAdaptor() [1/4]

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

◆ MaxOpGenericAdaptor() [2/4]

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

◆ MaxOpGenericAdaptor() [3/4]

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

◆ MaxOpGenericAdaptor() [4/4]

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

Member Function Documentation

◆ getInput()

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

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

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

◆ getOperands()

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

Member Data Documentation

◆ odsOperands

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

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