| /arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/templates/ |
| D | bytecode_inst-inl_gen.h.erb | 45 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas… 49 case Format::<%= fmt.pretty.upcase %>: 66 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas… 70 case Format::<%= fmt.pretty.upcase %>: 87 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas… 91 case Format::<%= fmt.pretty.upcase %>: 106 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas… 110 case Format::<%= fmt.pretty.upcase %>: 134 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas… 142 case Format::<%= fmt.pretty.upcase %>: { [all …]
|
| D | bytecode_inst_enum_gen.h.erb | 18 <%= fmt.pretty.upcase %>, 47 % if !(i.opcode.upcase.include? "DEPRECATED_") && !(skipped_opcodes.include? i.mnemonic.upcase) 48 <%= i.opcode.upcase %> = <%= i.opcode_idx %>, 49 % last_name = i.opcode.upcase 57 <%= f.tag.upcase %> = <%= format("0x%x", 1 << i) %>, 63 <%= f.tag.upcase %> = <%= format("0x%x", 1 << i) %>,
|
| D | inst_builder_dyn_gen.cpp.erb | 48 return "BytecodeInst::Format::#{format.pretty.upcase}" 192 % if !(inst.opcode.upcase.include? "DEPRECATED_") && !(skipped_opcodes.include? inst.mnemonic.upc… 195 case BytecodeInst::Opcode::<%= inst.opcode.upcase %>: { 212 % if !(inst.opcode.upcase.include? "DEPRECATED_") && !(skipped_opcodes.include? inst.mnemonic.upc… 214 case BytecodeInst::Opcode::<%= inst.opcode.upcase %>: 216 return inst->GetImm<BytecodeInst::Format::<%= inst.format.pretty.upcase %>, 0, true>(); 242 % if !(inst.opcode.upcase.include? "DEPRECATED_") && !(skipped_opcodes.include? inst.mnemonic.upc… 243 case BytecodeInst::Opcode::<%= inst.opcode.upcase %>: 255 % abort "isa.yaml inconsistency: #{inst.opcode.upcase} is not compilable, but inlinable" if … 280 % if !(inst.opcode.upcase.include? "DEPRECATED_") && !(skipped_opcodes.include? inst.mnemonic.upc… [all …]
|
| /arkcompiler/runtime_core/static_core/libpandafile/templates/ |
| D | bytecode_instruction_enum_gen.h.erb | 17 % Panda::formats.map(&:pretty).map(&:upcase).each do |fmt| 24 <%= i.opcode.upcase %> = <%= i.opcode_idx %>, 26 LAST = <%= Panda::instructions.last().opcode.upcase %> 30 % enum_name = namespace.upcase 34 <%= i.opcode.upcase %> = <%= index %>, 36 LAST = <%= Quick::select[namespace].last().opcode.upcase %> 42 <%= f.tag.upcase %> = <%= format("0x%x", 1 << i) %>, 48 <%= f.tag.upcase %> = <%= format("0x%x", 1 << i) %>, 57 "<%= fmt.pretty.upcase %>",
|
| D | bytecode_instruction-inl_gen.h.erb | 26 case Format::<%= fmt.pretty.upcase %>: 45 case Format::<%= fmt.pretty.upcase %>: 64 case Format::<%= fmt.pretty.upcase %>: 80 case Format::<%= fmt.pretty.upcase %>: { 99 return <%= formats.map{ |f| "format == Format::#{f.pretty.upcase}" }.join(' || ') %>; 111 return <%= formats.map{ |f| "format == Format::#{f.pretty.upcase}" }.join(' || ') %>; 123 return <%= formats.map{ |f| "format == Format::#{f.pretty.upcase}" }.join(' || ') %>; 141 if (FORMAT == Format::<%= fmt.pretty.upcase %>) { 171 if (format == Format::<%= fmt.pretty.upcase %>) { 202 case Format::<%= fmt.pretty.upcase %>: { [all …]
|
| D | bytecode_emitter_gen.h.erb | 32 if constexpr (FORMAT == Format::<%= fmt.pretty.upcase %>) { 52 % OPCODE_TYPE + '::' + i.opcode.upcase 56 % FORMAT_TYPE + '::' + i.format.pretty.upcase 135 if constexpr (FORMAT == Format::<%= fmt.pretty.upcase %>) { 195 % pref = insn.format.prefixed? ? insn.prefix.name.upcase + "_" : "" 196 % op = insn.opcode.upcase.delete_prefix(pref) 216 case <%= OPCODE_TYPE %>::<%= i.opcode.upcase %>: 218 return <%= OPCODE_TYPE %>::<%= group[-1].opcode.upcase %>; 235 case <%= OPCODE_TYPE %>::<%= insn.opcode.upcase %>: 241 … return <%= OPCODE_TYPE %>::<%= (suit_ind == 0) ? "LAST" : group[suit_ind].opcode.upcase %>; [all …]
|
| /arkcompiler/runtime_core/libpandafile/templates/ |
| D | bytecode_instruction_enum_gen.h.erb | 18 <%= fmt.pretty.upcase %>, 24 <%= i.opcode.upcase %> = <%= i.opcode_idx %>, 26 LAST = <%= Panda::instructions.last().opcode.upcase %> 31 <%= f.tag.upcase %> = <%= format("0x%x", 1 << i) %>, 37 <%= f.tag.upcase %> = <%= format("0x%x", 1 << i) %>,
|
| D | bytecode_instruction-inl_gen.h.erb | 24 case Format::<%= fmt.pretty.upcase %>: 43 case Format::<%= fmt.pretty.upcase %>: 62 case Format::<%= fmt.pretty.upcase %>: 78 case Format::<%= fmt.pretty.upcase %>: { 104 if (format == Format::<%= fmt.pretty.upcase %>) { 138 if (format == Format::<%= fmt.pretty.upcase %>) { 168 case Format::<%= fmt.pretty.upcase %>: { 199 if constexpr (format == Format::<%= fmt.pretty.upcase %>) { 229 case Format::<%= fmt.pretty.upcase %>: { 262 if constexpr (format == Format::<%= fmt.pretty.upcase %>) { [all …]
|
| D | bytecode_emitter_gen.h.erb | 31 if constexpr (format == Format::<%= fmt.pretty.upcase %>) { 51 % OPCODE_TYPE + '::' + i.opcode.upcase 55 % FORMAT_TYPE + '::' + i.format.pretty.upcase 134 if constexpr (format == Format::<%= fmt.pretty.upcase %>) { 194 % pref = insn.format.prefixed? ? insn.prefix.name.upcase + "_" : "" 195 % op = insn.opcode.upcase.delete_prefix(pref) 215 case <%= OPCODE_TYPE %>::<%= i.opcode.upcase %>: 217 return <%= OPCODE_TYPE %>::<%= group[-1].opcode.upcase %>; 234 case <%= OPCODE_TYPE %>::<%= insn.opcode.upcase %>: 240 … return <%= OPCODE_TYPE %>::<%= (suit_ind == 0) ? "LAST" : group[suit_ind].opcode.upcase %>; [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/profiling/ |
| D | profiling_gen.h.erb | 30 <%= name.snakecase.upcase %>, 39 case ProfilingKind::<%= prof.snakecase.upcase %>: 40 return "<%= prof.snakecase.upcase %>"; 57 case BytecodeInstruction::Opcode::<%= inst.opcode.upcase %>: 70 case BytecodeInstruction::Opcode::<%= inst.opcode.upcase %>: 71 return ProfilingKind::<%= inst.profile.name.snakecase.upcase %>;
|
| /arkcompiler/runtime_core/libabckit/src/codegen/templates_dynamic/ |
| D | ic_info.h.erb | 35 % instFormat = inst.format.pretty.upcase.gsub("PREF_", "") 36 % invertedInstFormat = inverted_inst.format.pretty.upcase.gsub("PREF_", "") 72 % instFormat = inst.format.pretty.upcase.gsub("PREF_", "") 80 case ark::compiler::RuntimeInterface::IntrinsicId::DYN_<%= inst.opcode.upcase %>: 102 case ark::compiler::RuntimeInterface::IntrinsicId::DYN_<%= inst.opcode.upcase %>: 103 … return ark::compiler::RuntimeInterface::IntrinsicId::DYN_<%= invertedInst.opcode.upcase %>; 124 % if (inst.format.pretty.upcase.start_with?("IMM8")) 125 case ark::compiler::RuntimeInterface::IntrinsicId::DYN_<%= inst.opcode.upcase %>:
|
| /arkcompiler/ets_frontend/ets2panda/compiler/templates/ |
| D | signatures.h.erb | 71 if (lang.GetId() == Language::Id::<%= lang.upcase %>) { 82 if (lang.GetId() == Language::Id::<%= lang.upcase %>) { 93 if (lang.GetId() == Language::Id::<%= lang.upcase %>) { 104 if (lang.GetId() == Language::Id::<%= lang.upcase %>) { 115 if (lang.GetId() == Language::Id::<%= lang.upcase %>) { 126 if (lang.GetId() == Language::Id::<%= lang.upcase %>) { 137 if (lang.GetId() == Language::Id::<%= lang.upcase %>) { 148 return Language(Language::Id::<%= lang.upcase %>); 158 if (lang.GetId() == Language::Id::<%= lang.upcase %>) { 180 % res += " if (lang.GetId() == Language::Id::#{lang.upcase}) {\n"
|
| /arkcompiler/ets_frontend/es2panda/lexer/templates/ |
| D | keywords.h.erb | 54 inline void Scan<%= key.upcase %>() 58 case LEX_CHAR_LOWERCASE_<%=prefix.upcase%>: /* '<%=prefix%>' */ { 60 Scan<%= key.upcase %><%= prefix.upcase %>(); 80 ….ScanIdContinueMaybeKeyword(Span<const KeywordString>(KeywordsMap::KEYWORDS_<%= key[0].upcase %>));
|
| D | keywordsMap.h.erb | 30 case LEX_CHAR_LOWERCASE_<%= group.keys[0][0].upcase %>: { 31 return Span<const KeywordString>(KEYWORDS_<%= group.keys[0][0].upcase %>); 42 …xpr std::array<const KeywordString, <%= group.size %>> KEYWORDS_<%= group.keys[0][0].upcase %> = {{
|
| /arkcompiler/runtime_core/libabckit/src/templates/dyn_intrinsics/ |
| D | dyn_intrinsics_opcodes.inc.erb | 48 case ark::compiler::RuntimeInterface::IntrinsicId::DYN_<%= inst.opcode.upcase %>: { 49 % if (inst.mnemonic.include? "deprecated") || (skipped_opcodes.include? inst.mnemonic.upcase) 52 return ABCKIT_ISA_API_DYNAMIC_OPCODE_<%= inst.mnemonic.gsub('.', '_').upcase%>; 66 % if !(inst.mnemonic.include? "deprecated") && !(skipped_opcodes.include? inst.mnemonic.upcase) 67 case ark::compiler::RuntimeInterface::IntrinsicId::DYN_<%= inst.opcode.upcase %>: 89 case ark::compiler::RuntimeInterface::IntrinsicId::DYN_<%= inst.opcode.upcase %>: {
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | opcodes.h.erb | 24 …DEF( <%= inst.opcode.ljust(20) %>, <%= inst.base.ljust(20) %>, <%= flags.map{|x| x.upcase }.join('… 37 DEF(<%= flag.upcase %>) \ 44 <%= inst.modes.map{|x| x.upcase }.join('|') %>, \ 50 DEF(<%= mode.upcase %>) \
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/templates/ |
| D | debug_test_interpreter-inl_gen.cpp.erb | 33 #ifdef PANDA_WITH_<%= i.namespace.upcase %> 40 …handler.template Handle<%= mnemonic %><BytecodeInstruction::Format::<%= i.format.pretty.upcase %>>… 46 …handler.template Handle<%= mnemonic %><BytecodeInstruction::Format::<%= i.format.pretty.upcase %>>… 50 #endif // PANDA_WITH_<%= i.namespace.upcase %>
|
| /arkcompiler/runtime_core/static_core/libpandabase/templates/ |
| D | logger.rb | 27 @enum = dscr['enum'] || @name.upcase 28 @tag = dscr['tag'] || @name[0].upcase 39 @enum = dscr['enum'] || @name.upcase
|
| /arkcompiler/runtime_core/libpandabase/templates/ |
| D | logger.rb | 27 @enum = dscr['enum'] || @name.upcase 28 @tag = dscr['tag'] || @name[0].upcase 39 @enum = dscr['enum'] || @name.upcase
|
| /arkcompiler/runtime_core/static_core/libpandafile/templates/tests/ |
| D | bytecode_emitter_tests_gen.h.erb | 75 TestNoneFormat(Opcode::<%= i.opcode.upcase %>, [](BytecodeEmitter* emitter){ 82 % pretty_format = group_insn.format.pretty.upcase 83 % opcode = group_insn.opcode.upcase 101 % pretty_format = group_insn.format.pretty.upcase 102 % opcode = group_insn.opcode.upcase 111 TEST(BytecodeEmitter, <%= emitter_name %>_<%= i.format.pretty.upcase %>) { 151 expected << Opcode::<%= i.opcode.upcase %> << <%= packed_vals.join(' << ') %>;
|
| /arkcompiler/runtime_core/static_core/templates/options/ |
| D | options.h.erb | 17 #ifndef PANDA_<%= Common::module.name.upcase %>_OPTIONS_GEN_H 18 #define PANDA_<%= Common::module.name.upcase %>_OPTIONS_GEN_H 34 <%= enumerator.snakecase.upcase %>, 37 <%= name.snakecase.upcase %>_FIRST = <%= sub_enum[0].snakecase.upcase %>, 38 <%= name.snakecase.upcase %>_LAST = <%= sub_enum[-1].snakecase.upcase %>, 40 FIRST = <%= op.flat_enum[0].snakecase.upcase %>, 41 LAST = <%= op.flat_enum[-1].snakecase.upcase %>, 49 {"<%= enumerator %>", <%= enumerator.snakecase.upcase %>}, 251 #endif // PANDA_<%= Common::module.name.upcase %>_OPTIONS_GEN_H
|
| /arkcompiler/runtime_core/static_core/verification/gen/templates/ |
| D | abs_int_inl_compat_checks.h.erb | 49 …%= name.to_s %> = {VerificationStatus::<%= status.to_s.delete_suffix('s').upcase %>, "<%= msg %>"}; 57 <%= value.upcase %>, 71 case <%= type1 %>::<%= name.upcase %>: 78 case <%= type2 %>::<%= value2.upcase %>:
|
| /arkcompiler/runtime_core/libpandafile/templates/tests/ |
| D | bytecode_emitter_tests_gen.h.erb | 45 if constexpr (format == BytecodeInstruction::Format::<%= fmt.pretty.upcase %>) { 112 if constexpr (format == BytecodeInstruction::Format::<%= fmt.pretty.upcase %>) { 141 if constexpr (format == BytecodeInstruction::Format::<%= fmt.pretty.upcase %>) { 163 % OPCODE_TYPE + '::' + i.opcode.upcase 167 % FORMAT_TYPE + '::' + i.format.pretty.upcase 252 TestNoneFormat(Opcode::<%= i.opcode.upcase %>, [](BytecodeEmitter* emitter) { 259 % pretty_format = group_insn.format.pretty.upcase 260 % opcode = group_insn.opcode.upcase 272 % pretty_format = group_insn.format.pretty.upcase 273 % opcode = group_insn.opcode.upcase [all …]
|
| /arkcompiler/runtime_core/abc2program/common/ |
| D | abc_inst_convert.cpp.erb | 37 case BytecodeInstruction::Opcode::<%= i.opcode.upcase %>: 42 …t<int32_t>(bc_ins.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upcase%>, <%=imm_count%>,… 44 …st<double>(bc_ins.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upcase%>, <%=imm_count%>,… 46 …t<int64_t>(bc_ins.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upcase%>, <%=imm_count%>,… 48 …t<int64_t>(bc_ins.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upcase%>, <%=imm_count%>,…
|
| /arkcompiler/runtime_core/disassembler/templates/ |
| D | bc_ins_to_pandasm_ins.cpp.erb | 34 case BytecodeInstruction::Opcode::<%= inst.opcode.upcase %>: 39 …nt32_t>(bc_ins.GetImm<BytecodeInstruction::Format::<%=inst.format.pretty.upcase%>, <%=imm_count%>,… 41 …double>(bc_ins.GetImm<BytecodeInstruction::Format::<%=inst.format.pretty.upcase%>, <%=imm_count%>,… 43 …nt64_t>(bc_ins.GetImm<BytecodeInstruction::Format::<%=inst.format.pretty.upcase%>, <%=imm_count%>,… 45 …nt64_t>(bc_ins.GetImm<BytecodeInstruction::Format::<%=inst.format.pretty.upcase%>, <%=imm_count%>,…
|