llvm/tools/mlir/examples/transform/Ch3/include/MyExtension.cpp.inc

/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* Op Definitions                                                             *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|* From: MyExtension.td                                                       *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

#ifdef GET_OP_LIST
#undef GET_OP_LIST

::mlir::transform::CallToOp,
::mlir::transform::ChangeCallTargetOp
#endif  // GET_OP_LIST

#ifdef GET_OP_CLASSES
#undef GET_OP_CLASSES


//===----------------------------------------------------------------------===//
// Local Utility Method Definitions
//===----------------------------------------------------------------------===//

namespace mlir {
namespace transform {

static ::llvm::LogicalResult __mlir_ods_local_type_constraint_MyExtension1(
    ::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind,
    unsigned valueIndex) {}

static ::llvm::LogicalResult __mlir_ods_local_type_constraint_MyExtension2(
    ::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind,
    unsigned valueIndex) {}

static ::llvm::LogicalResult __mlir_ods_local_type_constraint_MyExtension3(
    ::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind,
    unsigned valueIndex) {}

static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_MyExtension1(
    ::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) {}
static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_MyExtension1(
    ::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName) {}
} // namespace transform
} // namespace mlir
namespace mlir {
namespace transform {

//===----------------------------------------------------------------------===//
// ::mlir::transform::CallToOp definitions
//===----------------------------------------------------------------------===//

namespace detail {
} // namespace detail
CallToOpAdaptor::CallToOpAdaptor(CallToOp op) :{}

::llvm::LogicalResult CallToOpAdaptor::verify(::mlir::Location loc) {}

void CallToOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type transformed, ::mlir::Value call) {}

void CallToOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value call) {}

void CallToOp::build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) {}

::llvm::LogicalResult CallToOp::verifyInvariantsImpl() {}

::llvm::LogicalResult CallToOp::verifyInvariants() {}

::mlir::ParseResult CallToOp::parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result) {}

void CallToOp::print(::mlir::OpAsmPrinter &_odsPrinter) {}

} // namespace transform
} // namespace mlir
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::transform::CallToOp)

namespace mlir {
namespace transform {

//===----------------------------------------------------------------------===//
// ::mlir::transform::ChangeCallTargetOp definitions
//===----------------------------------------------------------------------===//

namespace detail {
ChangeCallTargetOpGenericAdaptorBase::ChangeCallTargetOpGenericAdaptorBase(ChangeCallTargetOp op) :{}

::llvm::StringRef ChangeCallTargetOpGenericAdaptorBase::getNewTarget() {}

} // namespace detail
ChangeCallTargetOpAdaptor::ChangeCallTargetOpAdaptor(ChangeCallTargetOp op) :{}

::llvm::LogicalResult ChangeCallTargetOpAdaptor::verify(::mlir::Location loc) {}

::llvm::LogicalResult ChangeCallTargetOp::setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) {}

::mlir::Attribute ChangeCallTargetOp::getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop) {}

llvm::hash_code ChangeCallTargetOp::computePropertiesHash(const Properties &prop) {}

std::optional<mlir::Attribute> ChangeCallTargetOp::getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name) {}

void ChangeCallTargetOp::setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value) {}

void ChangeCallTargetOp::populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs) {}

::llvm::LogicalResult ChangeCallTargetOp::verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) {}

::llvm::LogicalResult ChangeCallTargetOp::readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state) {}

void ChangeCallTargetOp::writeProperties(::mlir::DialectBytecodeWriter &writer) {}

::llvm::StringRef ChangeCallTargetOp::getNewTarget() {}

void ChangeCallTargetOp::setNewTarget(::llvm::StringRef attrValue) {}

void ChangeCallTargetOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value call, ::mlir::StringAttr new_target) {}

void ChangeCallTargetOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value call, ::mlir::StringAttr new_target) {}

void ChangeCallTargetOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value call, ::llvm::StringRef new_target) {}

void ChangeCallTargetOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value call, ::llvm::StringRef new_target) {}

void ChangeCallTargetOp::build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) {}

::llvm::LogicalResult ChangeCallTargetOp::verifyInvariantsImpl() {}

::llvm::LogicalResult ChangeCallTargetOp::verifyInvariants() {}

::mlir::ParseResult ChangeCallTargetOp::parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result) {}

void ChangeCallTargetOp::print(::mlir::OpAsmPrinter &_odsPrinter) {}

} // namespace transform
} // namespace mlir
MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::transform::ChangeCallTargetOp)


#endif  // GET_OP_CLASSES