#ifdef GET_OP_LIST
#undef GET_OP_LIST
::mlir::linalg::IndexOp,
::mlir::linalg::SoftmaxOp,
::mlir::linalg::WinogradFilterTransformOp,
::mlir::linalg::WinogradInputTransformOp,
::mlir::linalg::WinogradOutputTransformOp,
::mlir::linalg::YieldOp
#endif
#ifdef GET_OP_CLASSES
#undef GET_OP_CLASSES
namespace mlir {
namespace linalg {
static ::llvm::LogicalResult __mlir_ods_local_type_constraint_LinalgOps1(
::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind,
unsigned valueIndex) { … }
static ::llvm::LogicalResult __mlir_ods_local_type_constraint_LinalgOps2(
::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind,
unsigned valueIndex) { … }
static ::llvm::LogicalResult __mlir_ods_local_type_constraint_LinalgOps3(
::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind,
unsigned valueIndex) { … }
static ::llvm::LogicalResult __mlir_ods_local_type_constraint_LinalgOps4(
::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind,
unsigned valueIndex) { … }
static ::llvm::LogicalResult __mlir_ods_local_type_constraint_LinalgOps5(
::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind,
unsigned valueIndex) { … }
static ::llvm::LogicalResult __mlir_ods_local_type_constraint_LinalgOps6(
::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind,
unsigned valueIndex) { … }
static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_LinalgOps1(
::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_LinalgOps1(
::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName) { … }
static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_LinalgOps2(
::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_LinalgOps2(
::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName) { … }
}
}
namespace mlir {
namespace linalg {
namespace detail {
IndexOpGenericAdaptorBase::IndexOpGenericAdaptorBase(IndexOp op) : … { … }
uint64_t IndexOpGenericAdaptorBase::getDim() { … }
}
IndexOpAdaptor::IndexOpAdaptor(IndexOp op) : … { … }
::llvm::LogicalResult IndexOpAdaptor::verify(::mlir::Location loc) { … }
::llvm::LogicalResult IndexOp::setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
::mlir::Attribute IndexOp::getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop) { … }
llvm::hash_code IndexOp::computePropertiesHash(const Properties &prop) { … }
std::optional<mlir::Attribute> IndexOp::getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name) { … }
void IndexOp::setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value) { … }
void IndexOp::populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs) { … }
::llvm::LogicalResult IndexOp::verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
::llvm::LogicalResult IndexOp::readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state) { … }
void IndexOp::writeProperties(::mlir::DialectBytecodeWriter &writer) { … }
uint64_t IndexOp::getDim() { … }
void IndexOp::setDim(uint64_t attrValue) { … }
void IndexOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::IntegerAttr dim) { … }
void IndexOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::IntegerAttr dim) { … }
void IndexOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::IntegerAttr dim) { … }
void IndexOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, uint64_t dim) { … }
void IndexOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, uint64_t dim) { … }
void IndexOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, uint64_t dim) { … }
void IndexOp::build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { … }
void IndexOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { … }
::llvm::LogicalResult IndexOp::verifyInvariantsImpl() { … }
::llvm::LogicalResult IndexOp::verifyInvariants() { … }
::llvm::LogicalResult IndexOp::inferReturnTypes(::mlir::MLIRContext *context, ::std::optional<::mlir::Location> location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type>&inferredReturnTypes) { … }
::mlir::ParseResult IndexOp::parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result) { … }
void IndexOp::print(::mlir::OpAsmPrinter &_odsPrinter) { … }
void IndexOp::getEffects(::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect>> &effects) { … }
}
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::linalg::IndexOp)
namespace mlir {
namespace linalg {
namespace detail {
SoftmaxOpGenericAdaptorBase::SoftmaxOpGenericAdaptorBase(SoftmaxOp op) : … { … }
uint64_t SoftmaxOpGenericAdaptorBase::getDimension() { … }
}
SoftmaxOpAdaptor::SoftmaxOpAdaptor(SoftmaxOp op) : … { … }
::llvm::LogicalResult SoftmaxOpAdaptor::verify(::mlir::Location loc) { … }
std::pair<unsigned, unsigned> SoftmaxOp::getODSResultIndexAndLength(unsigned index) { … }
::llvm::LogicalResult SoftmaxOp::setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
::mlir::Attribute SoftmaxOp::getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop) { … }
llvm::hash_code SoftmaxOp::computePropertiesHash(const Properties &prop) { … }
std::optional<mlir::Attribute> SoftmaxOp::getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name) { … }
void SoftmaxOp::setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value) { … }
void SoftmaxOp::populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs) { … }
::llvm::LogicalResult SoftmaxOp::verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
::llvm::LogicalResult SoftmaxOp::readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state) { … }
void SoftmaxOp::writeProperties(::mlir::DialectBytecodeWriter &writer) { … }
uint64_t SoftmaxOp::getDimension() { … }
void SoftmaxOp::setDimension(uint64_t attrValue) { … }
void SoftmaxOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange result, ::mlir::Value input, ::mlir::Value output, ::mlir::IntegerAttr dimension) { … }
void SoftmaxOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange result, ::mlir::Value input, ::mlir::Value output, uint64_t dimension) { … }
void SoftmaxOp::build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { … }
::llvm::LogicalResult SoftmaxOp::verifyInvariantsImpl() { … }
::llvm::LogicalResult SoftmaxOp::verifyInvariants() { … }
::mlir::ParseResult SoftmaxOp::parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result) { … }
void SoftmaxOp::print(::mlir::OpAsmPrinter &_odsPrinter) { … }
}
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::linalg::SoftmaxOp)
namespace mlir {
namespace linalg {
namespace detail {
WinogradFilterTransformOpGenericAdaptorBase::WinogradFilterTransformOpGenericAdaptorBase(WinogradFilterTransformOp op) : … { … }
uint64_t WinogradFilterTransformOpGenericAdaptorBase::getM() { … }
uint64_t WinogradFilterTransformOpGenericAdaptorBase::getR() { … }
}
WinogradFilterTransformOpAdaptor::WinogradFilterTransformOpAdaptor(WinogradFilterTransformOp op) : … { … }
::llvm::LogicalResult WinogradFilterTransformOpAdaptor::verify(::mlir::Location loc) { … }
::llvm::LogicalResult WinogradFilterTransformOp::setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
::mlir::Attribute WinogradFilterTransformOp::getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop) { … }
llvm::hash_code WinogradFilterTransformOp::computePropertiesHash(const Properties &prop) { … }
std::optional<mlir::Attribute> WinogradFilterTransformOp::getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name) { … }
void WinogradFilterTransformOp::setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value) { … }
void WinogradFilterTransformOp::populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs) { … }
::llvm::LogicalResult WinogradFilterTransformOp::verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
::llvm::LogicalResult WinogradFilterTransformOp::readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state) { … }
void WinogradFilterTransformOp::writeProperties(::mlir::DialectBytecodeWriter &writer) { … }
uint64_t WinogradFilterTransformOp::getM() { … }
uint64_t WinogradFilterTransformOp::getR() { … }
void WinogradFilterTransformOp::setM(uint64_t attrValue) { … }
void WinogradFilterTransformOp::setR(uint64_t attrValue) { … }
void WinogradFilterTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value filter, ::mlir::Value output, ::mlir::IntegerAttr m, ::mlir::IntegerAttr r) { … }
void WinogradFilterTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value filter, ::mlir::Value output, ::mlir::IntegerAttr m, ::mlir::IntegerAttr r) { … }
void WinogradFilterTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value filter, ::mlir::Value output, uint64_t m, uint64_t r) { … }
void WinogradFilterTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value filter, ::mlir::Value output, uint64_t m, uint64_t r) { … }
void WinogradFilterTransformOp::build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { … }
::llvm::LogicalResult WinogradFilterTransformOp::verifyInvariantsImpl() { … }
::llvm::LogicalResult WinogradFilterTransformOp::verifyInvariants() { … }
::mlir::ParseResult WinogradFilterTransformOp::parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result) { … }
void WinogradFilterTransformOp::print(::mlir::OpAsmPrinter &_odsPrinter) { … }
}
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::linalg::WinogradFilterTransformOp)
namespace mlir {
namespace linalg {
namespace detail {
WinogradInputTransformOpGenericAdaptorBase::WinogradInputTransformOpGenericAdaptorBase(WinogradInputTransformOp op) : … { … }
uint64_t WinogradInputTransformOpGenericAdaptorBase::getM() { … }
uint64_t WinogradInputTransformOpGenericAdaptorBase::getR() { … }
}
WinogradInputTransformOpAdaptor::WinogradInputTransformOpAdaptor(WinogradInputTransformOp op) : … { … }
::llvm::LogicalResult WinogradInputTransformOpAdaptor::verify(::mlir::Location loc) { … }
::llvm::LogicalResult WinogradInputTransformOp::setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
::mlir::Attribute WinogradInputTransformOp::getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop) { … }
llvm::hash_code WinogradInputTransformOp::computePropertiesHash(const Properties &prop) { … }
std::optional<mlir::Attribute> WinogradInputTransformOp::getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name) { … }
void WinogradInputTransformOp::setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value) { … }
void WinogradInputTransformOp::populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs) { … }
::llvm::LogicalResult WinogradInputTransformOp::verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
::llvm::LogicalResult WinogradInputTransformOp::readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state) { … }
void WinogradInputTransformOp::writeProperties(::mlir::DialectBytecodeWriter &writer) { … }
uint64_t WinogradInputTransformOp::getM() { … }
uint64_t WinogradInputTransformOp::getR() { … }
void WinogradInputTransformOp::setM(uint64_t attrValue) { … }
void WinogradInputTransformOp::setR(uint64_t attrValue) { … }
void WinogradInputTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input, ::mlir::Value output, ::mlir::IntegerAttr m, ::mlir::IntegerAttr r) { … }
void WinogradInputTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::Value output, ::mlir::IntegerAttr m, ::mlir::IntegerAttr r) { … }
void WinogradInputTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input, ::mlir::Value output, uint64_t m, uint64_t r) { … }
void WinogradInputTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::Value output, uint64_t m, uint64_t r) { … }
void WinogradInputTransformOp::build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { … }
::llvm::LogicalResult WinogradInputTransformOp::verifyInvariantsImpl() { … }
::llvm::LogicalResult WinogradInputTransformOp::verifyInvariants() { … }
::mlir::ParseResult WinogradInputTransformOp::parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result) { … }
void WinogradInputTransformOp::print(::mlir::OpAsmPrinter &_odsPrinter) { … }
}
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::linalg::WinogradInputTransformOp)
namespace mlir {
namespace linalg {
namespace detail {
WinogradOutputTransformOpGenericAdaptorBase::WinogradOutputTransformOpGenericAdaptorBase(WinogradOutputTransformOp op) : … { … }
uint64_t WinogradOutputTransformOpGenericAdaptorBase::getM() { … }
uint64_t WinogradOutputTransformOpGenericAdaptorBase::getR() { … }
}
WinogradOutputTransformOpAdaptor::WinogradOutputTransformOpAdaptor(WinogradOutputTransformOp op) : … { … }
::llvm::LogicalResult WinogradOutputTransformOpAdaptor::verify(::mlir::Location loc) { … }
::llvm::LogicalResult WinogradOutputTransformOp::setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
::mlir::Attribute WinogradOutputTransformOp::getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop) { … }
llvm::hash_code WinogradOutputTransformOp::computePropertiesHash(const Properties &prop) { … }
std::optional<mlir::Attribute> WinogradOutputTransformOp::getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name) { … }
void WinogradOutputTransformOp::setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value) { … }
void WinogradOutputTransformOp::populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs) { … }
::llvm::LogicalResult WinogradOutputTransformOp::verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) { … }
::llvm::LogicalResult WinogradOutputTransformOp::readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state) { … }
void WinogradOutputTransformOp::writeProperties(::mlir::DialectBytecodeWriter &writer) { … }
uint64_t WinogradOutputTransformOp::getM() { … }
uint64_t WinogradOutputTransformOp::getR() { … }
void WinogradOutputTransformOp::setM(uint64_t attrValue) { … }
void WinogradOutputTransformOp::setR(uint64_t attrValue) { … }
void WinogradOutputTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value value, ::mlir::Value output, ::mlir::IntegerAttr m, ::mlir::IntegerAttr r) { … }
void WinogradOutputTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value value, ::mlir::Value output, ::mlir::IntegerAttr m, ::mlir::IntegerAttr r) { … }
void WinogradOutputTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value value, ::mlir::Value output, uint64_t m, uint64_t r) { … }
void WinogradOutputTransformOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value value, ::mlir::Value output, uint64_t m, uint64_t r) { … }
void WinogradOutputTransformOp::build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { … }
::llvm::LogicalResult WinogradOutputTransformOp::verifyInvariantsImpl() { … }
::llvm::LogicalResult WinogradOutputTransformOp::verifyInvariants() { … }
::mlir::ParseResult WinogradOutputTransformOp::parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result) { … }
void WinogradOutputTransformOp::print(::mlir::OpAsmPrinter &_odsPrinter) { … }
}
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::linalg::WinogradOutputTransformOp)
namespace mlir {
namespace linalg {
namespace detail {
std::pair<unsigned, unsigned> YieldOpGenericAdaptorBase::getODSOperandIndexAndLength(unsigned index, unsigned odsOperandsSize) { … }
}
YieldOpAdaptor::YieldOpAdaptor(YieldOp op) : … { … }
::llvm::LogicalResult YieldOpAdaptor::verify(::mlir::Location loc) { … }
std::pair<unsigned, unsigned> YieldOp::getODSOperandIndexAndLength(unsigned index) { … }
::mlir::MutableOperandRange YieldOp::getValuesMutable() { … }
void YieldOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState) { … }
void YieldOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange values) { … }
void YieldOp::build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { … }
::llvm::LogicalResult YieldOp::verifyInvariantsImpl() { … }
::llvm::LogicalResult YieldOp::verifyInvariants() { … }
void YieldOp::getEffects(::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect>> &effects) { … }
::mlir::MutableOperandRange YieldOp::getMutableSuccessorOperands(
::mlir::RegionBranchPoint point) { … }
}
}
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::linalg::YieldOp)
#endif