Home
last modified time | relevance | path

Searched refs:enum_name (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/runtime_core/templates/messages/
Dmessages.h.erb28 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__;
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dcompiler_intrinsics.rb33 def enum_name method in Intrinsic
39 'INTRINSIC_' + enum_name
Dintrinsics_flags.inl.erb28 …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…
Dintrinsic_flags_test.inl.erb26 …ASSERT_EQ(expected_flags, inst->GetFlagsMask()) << "Fix <%= intrinsic.enum_name %> intrinsic flags…
Dget_intrinsics.inl.erb50 case intrinsics::Intrinsic::<%= intrinsic.enum_name %>:
/arkcompiler/runtime_core/templates/
Dmessages.rb72 @enum_name = data.enum_name
/arkcompiler/runtime_core/disassembler/templates/
Dintrinsics_gen.h.erb73 method->SetIntrinsic(Intrinsic::<%= intrinsic.enum_name %>);