Home
last modified time | relevance | path

Searched full:mnemonic (Results 1 – 25 of 72) sorted by relevance

123

/arkcompiler/ets_frontend/es2panda/compiler/templates/
Dformats.h.erb1 % def get_format_name(mnemonic)
2 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS"
4 % def get_format_item_name(mnemonic, index)
5 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMAT_ITEMS_" + index.to_s
57 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
63 constexpr std::array<const FormatItem, <%= fmt.length %>> <%= get_format_item_name(mnemonic, index)…
72 constexpr std::array<const Format, 0> <%= get_format_name(mnemonic) %> = {{}};
74 constexpr std::array<const Format, <%= formats.length %>> <%= get_format_name(mnemonic) %> = {{
75 … 1)).map {|index| "{" + get_format_item_name(mnemonic, index) + ".data(), " + get_format_item_nam…
Disa.h.erb1 % def get_node_kind(mnemonic)
2 % return "#{mnemonic.gsub('.', '_').upcase}"
5 % def get_format_name(mnemonic)
6 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS"
95 % mnemonic = insn.mnemonic.split('.')
96 % return mnemonic.map{|el| el == '64' ? 'Wide' : el.capitalize}.join()
100 % if insn.mnemonic == "callrange" or insn.mnemonic == "wide.callrange" or
101 % insn.mnemonic == "callthisrange" or insn.mnemonic == "wide.callthisrange" or
102 % insn.mnemonic == "newobjrange" or insn.mnemonic == "wide.newobjrange" or
103 % insn.mnemonic == "createobjectwithexcludedkeys" or insn.mnemonic == "wide.createobjectwithe…
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/templates/
Dformats.h.erb1 % def get_format_name(mnemonic)
2 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS"
4 % def get_format_item_name(mnemonic, index)
5 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMAT_ITEMS_" + index.to_s
58 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
64 constexpr std::array<const FormatItem, <%= fmt.length %>> <%= get_format_item_name(mnemonic, index)…
73 constexpr std::array<const Format, 0> <%= get_format_name(mnemonic) %> = {{}};
75 constexpr std::array<const Format, <%= formats.length %>> <%= get_format_name(mnemonic) %> = {{
76 … 1)).map {|index| "{" + get_format_item_name(mnemonic, index) + ".data(), " + get_format_item_nam…
Disa.h.erb1 % def get_node_kind(mnemonic)
2 % return "#{mnemonic.gsub('.', '_').upcase}"
5 % def get_format_name(mnemonic)
6 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS"
78 % mnemonic = insn.mnemonic.split('.')
79 % return mnemonic.map{|el| el == '64' ? 'Wide' : el.capitalize}.join()
116 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
118 % node_kind = get_node_kind(mnemonic)
140 return Span<const Format>(<%= get_format_name(insn.mnemonic) %>);
/arkcompiler/runtime_core/libabckit/src/adapter_dynamic/templates/
Dinst_props_helpers_dynamic.inc.erb19 % Panda::instructions.uniq{|i| i.mnemonic}.each do |inst|
20 % res = Opcodes.find{|opc| opc.bc_opcode == inst.mnemonic}
35 % Panda::instructions.uniq{|i| i.mnemonic}.each do |inst|
36 % res = Opcodes.find{|opc| opc.bc_opcode == inst.mnemonic}
74 % Panda::instructions.uniq{|i| i.mnemonic}.each do |inst|
75 % if !(skipped_opcodes.include? inst.mnemonic.upcase)
76 % res = Opcodes.find{|opc| opc.bc_opcode == inst.mnemonic }
94 % Panda::instructions.uniq{|i| i.mnemonic}.each do |inst|
95 % res = Opcodes.find{|opc| opc.bc_opcode == inst.mnemonic }
110 % Panda::instructions.uniq{|i| i.mnemonic}.each do |inst|
[all …]
/arkcompiler/runtime_core/libabckit/src/templates/dyn_intrinsics/
Ddyn_intrinsics_opcodes.inc.erb49 % 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)
68 % if (inst.mnemonic.include? "range")
90 % mnemonic = inst.mnemonic.split(/\s|\./)
91 % if ((mnemonic.length() > 1) && (mnemonic[0] == "callruntime") && ((mnemonic[1]).include? "call"…
/arkcompiler/runtime_core/assembler/templates/
Dins_create_api.h.erb24 % mnemonic = insn.mnemonic.split('.')
25 % return mnemonic.map{|el| el == '64' ? 'Wide' : el.capitalize}.join()
28 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
Dassembly-ins.h.erb1 % def get_node_kind(mnemonic)
2 % return "#{mnemonic.gsub('.', '_').upcase}"
5 % def get_format_name(mnemonic)
6 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS"
10 % mnemonic = insn.mnemonic.split('.')
11 % return mnemonic.map{|el| el == '64' ? 'Wide' : el.capitalize}.join()
315 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
510 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
512 % node_kind = get_node_kind(mnemonic)
553 return "<%= insn.mnemonic%>";
[all …]
Dins_to_string.cpp.erb30 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
37 full_operation += "<%= insn.mnemonic%>";
Dins_emit.h.erb33 % instruction_hash = Panda::instructions.map { |i| [i.mnemonic, i] }.to_h
35 % Panda::instructions.group_by(&:mnemonic).each_pair do |mn, group|
165 % call_mnemonics = if insn.mnemonic.end_with?('.short')
166 % [insn.mnemonic]
168 % ["#{insn.mnemonic}.short", insn.mnemonic]
/arkcompiler/runtime_core/static_core/verification/gen/templates/
Dhandle_gen.h.erb58 % mnemonic = i.mnemonic.split('.').map { |p| p == '64' ? 'Wide' : p.capitalize }.join
67 % mnemonic = i.mnemonic.split('.').map { |p| p == '64' ? 'Wide' : p.capitalize }.join
70 % res_binary_find = mnemonic.include?(bin)
75 % flag_integral = mnemonic.include?('U') || (res_binary_find)
76 % flag_float = mnemonic.include?('F')
77 % flag_wide = mnemonic.include?('Wide')
78 % flag_u = mnemonic.include?('Divu') || mnemonic.include?('Modu')
79 % flag_reg = mnemonic.include?('2v')
83 % if mnemonic.include?('cmp')
93 % elsif mnemonic.include?('cmp')
[all …]
/arkcompiler/runtime_core/libabckit/src/wrappers/templates/
Dopc_to_string.h.erb45 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
47 % if !(insn.opcode.upcase.include? "DEPRECATED_") && !(skipped_opcodes.include? insn.mnemonic.upc…
48 if (name == "<%= insn.mnemonic.gsub('.', '_') %>") {
Dins_create_wrapper_api.inc.erb40 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
44 % if !(insn.opcode.upcase.include? "DEPRECATED_") && !(skipped_opcodes.include? insn.mnemonic.upcas…
/arkcompiler/runtime_core/assembler/
Dasm_isapi.rb17 mnemonic.tr('.', '_').upcase
25 mnemonic.split('.')[-1] == 'range'
37 mnemonic == 'return.obj'
41 mnemonic == 'return.64'
45 mnemonic == 'return'
49 mnemonic == 'return.void'
/arkcompiler/runtime_core/static_core/assembler/
Dasm_isapi.rb17 mnemonic.tr('.', '_').upcase
25 mnemonic.split('.')[-1] == 'range'
37 mnemonic == 'return.obj'
41 mnemonic == 'return.64'
45 mnemonic == 'return'
49 mnemonic == 'return.void'
/arkcompiler/runtime_core/static_core/runtime/interpreter/templates/
Ddebug_test_interpreter-inl_gen.cpp.erb36 % mnemonic = i.mnemonic.split('.').map { |p| p == '64' ? 'Wide' : p.capitalize }.join
40 …handler.template Handle<%= mnemonic %><BytecodeInstruction::Format::<%= i.format.pretty.upcase %>>…
46 …handler.template Handle<%= mnemonic %><BytecodeInstruction::Format::<%= i.format.pretty.upcase %>>…
/arkcompiler/runtime_core/static_core/assembler/templates/
Dins_emit.h.erb53 % instruction_hash = Panda::instructions.map { |i| [i.mnemonic, i] }.to_h
55 % Panda::instructions.group_by(&:mnemonic).each_pair do |mn, group|
91 … if insn.properties.include?('call_virt') && ((insn.mnemonic.include? '.virt') || (insn.mnemonic
123 % if insn.properties.include?('call_virt') && ((insn.mnemonic.include? '.virt') || (insn.mnemonic
201 % if insn.properties.include?('short_long_range') && !insn.mnemonic.include?('range')
203 % call_mnemonics = if insn.mnemonic.end_with?('.short')
204 % [insn.mnemonic]
206 % ["#{insn.mnemonic}.short", insn.mnemonic]
/arkcompiler/runtime_core/libabckit/src/codegen/templates_dynamic/
Dcodegen_dynamic_isapi.rb19 raise "There is no src acc for #{mnemonic}" unless op
25 raise "There is no dst acc for #{mnemonic}" unless op
48 @instruction_hash = Hash.new { |_, key| raise "No instruction with '#{key}' mnemonic" }
49 Panda.instructions.each { |insn| @instruction_hash[insn.mnemonic] = insn }
274 …reg_num = if instruction.mnemonic.include?('ldarr') || instruction.mnemonic.include?('stobj') || i…
276 elsif instruction.mnemonic.include?('starr')
/arkcompiler/runtime_core/bytecode_optimizer/
Dbytecode_optimizer_isapi.rb19 raise "There is no src acc for #{mnemonic}" unless op
25 raise "There is no dst acc for #{mnemonic}" unless op
48 @instruction_hash = Hash.new { |_, key| raise "No instruction with '#{key}' mnemonic" }
49 Panda.instructions.each { |insn| @instruction_hash[insn.mnemonic] = insn }
274 …reg_num = if instruction.mnemonic.include?('ldarr') || instruction.mnemonic.include?('stobj') || i…
276 elsif instruction.mnemonic.include?('starr')
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/templates/
Dbytecode_inst-inl_gen.h.erb45 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas…
66 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas…
87 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas…
106 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas…
134 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas…
167 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas…
198 % next if ((i.opcode.upcase.include? "DEPRECATED_") || (skipped_opcodes.include? i.mnemonic.upcas…
241 % if !(i.opcode.upcase.include? "DEPRECATED_") && !(skipped_opcodes.include? i.mnemonic.upcase)
257 % if !(i.opcode.upcase.include? "DEPRECATED_") && !(skipped_opcodes.include? i.mnemonic.upcase)
276 % if !(i.opcode.upcase.include? "DEPRECATED_") && !(skipped_opcodes.include? i.mnemonic.upcase)
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_emitter_def_gen.h.erb18 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
/arkcompiler/runtime_core/static_core/libpandafile/templates/
Dbytecode_emitter_def_gen.h.erb18 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
/arkcompiler/runtime_core/static_core/quickener/templates/
Dtranslation_table_gen.h.erb19 % ins = Panda::instructions.select {|insn| i.mnemonic == insn.mnemonic && (("pref_" + i.format.pret…
/arkcompiler/runtime_core/isa/
Dasserts.rb107 assert('Mnemonic defines operand types') do
108 Panda.instructions.group_by(&:mnemonic).map do |_, insns|
142 Panda.instructions.select { |i| i.mnemonic.match?(/^(throw|call|return)/) }.map do |i|
149 match = i.mnemonic.match(/[ifu](\d+)to[ifu](\d+)/)
188 next true unless i.mnemonic.start_with?('call')
196 next true unless i.mnemonic.include?('call.virt')
/arkcompiler/runtime_core/static_core/isa/
Dasserts.rb107 assert('Mnemonic defines operand types') do
108 Panda.instructions.group_by(&:mnemonic).map do |_, insns|
142 Panda.instructions.select { |i| i.mnemonic.match?(/^(throw|call|return)/) }.map do |i|
149 match = i.mnemonic.match(/[ifu](\d+)to[ifu](\d+)/)
188 next true unless i.mnemonic.start_with?('call')
196 next true unless i.mnemonic.include?('call.virt')

123