Lines Matching refs:EnumValue
202 class EnumValue {
204 EnumValue() : value(0), desc(nullptr) {}
205 EnumValue(unsigned int the_value, const std::string& the_name, EnumCaps&& the_caps,
233 using EnumValues = EnumValuesContainer<EnumValue>;
246 // Returns the first EnumValue in the sequence with the given value.
247 // More than one EnumValue might have the same value. Only valid
249 EnumValue& operator[](unsigned value) {
253 // Returns the name of the first EnumValue with the given value.
271 class InstructionValue : public EnumValue {
273 InstructionValue(EnumValue&& e, const std::string& printClass, bool has_type, bool has_result)
274 : EnumValue(std::move(e)),