namespace mlir {
namespace tosa {
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 mlir {
template <typename T, typename>
struct FieldParser;
template<>
struct FieldParser<mlir::tosa::TosaLevelEnum, mlir::tosa::TosaLevelEnum> { … };
}
namespace llvm {
inline ::llvm::raw_ostream &operator<<(::llvm::raw_ostream &p, mlir::tosa::TosaLevelEnum value) { … }
}
namespace llvm {
template<> struct DenseMapInfo<mlir::tosa::TosaLevelEnum> { … };
}
namespace mlir {
namespace tosa {
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 mlir {
template <typename T, typename>
struct FieldParser;
template<>
struct FieldParser<mlir::tosa::TosaProfileEnum, mlir::tosa::TosaProfileEnum> { … };
}
namespace llvm {
inline ::llvm::raw_ostream &operator<<(::llvm::raw_ostream &p, mlir::tosa::TosaProfileEnum value) { … }
}
namespace llvm {
template<> struct DenseMapInfo<mlir::tosa::TosaProfileEnum> { … };
}