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

//===----------------------------------------------------------------------===//
// GpuKernelOutlining
//===----------------------------------------------------------------------===//

template <typename DerivedT>
class GpuKernelOutliningBase : public ::mlir::OperationPass<ModuleOp> {
public:
  GpuKernelOutliningBase() : ::mlir::OperationPass<ModuleOp>(::mlir::TypeID::get<DerivedT>()) {}
  GpuKernelOutliningBase(const GpuKernelOutliningBase &) : ::mlir::OperationPass<ModuleOp>(::mlir::TypeID::get<DerivedT>()) {}

  /// Returns the command-line argument attached to this pass.
  llvm::StringRef getArgument() const override { return "gpu-kernel-outlining"; }

  /// Returns the derived pass name.
  llvm::StringRef getName() const override { return "GpuKernelOutlining"; }

  /// 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<Pass> clonePass() const override {
    return std::make_unique<DerivedT>(*static_cast<const DerivedT *>(this));
  }

protected:
};
#undef GEN_PASS_CLASSES
#endif // GEN_PASS_CLASSES
#ifdef GEN_PASS_REGISTRATION
#define GEN_PASS_REGISTRATION_GpuKernelOutlining
#endif // GEN_PASS_REGISTRATION
#ifdef GEN_PASS_REGISTRATION_GpuKernelOutlining
::mlir::registerPass("gpu-kernel-outlining", "Outline gpu.launch bodies to kernel functions", []() -> std::unique_ptr<Pass> { return mlir::createGpuKernelOutliningPass(); });
#endif // GEN_PASS_REGISTRATION_GpuKernelOutlining
#undef GEN_PASS_REGISTRATION_GpuKernelOutlining
#ifdef GEN_PASS_REGISTRATION
#undef GEN_PASS_REGISTRATION_GpuKernelOutlining
#endif // GEN_PASS_REGISTRATION
#undef GEN_PASS_REGISTRATION
