/* Autogenerated by mlir-tblgen; don't manually edit */
#ifdef GEN_PASS_CLASSES

//===----------------------------------------------------------------------===//
// CheckUses
//===----------------------------------------------------------------------===//

template <typename DerivedT>
class CheckUsesBase : public ::mlir::OperationPass<> {
public:
  using Base = CheckUsesBase;

  CheckUsesBase() : ::mlir::OperationPass<>(::mlir::TypeID::get<DerivedT>()) {}
  CheckUsesBase(const CheckUsesBase &other) : ::mlir::OperationPass<>(other) {}

  /// Returns the command-line argument attached to this pass.
  static constexpr ::llvm::StringLiteral getArgumentName() {
    return ::llvm::StringLiteral("transform-dialect-check-uses");
  }
  ::llvm::StringRef getArgument() const override { return "transform-dialect-check-uses"; }

  ::llvm::StringRef getDescription() const override { return "warn about potential use-after-free in the transform dialect"; }

  /// Returns the derived pass name.
  static constexpr ::llvm::StringLiteral getPassName() {
    return ::llvm::StringLiteral("CheckUses");
  }
  ::llvm::StringRef getName() const override { return "CheckUses"; }

  /// Support isa/dyn_cast functionality for the derived pass class.
  static bool classof(const ::mlir::Pass *pass) {
    return pass->getTypeID() == ::mlir::TypeID::get<DerivedT>();
  }

  /// A clone method to create a copy of this pass.
  std::unique_ptr<::mlir::Pass> clonePass() const override {
    return std::make_unique<DerivedT>(*static_cast<const DerivedT *>(this));
  }

  /// Return the dialect that must be loaded in the context before this pass.
  void getDependentDialects(::mlir::DialectRegistry &registry) const override {
    
  }

  /// Explicitly declare the TypeID for this class. We declare an explicit private
  /// instantiation because Pass classes should only be visible by the current
  /// library.
  MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(CheckUsesBase<DerivedT>)

protected:
};
#undef GEN_PASS_CLASSES
#endif // GEN_PASS_CLASSES
#ifdef GEN_PASS_REGISTRATION

//===----------------------------------------------------------------------===//
// CheckUses Registration
//===----------------------------------------------------------------------===//

inline void registerCheckUsesPass() {
  ::mlir::registerPass([]() -> std::unique_ptr<::mlir::Pass> {
    return ::mlir::transform::createCheckUsesPass();
  });
}

//===----------------------------------------------------------------------===//
// Transform Registration
//===----------------------------------------------------------------------===//

inline void registerTransformPasses() {
  registerCheckUsesPass();
}
#undef GEN_PASS_REGISTRATION
#endif // GEN_PASS_REGISTRATION
