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

Public Member Functions

 SliceOpAdaptor (SliceOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 SliceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 SliceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 SliceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = SliceOp, typename = std::enable_if_t<std::is_same_v<LateInst, SliceOp>>>
 SliceOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::SliceOpGenericAdaptor< RangeT >
 SliceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 SliceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 SliceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = SliceOp, typename = std::enable_if_t<std::is_same_v<LateInst, SliceOp>>>
 SliceOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getOutput ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::SliceOpGenericAdaptorBase
 SliceOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 SliceOpGenericAdaptorBase (SliceOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::ArrayAttr getBeginsAttr ()
 
::mlir::ArrayAttr getBegins ()
 
::mlir::ArrayAttr getEndsAttr ()
 
::mlir::ArrayAttr getEnds ()
 
::mlir::ArrayAttr getStepAttr ()
 
::mlir::ArrayAttr getStep ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SliceOpAdaptor()

mlir::tt::ttnn::SliceOpAdaptor::SliceOpAdaptor ( SliceOp  op)

Member Function Documentation

◆ SliceOpGenericAdaptor() [1/4]

◆ SliceOpGenericAdaptor() [2/4]

◆ SliceOpGenericAdaptor() [3/4]

◆ SliceOpGenericAdaptor() [4/4]

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

◆ verify()

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

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