TT-MLIR
|
Public Types | |
using | Adaptor = MaxPool2dOpAdaptor |
template<typename RangeT > | |
using | GenericAdaptor = MaxPool2dOpGenericAdaptor< RangeT > |
using | FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > > |
using | Properties = FoldAdaptor::Properties |
Public Member Functions | |
static ::llvm::ArrayRef<::llvm::StringRef > | getAttributeNames () |
::mlir::StringAttr | getCeilModeAttrName () |
::mlir::StringAttr | getDilationHeightAttrName () |
::mlir::StringAttr | getDilationWidthAttrName () |
::mlir::StringAttr | getKernelHeightAttrName () |
::mlir::StringAttr | getKernelWidthAttrName () |
::mlir::StringAttr | getOperandConstraintsAttrName () |
::mlir::StringAttr | getPaddingBottomAttrName () |
::mlir::StringAttr | getPaddingLeftAttrName () |
::mlir::StringAttr | getPaddingRightAttrName () |
::mlir::StringAttr | getPaddingTopAttrName () |
::mlir::StringAttr | getStrideHeightAttrName () |
::mlir::StringAttr | getStrideWidthAttrName () |
std::pair< unsigned, unsigned > | getODSOperandIndexAndLength (unsigned index) |
::mlir::Operation::operand_range | getODSOperands (unsigned index) |
::mlir::TypedValue<::mlir::RankedTensorType > | getInput () |
::mlir::TypedValue<::mlir::RankedTensorType > | getOutput () |
::mlir::OpOperand & | getInputMutable () |
::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::IntegerAttr | getKernelHeightAttr () |
int32_t | getKernelHeight () |
::mlir::IntegerAttr | getKernelWidthAttr () |
int32_t | getKernelWidth () |
::mlir::IntegerAttr | getStrideHeightAttr () |
int32_t | getStrideHeight () |
::mlir::IntegerAttr | getStrideWidthAttr () |
int32_t | getStrideWidth () |
::mlir::IntegerAttr | getDilationHeightAttr () |
int32_t | getDilationHeight () |
::mlir::IntegerAttr | getDilationWidthAttr () |
int32_t | getDilationWidth () |
::mlir::BoolAttr | getCeilModeAttr () |
bool | getCeilMode () |
::mlir::IntegerAttr | getPaddingLeftAttr () |
int32_t | getPaddingLeft () |
::mlir::IntegerAttr | getPaddingRightAttr () |
int32_t | getPaddingRight () |
::mlir::IntegerAttr | getPaddingTopAttr () |
int32_t | getPaddingTop () |
::mlir::IntegerAttr | getPaddingBottomAttr () |
int32_t | getPaddingBottom () |
::mlir::ArrayAttr | getOperandConstraintsAttr () |
::mlir::ArrayAttr | getOperandConstraints () |
void | setKernelHeightAttr (::mlir::IntegerAttr attr) |
void | setKernelHeight (int32_t attrValue) |
void | setKernelWidthAttr (::mlir::IntegerAttr attr) |
void | setKernelWidth (int32_t attrValue) |
void | setStrideHeightAttr (::mlir::IntegerAttr attr) |
void | setStrideHeight (int32_t attrValue) |
void | setStrideWidthAttr (::mlir::IntegerAttr attr) |
void | setStrideWidth (int32_t attrValue) |
void | setDilationHeightAttr (::mlir::IntegerAttr attr) |
void | setDilationHeight (int32_t attrValue) |
void | setDilationWidthAttr (::mlir::IntegerAttr attr) |
void | setDilationWidth (int32_t attrValue) |
void | setCeilModeAttr (::mlir::BoolAttr attr) |
void | setCeilMode (bool attrValue) |
void | setPaddingLeftAttr (::mlir::IntegerAttr attr) |
void | setPaddingLeft (int32_t attrValue) |
void | setPaddingRightAttr (::mlir::IntegerAttr attr) |
void | setPaddingRight (int32_t attrValue) |
void | setPaddingTopAttr (::mlir::IntegerAttr attr) |
void | setPaddingTop (int32_t attrValue) |
void | setPaddingBottomAttr (::mlir::IntegerAttr attr) |
void | setPaddingBottom (int32_t attrValue) |
void | setOperandConstraintsAttr (::mlir::ArrayAttr attr) |
::llvm::LogicalResult | verifyInvariantsImpl () |
::llvm::LogicalResult | verifyInvariants () |
::llvm::LogicalResult | verify () |
MutableOperandRange | getDpsInitsMutable () |
Static Public Member Functions | |
::mlir::StringAttr | getCeilModeAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getDilationHeightAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getDilationWidthAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getKernelHeightAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getKernelWidthAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getOperandConstraintsAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getPaddingBottomAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getPaddingLeftAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getPaddingRightAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getPaddingTopAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getStrideHeightAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getStrideWidthAttrName (::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 output, ::mlir::IntegerAttr kernel_height, ::mlir::IntegerAttr kernel_width, ::mlir::IntegerAttr stride_height, ::mlir::IntegerAttr stride_width, ::mlir::IntegerAttr dilation_height, ::mlir::IntegerAttr dilation_width, ::mlir::BoolAttr ceil_mode, ::mlir::IntegerAttr padding_left, ::mlir::IntegerAttr padding_right, ::mlir::IntegerAttr padding_top, ::mlir::IntegerAttr padding_bottom, ::mlir::ArrayAttr operand_constraints) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::Value output, ::mlir::IntegerAttr kernel_height, ::mlir::IntegerAttr kernel_width, ::mlir::IntegerAttr stride_height, ::mlir::IntegerAttr stride_width, ::mlir::IntegerAttr dilation_height, ::mlir::IntegerAttr dilation_width, ::mlir::BoolAttr ceil_mode, ::mlir::IntegerAttr padding_left, ::mlir::IntegerAttr padding_right, ::mlir::IntegerAttr padding_top, ::mlir::IntegerAttr padding_bottom, ::mlir::ArrayAttr operand_constraints) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input, ::mlir::Value output, int32_t kernel_height, int32_t kernel_width, int32_t stride_height, int32_t stride_width, int32_t dilation_height, int32_t dilation_width, bool ceil_mode, int32_t padding_left, int32_t padding_right, int32_t padding_top, int32_t padding_bottom, ::mlir::ArrayAttr operand_constraints) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::Value output, int32_t kernel_height, int32_t kernel_width, int32_t stride_height, int32_t stride_width, int32_t dilation_height, int32_t dilation_width, bool ceil_mode, int32_t padding_left, int32_t padding_right, int32_t padding_top, int32_t padding_bottom, ::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::MaxPool2dOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> > |
using mlir::tt::ttir::MaxPool2dOp::GenericAdaptor = MaxPool2dOpGenericAdaptor<RangeT> |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestaticprivate |
|
inlineprivate |
|
inline |
bool mlir::tt::ttir::MaxPool2dOp::getCeilMode | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttir::MaxPool2dOp::getDilationHeight | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttir::MaxPool2dOp::getDilationWidth | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
static |
|
inline |
|
inline |
int32_t mlir::tt::ttir::MaxPool2dOp::getKernelHeight | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttir::MaxPool2dOp::getKernelWidth | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
mlir::ArrayAttr mlir::tt::ttir::MaxPool2dOp::getOperandConstraints | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
int32_t mlir::tt::ttir::MaxPool2dOp::getPaddingBottom | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttir::MaxPool2dOp::getPaddingLeft | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttir::MaxPool2dOp::getPaddingRight | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttir::MaxPool2dOp::getPaddingTop | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
static |
|
inline |
int32_t mlir::tt::ttir::MaxPool2dOp::getStrideHeight | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttir::MaxPool2dOp::getStrideWidth | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
static |
|
static |
void mlir::tt::ttir::MaxPool2dOp::setCeilMode | ( | bool | attrValue | ) |
|
inline |
void mlir::tt::ttir::MaxPool2dOp::setDilationHeight | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttir::MaxPool2dOp::setDilationWidth | ( | int32_t | attrValue | ) |
|
inline |
|
static |
void mlir::tt::ttir::MaxPool2dOp::setKernelHeight | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttir::MaxPool2dOp::setKernelWidth | ( | int32_t | attrValue | ) |
|
inline |
|
inline |
void mlir::tt::ttir::MaxPool2dOp::setPaddingBottom | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttir::MaxPool2dOp::setPaddingLeft | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttir::MaxPool2dOp::setPaddingRight | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttir::MaxPool2dOp::setPaddingTop | ( | int32_t | attrValue | ) |
|
inline |
|
static |
void mlir::tt::ttir::MaxPool2dOp::setStrideHeight | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttir::MaxPool2dOp::setStrideWidth | ( | int32_t | attrValue | ) |
|
inline |
::llvm::LogicalResult mlir::tt::ttir::MaxPool2dOp::verify | ( | ) |
|
static |
llvm::LogicalResult mlir::tt::ttir::MaxPool2dOp::verifyInvariants | ( | ) |
llvm::LogicalResult mlir::tt::ttir::MaxPool2dOp::verifyInvariantsImpl | ( | ) |
void mlir::tt::ttir::MaxPool2dOp::writeProperties | ( | ::mlir::DialectBytecodeWriter & | writer | ) |