Searched refs:enum_name (Results 1 – 7 of 7) sorted by relevance
28 enum class <%= Messages.enum_name %> : size_t {53 inline std::string_view <%= Messages.enum_name %>ToString(<%= Messages.enum_name %> num) {55 if (num == <%= Messages.enum_name %>::<%= msg.name %>) { return "<%= msg.name %>"; }60 inline bool <%= Messages.enum_name %>IsValid(<%= Messages.enum_name %> num) {63 case <%= Messages.enum_name %>::<%= msg.name %>: return true;69 inline <%= Messages.enum_name %> StringTo<%= Messages.enum_name %>(std::string_view str) {71 if (str == "<%= msg.name %>") { return <%= Messages.enum_name %>::<%= msg.name %>; }73 if (str == "FIRST") { return <%= Messages.enum_name %>::FIRST; }74 if (str == "LAST") { return <%= Messages.enum_name %>::LAST; }75 return <%= Messages.enum_name %>::__UNDEFINED__;
33 def enum_name method in Intrinsic39 'INTRINSIC_' + enum_name
28 …static_assert((set_flags & clear_flags) == 0, "<%= intrinsic.enum_name %> clear_flags cannot inter…30 …clear_flags & compiler::inst_flags::REQUIRE_STATE) == 0, "<%= intrinsic.enum_name %> requires save…36 …QUIRE_STATE | compiler::inst_flags::RUNTIME_CALL)) == 0, "<%= intrinsic.enum_name %> cannot set ca…
26 …ASSERT_EQ(expected_flags, inst->GetFlagsMask()) << "Fix <%= intrinsic.enum_name %> intrinsic flags…
50 case intrinsics::Intrinsic::<%= intrinsic.enum_name %>:
72 @enum_name = data.enum_name
73 method->SetIntrinsic(Intrinsic::<%= intrinsic.enum_name %>);