TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttir::ScatterOpAdaptor Class Reference
Inheritance diagram for mlir::tt::ttir::ScatterOpAdaptor:
mlir::tt::ttir::ScatterOpGenericAdaptor<::mlir::ValueRange > mlir::tt::ttir::detail::ScatterOpGenericAdaptorBase

Public Member Functions

 ScatterOpAdaptor (ScatterOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 ScatterOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ScatterOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ScatterOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ScatterOp, typename = std::enable_if_t<std::is_same_v<LateInst, ScatterOp>>>
 ScatterOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttir::ScatterOpGenericAdaptor<::mlir::ValueRange >
 ScatterOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ScatterOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ScatterOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs=nullptr)
 
 ScatterOpGenericAdaptor (::mlir::ValueRange values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::ValueRange getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getScatterIndices ()
 
ValueT getUpdate ()
 
ValueT getOutput ()
 
::mlir::ValueRange getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttir::detail::ScatterOpGenericAdaptorBase
 ScatterOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ScatterOpGenericAdaptorBase (ScatterOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::DenseI32ArrayAttr getUpdateWindowDimsAttr ()
 
::llvm::ArrayRef< int32_t > getUpdateWindowDims ()
 
::mlir::DenseI32ArrayAttr getInsertedWindowDimsAttr ()
 
::llvm::ArrayRef< int32_t > getInsertedWindowDims ()
 
::mlir::DenseI32ArrayAttr getInputBatchingDimsAttr ()
 
::llvm::ArrayRef< int32_t > getInputBatchingDims ()
 
::mlir::DenseI32ArrayAttr getScatterIndicesBatchingDimsAttr ()
 
::llvm::ArrayRef< int32_t > getScatterIndicesBatchingDims ()
 
::mlir::DenseI32ArrayAttr getScatterDimsToOperandDimsAttr ()
 
::llvm::ArrayRef< int32_t > getScatterDimsToOperandDims ()
 
::mlir::IntegerAttr getIndexVectorDimAttr ()
 
uint32_t getIndexVectorDim ()
 
::mlir::BoolAttr getIndicesAreSortedAttr ()
 
bool getIndicesAreSorted ()
 
::mlir::BoolAttr getUniqueIndicesAttr ()
 
bool getUniqueIndices ()
 
::mlir::Region & getUpdateComputation ()
 
::mlir::RegionRange getRegions ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ScatterOpAdaptor()

mlir::tt::ttir::ScatterOpAdaptor::ScatterOpAdaptor ( ScatterOp  op)

Member Function Documentation

◆ ScatterOpGenericAdaptor() [1/4]

◆ ScatterOpGenericAdaptor() [2/4]

◆ ScatterOpGenericAdaptor() [3/4]

◆ ScatterOpGenericAdaptor() [4/4]

template<typename LateInst = ScatterOp, typename = std::enable_if_t<std::is_same_v<LateInst, ScatterOp>>>
mlir::tt::ttir::ScatterOpGenericAdaptor< RangeT >::ScatterOpGenericAdaptor ( typename LateInst  = ScatterOp,
typename  = std::enable_if_t<std::is_same_v<LateInst, ScatterOp>> 
)
inline

◆ verify()

llvm::LogicalResult mlir::tt::ttir::ScatterOpAdaptor::verify ( ::mlir::Location  loc)

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