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

Public Member Functions

 AllocOpAdaptor (AllocOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 AllocOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 AllocOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 AllocOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = AllocOp, typename = std::enable_if_t<std::is_same_v<LateInst, AllocOp>>>
 AllocOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::AllocOpGenericAdaptor< RangeT >
 AllocOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 AllocOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 AllocOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = AllocOp, typename = std::enable_if_t<std::is_same_v<LateInst, AllocOp>>>
 AllocOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::AllocOpGenericAdaptorBase
 AllocOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 AllocOpGenericAdaptorBase (AllocOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::IntegerAttr getAddressAttr ()
 
uint64_t getAddress ()
 
::mlir::IntegerAttr getSizeAttr ()
 
uint64_t getSize ()
 
::mlir::tt::ttnn::BufferTypeAttr getBufferTypeAttr ()
 
::mlir::tt::ttnn::BufferType getBufferType ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ AllocOpAdaptor()

mlir::tt::ttnn::AllocOpAdaptor::AllocOpAdaptor ( AllocOp  op)

Member Function Documentation

◆ AllocOpGenericAdaptor() [1/4]

◆ AllocOpGenericAdaptor() [2/4]

◆ AllocOpGenericAdaptor() [3/4]

◆ AllocOpGenericAdaptor() [4/4]

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

◆ verify()

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

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