TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttmetal::AllocOpAdaptor Class Reference
Inheritance diagram for mlir::tt::ttmetal::AllocOpAdaptor:
mlir::tt::ttmetal::AllocOpGenericAdaptor< RangeT > mlir::tt::ttmetal::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::ttmetal::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::ttmetal::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::MemorySpaceAttr getMemorySpaceAttr ()
 
::mlir::tt::MemorySpace getMemorySpace ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ AllocOpAdaptor()

mlir::tt::ttmetal::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::ttmetal::AllocOpGenericAdaptor< RangeT >::AllocOpGenericAdaptor ( typename LateInst  = AllocOp,
typename  = std::enable_if_t<std::is_same_v<LateInst, AllocOp>> 
)
inline

◆ verify()

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

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