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

Public Member Functions

 ToLayoutOpAdaptor (ToLayoutOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 ToLayoutOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ToLayoutOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ToLayoutOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ToLayoutOp, typename = std::enable_if_t<std::is_same_v<LateInst, ToLayoutOp>>>
 ToLayoutOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::ToLayoutOpGenericAdaptor< RangeT >
 ToLayoutOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ToLayoutOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ToLayoutOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ToLayoutOp, typename = std::enable_if_t<std::is_same_v<LateInst, ToLayoutOp>>>
 ToLayoutOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getDevice ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::ToLayoutOpGenericAdaptorBase
 ToLayoutOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ToLayoutOpGenericAdaptorBase (ToLayoutOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::tt::ttnn::LayoutAttr getLayoutAttr ()
 
::mlir::tt::ttnn::Layout getLayout ()
 
::mlir::tt::DataTypeAttr getDtypeAttr ()
 
::std::optional<::mlir::tt::DataTypegetDtype ()
 
::mlir::tt::ttnn::MemoryConfigAttr getMemoryConfigAttr ()
 
::std::optional<::mlir::tt::ttnn::MemoryConfigAttrgetMemoryConfig ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ToLayoutOpAdaptor()

mlir::tt::ttnn::ToLayoutOpAdaptor::ToLayoutOpAdaptor ( ToLayoutOp  op)

Member Function Documentation

◆ ToLayoutOpGenericAdaptor() [1/4]

◆ ToLayoutOpGenericAdaptor() [2/4]

◆ ToLayoutOpGenericAdaptor() [3/4]

◆ ToLayoutOpGenericAdaptor() [4/4]

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

◆ verify()

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

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