TT-MLIR
|
Public Types | |
using | Adaptor = GatherOpAdaptor |
template<typename RangeT > | |
using | GenericAdaptor = GatherOpGenericAdaptor< RangeT > |
using | FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > > |
using | Properties = FoldAdaptor::Properties |
Public Member Functions | |
static ::llvm::ArrayRef<::llvm::StringRef > | getAttributeNames () |
::mlir::StringAttr | getCollapsedSliceDimsAttrName () |
::mlir::StringAttr | getIndexVectorDimAttrName () |
::mlir::StringAttr | getIndicesAreSortedAttrName () |
::mlir::StringAttr | getOffsetDimsAttrName () |
::mlir::StringAttr | getOperandBatchingDimsAttrName () |
::mlir::StringAttr | getOperandConstraintsAttrName () |
::mlir::StringAttr | getSliceSizesAttrName () |
::mlir::StringAttr | getStartIndexMapAttrName () |
::mlir::StringAttr | getStartIndicesBatchingDimsAttrName () |
std::pair< unsigned, unsigned > | getODSOperandIndexAndLength (unsigned index) |
::mlir::Operation::operand_range | getODSOperands (unsigned index) |
::mlir::TypedValue<::mlir::RankedTensorType > | getInput () |
::mlir::TypedValue<::mlir::RankedTensorType > | getStartIndices () |
::mlir::TypedValue<::mlir::RankedTensorType > | getOutput () |
::mlir::OpOperand & | getInputMutable () |
::mlir::OpOperand & | getStartIndicesMutable () |
::mlir::OpOperand & | getOutputMutable () |
std::pair< unsigned, unsigned > | getODSResultIndexAndLength (unsigned index) |
::mlir::Operation::result_range | getODSResults (unsigned index) |
::mlir::TypedValue<::mlir::RankedTensorType > | getResult () |
void | writeProperties (::mlir::DialectBytecodeWriter &writer) |
::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 () |
void | setOffsetDimsAttr (::mlir::DenseI64ArrayAttr attr) |
void | setOffsetDims (::llvm::ArrayRef< int64_t > attrValue) |
void | setCollapsedSliceDimsAttr (::mlir::DenseI64ArrayAttr attr) |
void | setCollapsedSliceDims (::llvm::ArrayRef< int64_t > attrValue) |
void | setOperandBatchingDimsAttr (::mlir::DenseI64ArrayAttr attr) |
void | setOperandBatchingDims (::llvm::ArrayRef< int64_t > attrValue) |
void | setStartIndicesBatchingDimsAttr (::mlir::DenseI64ArrayAttr attr) |
void | setStartIndicesBatchingDims (::llvm::ArrayRef< int64_t > attrValue) |
void | setStartIndexMapAttr (::mlir::DenseI64ArrayAttr attr) |
void | setStartIndexMap (::llvm::ArrayRef< int64_t > attrValue) |
void | setIndexVectorDimAttr (::mlir::IntegerAttr attr) |
void | setIndexVectorDim (int64_t attrValue) |
void | setSliceSizesAttr (::mlir::DenseI64ArrayAttr attr) |
void | setSliceSizes (::llvm::ArrayRef< int64_t > attrValue) |
void | setIndicesAreSortedAttr (::mlir::BoolAttr attr) |
void | setIndicesAreSorted (bool attrValue) |
void | setOperandConstraintsAttr (::mlir::ArrayAttr attr) |
::llvm::LogicalResult | verifyInvariantsImpl () |
::llvm::LogicalResult | verifyInvariants () |
MutableOperandRange | getDpsInitsMutable () |
Static Public Member Functions | |
::mlir::StringAttr | getCollapsedSliceDimsAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getIndexVectorDimAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getIndicesAreSortedAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getOffsetDimsAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getOperandBatchingDimsAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getOperandConstraintsAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getSliceSizesAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getStartIndexMapAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getStartIndicesBatchingDimsAttrName (::mlir::OperationName name) |
static constexpr ::llvm::StringLiteral | getOperationName () |
::llvm::LogicalResult | setPropertiesFromAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) |
::mlir::Attribute | getPropertiesAsAttr (::mlir::MLIRContext *ctx, const Properties &prop) |
static llvm::hash_code | computePropertiesHash (const Properties &prop) |
static std::optional< mlir::Attribute > | getInherentAttr (::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name) |
static void | setInherentAttr (Properties &prop, llvm::StringRef name, mlir::Attribute value) |
static void | populateInherentAttrs (::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs) |
::llvm::LogicalResult | verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) |
::llvm::LogicalResult | readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input, ::mlir::Value start_indices, ::mlir::Value output, ::mlir::DenseI64ArrayAttr offset_dims, ::mlir::DenseI64ArrayAttr collapsed_slice_dims, ::mlir::DenseI64ArrayAttr operand_batching_dims, ::mlir::DenseI64ArrayAttr start_indices_batching_dims, ::mlir::DenseI64ArrayAttr start_index_map, ::mlir::IntegerAttr index_vector_dim, ::mlir::DenseI64ArrayAttr slice_sizes, ::mlir::BoolAttr indices_are_sorted, ::mlir::ArrayAttr operand_constraints) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::Value start_indices, ::mlir::Value output, ::mlir::DenseI64ArrayAttr offset_dims, ::mlir::DenseI64ArrayAttr collapsed_slice_dims, ::mlir::DenseI64ArrayAttr operand_batching_dims, ::mlir::DenseI64ArrayAttr start_indices_batching_dims, ::mlir::DenseI64ArrayAttr start_index_map, ::mlir::IntegerAttr index_vector_dim, ::mlir::DenseI64ArrayAttr slice_sizes, ::mlir::BoolAttr indices_are_sorted, ::mlir::ArrayAttr operand_constraints) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input, ::mlir::Value start_indices, ::mlir::Value output, ::llvm::ArrayRef< int64_t > offset_dims, ::llvm::ArrayRef< int64_t > collapsed_slice_dims, ::llvm::ArrayRef< int64_t > operand_batching_dims, ::llvm::ArrayRef< int64_t > start_indices_batching_dims, ::llvm::ArrayRef< int64_t > start_index_map, int64_t index_vector_dim, ::llvm::ArrayRef< int64_t > slice_sizes, bool indices_are_sorted, ::mlir::ArrayAttr operand_constraints) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::Value start_indices, ::mlir::Value output, ::llvm::ArrayRef< int64_t > offset_dims, ::llvm::ArrayRef< int64_t > collapsed_slice_dims, ::llvm::ArrayRef< int64_t > operand_batching_dims, ::llvm::ArrayRef< int64_t > start_indices_batching_dims, ::llvm::ArrayRef< int64_t > start_index_map, int64_t index_vector_dim, ::llvm::ArrayRef< int64_t > slice_sizes, bool indices_are_sorted, ::mlir::ArrayAttr operand_constraints) |
static void | build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={}) |
Private Member Functions | |
::mlir::StringAttr | getAttributeNameForIndex (unsigned index) |
Static Private Member Functions | |
::mlir::StringAttr | getAttributeNameForIndex (::mlir::OperationName name, unsigned index) |
using mlir::tt::ttir::GatherOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> > |
using mlir::tt::ttir::GatherOp::GenericAdaptor = GatherOpGenericAdaptor<RangeT> |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestaticprivate |
|
inlineprivate |
|
inline |
llvm::ArrayRef< int64_t > mlir::tt::ttir::GatherOp::getCollapsedSliceDims | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
int64_t mlir::tt::ttir::GatherOp::getIndexVectorDim | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
bool mlir::tt::ttir::GatherOp::getIndicesAreSorted | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
llvm::ArrayRef< int64_t > mlir::tt::ttir::GatherOp::getOffsetDims | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
llvm::ArrayRef< int64_t > mlir::tt::ttir::GatherOp::getOperandBatchingDims | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
mlir::ArrayAttr mlir::tt::ttir::GatherOp::getOperandConstraints | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
static |
|
inline |
llvm::ArrayRef< int64_t > mlir::tt::ttir::GatherOp::getSliceSizes | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
llvm::ArrayRef< int64_t > mlir::tt::ttir::GatherOp::getStartIndexMap | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
llvm::ArrayRef< int64_t > mlir::tt::ttir::GatherOp::getStartIndicesBatchingDims | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
static |
|
static |
void mlir::tt::ttir::GatherOp::setCollapsedSliceDims | ( | ::llvm::ArrayRef< int64_t > | attrValue | ) |
|
inline |
void mlir::tt::ttir::GatherOp::setIndexVectorDim | ( | int64_t | attrValue | ) |
|
inline |
void mlir::tt::ttir::GatherOp::setIndicesAreSorted | ( | bool | attrValue | ) |
|
inline |
|
static |
void mlir::tt::ttir::GatherOp::setOffsetDims | ( | ::llvm::ArrayRef< int64_t > | attrValue | ) |
|
inline |
void mlir::tt::ttir::GatherOp::setOperandBatchingDims | ( | ::llvm::ArrayRef< int64_t > | attrValue | ) |
|
inline |
|
inline |
|
static |
void mlir::tt::ttir::GatherOp::setSliceSizes | ( | ::llvm::ArrayRef< int64_t > | attrValue | ) |
|
inline |
void mlir::tt::ttir::GatherOp::setStartIndexMap | ( | ::llvm::ArrayRef< int64_t > | attrValue | ) |
|
inline |
void mlir::tt::ttir::GatherOp::setStartIndicesBatchingDims | ( | ::llvm::ArrayRef< int64_t > | attrValue | ) |
|
inline |
|
static |
llvm::LogicalResult mlir::tt::ttir::GatherOp::verifyInvariants | ( | ) |
llvm::LogicalResult mlir::tt::ttir::GatherOp::verifyInvariantsImpl | ( | ) |
void mlir::tt::ttir::GatherOp::writeProperties | ( | ::mlir::DialectBytecodeWriter & | writer | ) |