TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttnn::ReshapeOpAdaptor Class Reference
Inheritance diagram for mlir::tt::ttnn::ReshapeOpAdaptor:
mlir::tt::ttnn::ReshapeOpGenericAdaptor< RangeT > mlir::tt::ttnn::detail::ReshapeOpGenericAdaptorBase

Public Member Functions

 ReshapeOpAdaptor (ReshapeOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 ReshapeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ReshapeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ReshapeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ReshapeOp, typename = std::enable_if_t<std::is_same_v<LateInst, ReshapeOp>>>
 ReshapeOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::ReshapeOpGenericAdaptor< RangeT >
 ReshapeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ReshapeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ReshapeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ReshapeOp, typename = std::enable_if_t<std::is_same_v<LateInst, ReshapeOp>>>
 ReshapeOpGenericAdaptor (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::ReshapeOpGenericAdaptorBase
 ReshapeOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ReshapeOpGenericAdaptorBase (ReshapeOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::ArrayAttr getShapeAttr ()
 
::mlir::ArrayAttr getShape ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ReshapeOpAdaptor()

mlir::tt::ttnn::ReshapeOpAdaptor::ReshapeOpAdaptor ( ReshapeOp  op)

Member Function Documentation

◆ ReshapeOpGenericAdaptor() [1/4]

◆ ReshapeOpGenericAdaptor() [2/4]

◆ ReshapeOpGenericAdaptor() [3/4]

◆ ReshapeOpGenericAdaptor() [4/4]

template<typename LateInst = ReshapeOp, typename = std::enable_if_t<std::is_same_v<LateInst, ReshapeOp>>>
mlir::tt::ttnn::ReshapeOpGenericAdaptor< RangeT >::ReshapeOpGenericAdaptor ( typename LateInst  = ReshapeOp,
typename  = std::enable_if_t<std::is_same_v<LateInst, ReshapeOp>> 
)
inline

◆ verify()

llvm::LogicalResult mlir::tt::ttnn::ReshapeOpAdaptor::verify ( ::mlir::Location  loc)

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