llvm/tools/mlir/include/mlir/Dialect/Tosa/Transforms/PassesEnums.h.inc

/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* Enum Utility Declarations                                                  *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|* From: Passes.td                                                            *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

namespace mlir {
namespace tosa {
// Tosa level
enum class TosaLevelEnum : uint32_t {};

::std::optional<TosaLevelEnum> symbolizeTosaLevelEnum(uint32_t);
::llvm::StringRef stringifyTosaLevelEnum(TosaLevelEnum);
::std::optional<TosaLevelEnum> symbolizeTosaLevelEnum(::llvm::StringRef);
inline constexpr unsigned getMaxEnumValForTosaLevelEnum() {}


inline ::llvm::StringRef stringifyEnum(TosaLevelEnum enumValue) {}

template <typename EnumType>
::std::optional<EnumType> symbolizeEnum(::llvm::StringRef);

template <>
inline ::std::optional<TosaLevelEnum> symbolizeEnum<TosaLevelEnum>(::llvm::StringRef str) {}

class TosaLevelEnumAttr : public ::mlir::IntegerAttr {};
} // namespace tosa
} // namespace mlir

namespace mlir {
template <typename T, typename>
struct FieldParser;

template<>
struct FieldParser<mlir::tosa::TosaLevelEnum, mlir::tosa::TosaLevelEnum> {};
} // namespace mlir

namespace llvm {
inline ::llvm::raw_ostream &operator<<(::llvm::raw_ostream &p, mlir::tosa::TosaLevelEnum value) {}
} // namespace llvm

namespace llvm {
template<> struct DenseMapInfo<mlir::tosa::TosaLevelEnum> {};
}

namespace mlir {
namespace tosa {
// Tosa profile
enum class TosaProfileEnum : uint32_t {};

::std::optional<TosaProfileEnum> symbolizeTosaProfileEnum(uint32_t);
::llvm::StringRef stringifyTosaProfileEnum(TosaProfileEnum);
::std::optional<TosaProfileEnum> symbolizeTosaProfileEnum(::llvm::StringRef);
inline constexpr unsigned getMaxEnumValForTosaProfileEnum() {}


inline ::llvm::StringRef stringifyEnum(TosaProfileEnum enumValue) {}

template <typename EnumType>
::std::optional<EnumType> symbolizeEnum(::llvm::StringRef);

template <>
inline ::std::optional<TosaProfileEnum> symbolizeEnum<TosaProfileEnum>(::llvm::StringRef str) {}

class TosaProfileEnumAttr : public ::mlir::IntegerAttr {};
} // namespace tosa
} // namespace mlir

namespace mlir {
template <typename T, typename>
struct FieldParser;

template<>
struct FieldParser<mlir::tosa::TosaProfileEnum, mlir::tosa::TosaProfileEnum> {};
} // namespace mlir

namespace llvm {
inline ::llvm::raw_ostream &operator<<(::llvm::raw_ostream &p, mlir::tosa::TosaProfileEnum value) {}
} // namespace llvm

namespace llvm {
template<> struct DenseMapInfo<mlir::tosa::TosaProfileEnum> {};
}