namespace mlir {
namespace emitc {
enum class CmpPredicate : uint64_t { … };
::std::optional<CmpPredicate> symbolizeCmpPredicate(uint64_t);
::llvm::StringRef stringifyCmpPredicate(CmpPredicate);
::std::optional<CmpPredicate> symbolizeCmpPredicate(::llvm::StringRef);
inline constexpr unsigned getMaxEnumValForCmpPredicate() { … }
inline ::llvm::StringRef stringifyEnum(CmpPredicate enumValue) { … }
template <typename EnumType>
::std::optional<EnumType> symbolizeEnum(::llvm::StringRef);
template <>
inline ::std::optional<CmpPredicate> symbolizeEnum<CmpPredicate>(::llvm::StringRef str) { … }
class CmpPredicateAttr : public ::mlir::IntegerAttr { … };
}
}
namespace mlir {
template <typename T, typename>
struct FieldParser;
template<>
struct FieldParser<::mlir::emitc::CmpPredicate, ::mlir::emitc::CmpPredicate> { … };
}
namespace llvm {
inline ::llvm::raw_ostream &operator<<(::llvm::raw_ostream &p, ::mlir::emitc::CmpPredicate value) { … }
}
namespace llvm {
template<> struct DenseMapInfo<::mlir::emitc::CmpPredicate> { … };
}