namespace mlir {
namespace irdl {
enum class Variadicity : uint32_t { … };
::std::optional<Variadicity> symbolizeVariadicity(uint32_t);
::llvm::StringRef stringifyVariadicity(Variadicity);
::std::optional<Variadicity> symbolizeVariadicity(::llvm::StringRef);
inline constexpr unsigned getMaxEnumValForVariadicity() { … }
inline ::llvm::StringRef stringifyEnum(Variadicity enumValue) { … }
template <typename EnumType>
::std::optional<EnumType> symbolizeEnum(::llvm::StringRef);
template <>
inline ::std::optional<Variadicity> symbolizeEnum<Variadicity>(::llvm::StringRef str) { … }
}
}
namespace mlir {
template <typename T, typename>
struct FieldParser;
template<>
struct FieldParser<::mlir::irdl::Variadicity, ::mlir::irdl::Variadicity> { … };
}
namespace llvm {
inline ::llvm::raw_ostream &operator<<(::llvm::raw_ostream &p, ::mlir::irdl::Variadicity value) { … }
}
namespace llvm {
template<> struct DenseMapInfo<::mlir::irdl::Variadicity> { … };
}