llvm/tools/mlir/include/mlir/Dialect/Transform/IR/TransformDialectEnums.h.inc

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

namespace mlir {
namespace transform {
// Silenceable error propagation policy
enum class FailurePropagationMode : uint32_t {};

::std::optional<FailurePropagationMode> symbolizeFailurePropagationMode(uint32_t);
::llvm::StringRef stringifyFailurePropagationMode(FailurePropagationMode);
::std::optional<FailurePropagationMode> symbolizeFailurePropagationMode(::llvm::StringRef);
inline constexpr unsigned getMaxEnumValForFailurePropagationMode() {}


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

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

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

class FailurePropagationModeAttr : public ::mlir::IntegerAttr {};
} // namespace transform
} // namespace mlir

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

template<>
struct FieldParser<::mlir::transform::FailurePropagationMode, ::mlir::transform::FailurePropagationMode> {};
} // namespace mlir

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

namespace llvm {
template<> struct DenseMapInfo<::mlir::transform::FailurePropagationMode> {};
}

namespace mlir {
namespace transform {
// allowed 32-bit signless integer cases: 0, 1, 2, 3, 4, 5
enum class MatchCmpIPredicate : uint32_t {};

::std::optional<MatchCmpIPredicate> symbolizeMatchCmpIPredicate(uint32_t);
::llvm::StringRef stringifyMatchCmpIPredicate(MatchCmpIPredicate);
::std::optional<MatchCmpIPredicate> symbolizeMatchCmpIPredicate(::llvm::StringRef);
inline constexpr unsigned getMaxEnumValForMatchCmpIPredicate() {}


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

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

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

class MatchCmpIPredicateAttr : public ::mlir::IntegerAttr {};
} // namespace transform
} // namespace mlir

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

template<>
struct FieldParser<::mlir::transform::MatchCmpIPredicate, ::mlir::transform::MatchCmpIPredicate> {};
} // namespace mlir

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

namespace llvm {
template<> struct DenseMapInfo<::mlir::transform::MatchCmpIPredicate> {};
}