TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttnn::ToDeviceOpAdaptor Class Reference
Inheritance diagram for mlir::tt::ttnn::ToDeviceOpAdaptor:
mlir::tt::ttnn::ToDeviceOpGenericAdaptor<::mlir::ValueRange > mlir::tt::ttnn::detail::ToDeviceOpGenericAdaptorBase

Public Member Functions

 ToDeviceOpAdaptor (ToDeviceOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 ToDeviceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ToDeviceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ToDeviceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ToDeviceOp, typename = std::enable_if_t<std::is_same_v<LateInst, ToDeviceOp>>>
 ToDeviceOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::ToDeviceOpGenericAdaptor<::mlir::ValueRange >
 ToDeviceOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ToDeviceOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ToDeviceOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs=nullptr)
 
 ToDeviceOpGenericAdaptor (::mlir::ValueRange values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::ValueRange getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getDevice ()
 
::mlir::ValueRange getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::ToDeviceOpGenericAdaptorBase
 ToDeviceOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ToDeviceOpGenericAdaptorBase (ToDeviceOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::tt::ttnn::MemoryConfigAttr getMemoryConfigAttr ()
 
::std::optional<::mlir::tt::ttnn::MemoryConfigAttrgetMemoryConfig ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ToDeviceOpAdaptor()

mlir::tt::ttnn::ToDeviceOpAdaptor::ToDeviceOpAdaptor ( ToDeviceOp  op)

Member Function Documentation

◆ ToDeviceOpGenericAdaptor() [1/4]

◆ ToDeviceOpGenericAdaptor() [2/4]

◆ ToDeviceOpGenericAdaptor() [3/4]

◆ ToDeviceOpGenericAdaptor() [4/4]

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

◆ verify()

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

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