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

Public Member Functions

 GatherOpAdaptor (GatherOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 GatherOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 GatherOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 GatherOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = GatherOp, typename = std::enable_if_t<std::is_same_v<LateInst, GatherOp>>>
 GatherOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttir::GatherOpGenericAdaptor<::mlir::ValueRange >
 GatherOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 GatherOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 GatherOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs=nullptr)
 
 GatherOpGenericAdaptor (::mlir::ValueRange values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::ValueRange getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getStartIndices ()
 
ValueT getOutput ()
 
::mlir::ValueRange getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttir::detail::GatherOpGenericAdaptorBase
 GatherOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 GatherOpGenericAdaptorBase (GatherOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::DenseI64ArrayAttr getOffsetDimsAttr ()
 
::llvm::ArrayRef< int64_t > getOffsetDims ()
 
::mlir::DenseI64ArrayAttr getCollapsedSliceDimsAttr ()
 
::llvm::ArrayRef< int64_t > getCollapsedSliceDims ()
 
::mlir::DenseI64ArrayAttr getOperandBatchingDimsAttr ()
 
::llvm::ArrayRef< int64_t > getOperandBatchingDims ()
 
::mlir::DenseI64ArrayAttr getStartIndicesBatchingDimsAttr ()
 
::llvm::ArrayRef< int64_t > getStartIndicesBatchingDims ()
 
::mlir::DenseI64ArrayAttr getStartIndexMapAttr ()
 
::llvm::ArrayRef< int64_t > getStartIndexMap ()
 
::mlir::IntegerAttr getIndexVectorDimAttr ()
 
int64_t getIndexVectorDim ()
 
::mlir::DenseI64ArrayAttr getSliceSizesAttr ()
 
::llvm::ArrayRef< int64_t > getSliceSizes ()
 
::mlir::BoolAttr getIndicesAreSortedAttr ()
 
bool getIndicesAreSorted ()
 
::mlir::ArrayAttr getOperandConstraintsAttr ()
 
::mlir::ArrayAttr getOperandConstraints ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ GatherOpAdaptor()

mlir::tt::ttir::GatherOpAdaptor::GatherOpAdaptor ( GatherOp  op)

Member Function Documentation

◆ GatherOpGenericAdaptor() [1/4]

◆ GatherOpGenericAdaptor() [2/4]

◆ GatherOpGenericAdaptor() [3/4]

◆ GatherOpGenericAdaptor() [4/4]

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

◆ verify()

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

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