/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* Interface Declarations                                                     *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

namespace fir {

/// Marker interface for operations that act as a CUDA kernel boundary in
/// Flang's lowered IR. Operations implementing this interface are treated by
/// FIR transformations as opaque kernel regions whose host-visible captures
/// must not be folded across the boundary.
class CUDAKernelOpInterface;

} // namespace fir
namespace fir {

/// Marker interface for operations that act as a CUDA kernel boundary in
/// Flang's lowered IR. Operations implementing this interface are treated by
/// FIR transformations as opaque kernel regions whose host-visible captures
/// must not be folded across the boundary.
namespace detail {
struct CUDAKernelOpInterfaceInterfaceTraits {
  struct Concept {
    /// The methods defined by the interface.
  };
  template<typename ConcreteOp>
  class Model : public Concept {
  public:
    using Interface = ::fir::CUDAKernelOpInterface;
    Model() : Concept{} {}

  };
  template<typename ConcreteOp>
  class FallbackModel : public Concept {
  public:
    using Interface = ::fir::CUDAKernelOpInterface;
    FallbackModel() : Concept{} {}

  };
  template<typename ConcreteModel, typename ConcreteOp>
  class ExternalModel : public FallbackModel<ConcreteModel> {
  public:
    using ConcreteEntity = ConcreteOp;
  };
};
template <typename ConcreteOp>
struct CUDAKernelOpInterfaceTrait;

} // namespace detail
class CUDAKernelOpInterface : public ::mlir::OpInterface<CUDAKernelOpInterface, detail::CUDAKernelOpInterfaceInterfaceTraits> {
public:
  using ::mlir::OpInterface<CUDAKernelOpInterface, detail::CUDAKernelOpInterfaceInterfaceTraits>::OpInterface;
  template <typename ConcreteOp>
  struct Trait : public detail::CUDAKernelOpInterfaceTrait<ConcreteOp> {};
};

} // namespace fir
namespace fir::detail {

  template <typename ConcreteOp>
  struct CUDAKernelOpInterfaceTrait : public ::mlir::OpInterface<CUDAKernelOpInterface, detail::CUDAKernelOpInterfaceInterfaceTraits>::Trait<ConcreteOp> {
  };

} // namespace fir::detail
namespace fir {


} // namespace fir
