TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttir::ReduceAndOpAdaptor Class Reference
Inheritance diagram for mlir::tt::ttir::ReduceAndOpAdaptor:
mlir::tt::ttir::ReduceAndOpGenericAdaptor<::mlir::ValueRange > mlir::tt::ttir::detail::ReduceAndOpGenericAdaptorBase

Public Member Functions

 ReduceAndOpAdaptor (ReduceAndOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 ReduceAndOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ReduceAndOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ReduceAndOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ReduceAndOp, typename = std::enable_if_t<std::is_same_v<LateInst, ReduceAndOp>>>
 ReduceAndOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttir::ReduceAndOpGenericAdaptor<::mlir::ValueRange >
 ReduceAndOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ReduceAndOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ReduceAndOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs=nullptr)
 
 ReduceAndOpGenericAdaptor (::mlir::ValueRange values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::ValueRange getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getOutput ()
 
::mlir::ValueRange getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttir::detail::ReduceAndOpGenericAdaptorBase
 ReduceAndOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ReduceAndOpGenericAdaptorBase (ReduceAndOp 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 ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ReduceAndOpAdaptor()

mlir::tt::ttir::ReduceAndOpAdaptor::ReduceAndOpAdaptor ( ReduceAndOp  op)

Member Function Documentation

◆ ReduceAndOpGenericAdaptor() [1/4]

◆ ReduceAndOpGenericAdaptor() [2/4]

◆ ReduceAndOpGenericAdaptor() [3/4]

◆ ReduceAndOpGenericAdaptor() [4/4]

template<typename LateInst = ReduceAndOp, typename = std::enable_if_t<std::is_same_v<LateInst, ReduceAndOp>>>
mlir::tt::ttir::ReduceAndOpGenericAdaptor< RangeT >::ReduceAndOpGenericAdaptor ( typename LateInst  = ReduceAndOp,
typename  = std::enable_if_t<std::is_same_v<LateInst, ReduceAndOp>> 
)
inline

◆ verify()

llvm::LogicalResult mlir::tt::ttir::ReduceAndOpAdaptor::verify ( ::mlir::Location  loc)

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