TT-MLIR
Public Member Functions | Private Types | Private Attributes | List of all members
mlir::tt::ttir::GatherOpGenericAdaptor< RangeT > Class Template Reference
Inheritance diagram for mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >:
mlir::tt::ttir::detail::GatherOpGenericAdaptorBase

Public Member Functions

 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)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getStartIndices ()
 
ValueT getOutput ()
 
RangeT 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 ()
 

Private Types

using ValueT = ::llvm::detail::ValueOfRange< RangeT >
 
using Base = detail::GatherOpGenericAdaptorBase
 

Private Attributes

RangeT odsOperands
 

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
 

Member Typedef Documentation

◆ Base

template<typename RangeT >
using mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::Base = detail::GatherOpGenericAdaptorBase
private

◆ ValueT

template<typename RangeT >
using mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::ValueT = ::llvm::detail::ValueOfRange<RangeT>
private

Constructor & Destructor Documentation

◆ GatherOpGenericAdaptor() [1/4]

template<typename RangeT >
mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::GatherOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs,
const Properties properties,
::mlir::RegionRange  regions = {} 
)
inline

◆ GatherOpGenericAdaptor() [2/4]

template<typename RangeT >
mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::GatherOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs,
::mlir::OpaqueProperties  properties,
::mlir::RegionRange  regions = {} 
)
inline

◆ GatherOpGenericAdaptor() [3/4]

template<typename RangeT >
mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::GatherOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs = nullptr 
)
inline

◆ GatherOpGenericAdaptor() [4/4]

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

Member Function Documentation

◆ getInput()

template<typename RangeT >
ValueT mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::getInput ( )
inline

◆ getODSOperandIndexAndLength()

template<typename RangeT >
std::pair<unsigned, unsigned> mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::getODSOperandIndexAndLength ( unsigned  index)
inline

◆ getODSOperands()

template<typename RangeT >
RangeT mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::getODSOperands ( unsigned  index)
inline

◆ getOperands()

template<typename RangeT >
RangeT mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::getOperands ( )
inline

◆ getOutput()

template<typename RangeT >
ValueT mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::getOutput ( )
inline

◆ getStartIndices()

template<typename RangeT >
ValueT mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::getStartIndices ( )
inline

Member Data Documentation

◆ odsOperands

template<typename RangeT >
RangeT mlir::tt::ttir::GatherOpGenericAdaptor< RangeT >::odsOperands
private

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