Searched full:mnemonic (Results 1 – 25 of 72) sorted by relevance
123
| /arkcompiler/ets_frontend/es2panda/compiler/templates/ |
| D | formats.h.erb | 1 % 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…
|
| D | isa.h.erb | 1 % 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/ |
| D | formats.h.erb | 1 % 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…
|
| D | isa.h.erb | 1 % 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/ |
| D | inst_props_helpers_dynamic.inc.erb | 19 % 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/ |
| D | dyn_intrinsics_opcodes.inc.erb | 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) 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/ |
| D | ins_create_api.h.erb | 24 % 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|
|
| D | assembly-ins.h.erb | 1 % 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 …]
|
| D | ins_to_string.cpp.erb | 30 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group| 37 full_operation += "<%= insn.mnemonic%>";
|
| D | ins_emit.h.erb | 33 % 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/ |
| D | handle_gen.h.erb | 58 % 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/ |
| D | opc_to_string.h.erb | 45 % 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('.', '_') %>") {
|
| D | ins_create_wrapper_api.inc.erb | 40 % 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/ |
| D | asm_isapi.rb | 17 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/ |
| D | asm_isapi.rb | 17 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/ |
| D | debug_test_interpreter-inl_gen.cpp.erb | 36 % 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/ |
| D | ins_emit.h.erb | 53 % 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/ |
| D | codegen_dynamic_isapi.rb | 19 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/ |
| D | bytecode_optimizer_isapi.rb | 19 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/ |
| D | bytecode_inst-inl_gen.h.erb | 45 % 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/ |
| D | bytecode_emitter_def_gen.h.erb | 18 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
|
| /arkcompiler/runtime_core/static_core/libpandafile/templates/ |
| D | bytecode_emitter_def_gen.h.erb | 18 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
|
| /arkcompiler/runtime_core/static_core/quickener/templates/ |
| D | translation_table_gen.h.erb | 19 % ins = Panda::instructions.select {|insn| i.mnemonic == insn.mnemonic && (("pref_" + i.format.pret…
|
| /arkcompiler/runtime_core/isa/ |
| D | asserts.rb | 107 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/ |
| D | asserts.rb | 107 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