Home
last modified time | relevance | path

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

12

/arkcompiler/ets_frontend/ts2panda/templates/
Dirnodes.ts.erb15 % def get_node_kind(mnemonic)
16 % return "#{mnemonic.gsub('.', '_').upcase}"
20 % mnemonic = insn.mnemonic.split('.')
21 % return mnemonic.map{|el| el == '64' ? 'Wide' : el.capitalize}.join()
25 % if insn.mnemonic.start_with? "call"
78 % if insn.mnemonic.start_with? "callruntime"
81 % if insn.mnemonic.start_with? "call"
88 % if insn.mnemonic == "callrange" or insn.mnemonic == "wide.callrange" or
89 % insn.mnemonic == "callthisrange" or insn.mnemonic == "wide.callthisrange" or
90 % insn.mnemonic == "newobjrange" or insn.mnemonic == "wide.newobjrange" or
[all …]
DbuiltinsMap.ts.erb23 "<%= instr.mnemonic %>" : {
25 % if builtin.insn == instr.mnemonic
26 "<%= builtin.mnemonic %>" : <%= builtin.id %>,
27 <%= builtin.id %> : "<%= builtin.mnemonic %>",
35 % mnemonic = insn.mnemonic.split('.')
36 % return mnemonic.map{|el| el == '64' ? 'Wide' : el.capitalize}.join()
42 let code = (builtinsCodeMap as any)[key][ins.mnemonic];
53 … throw new Error("Intrinsic getSubCode subcode(" + ins.mnemonic + ") ir = " + ins.toString());
58 switch (ins.mnemonic) {
65 % if builtin.insn == instr.mnemonic
[all …]
/arkcompiler/ets_frontend/es2panda/compiler/templates/
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"
77 % mnemonic = insn.mnemonic.split('.')
78 % return mnemonic.map{|el| el == '64' ? 'Wide' : el.capitalize}.join()
82 % if insn.mnemonic == "callrange" or insn.mnemonic == "wide.callrange" or
83 % insn.mnemonic == "callthisrange" or insn.mnemonic == "wide.callthisrange" or
84 % insn.mnemonic == "newobjrange" or insn.mnemonic == "wide.newobjrange" or
85 % insn.mnemonic == "createobjectwithexcludedkeys" or insn.mnemonic == "wide.createobjectwithe…
[all …]
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…
/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/runtime/interpreter/templates/
Ddebug_test_interpreter-inl_gen.cpp.erb35 % mnemonic = i.mnemonic.split('.').map { |p| p == '64' ? 'Wide' : p.capitalize }.join
39 …handler.template Handle<%= mnemonic %><BytecodeInstruction::Format::<%= i.format.pretty.upcase %>>…
45 …handler.template Handle<%= mnemonic %><BytecodeInstruction::Format::<%= i.format.pretty.upcase %>>…
Dinterpreter-inl_gen.h.erb87 % mnemonic = i.mnemonic.split('.').map { |p| p == '64' ? 'Wide' : p.capitalize }.join
96 …handler.template Handle<%= mnemonic %><BytecodeInstruction::Format::<%= i.format.pretty.upcase %>>…
/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 }
278 …reg_num = if instruction.mnemonic.include?('ldarr') || instruction.mnemonic.include?('stobj') || i…
280 elsif instruction.mnemonic.include?('starr')
/arkcompiler/runtime_core/verification/gen/templates/
Dcflow_iterate_inl_gen.h.erb38 % Panda::instructions.uniq{|i| i.mnemonic}.each do |i|
39 % mnemonic = i.mnemonic.split('.').map { |p| p == '64' ? 'Wide' : p.capitalize }.join
41 std::optional<CflowStatus> Handle<%= mnemonic %>() {
129 % mnemonic = i.mnemonic.split('.').map { |p| p == '64' ? 'Wide' : p.capitalize }.join
131 …status = handler.template Handle<%= mnemonic %><BytecodeInstructionSafe::Format::<%= i.format.pret…
Dabs_int_inl_gen.h.erb43 % mnemonic = i.mnemonic.split('.').map { |p| p == '64' ? 'Wide' : p.capitalize }.join
49 …if (!handler.template Handle<%= mnemonic %><BytecodeInstructionSafe::Format::<%= i.format.pretty.u…
/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')
Disapi.rb97 def mnemonic method in Instruction
101 # Mnemonic stripped from type info
103 mnemonic.split('.')[0]
108 mn = mnemonic.tr('.', '_')
/arkcompiler/runtime_core/assembler/templates/
Dins_emit.h.erb32 % instruction_hash = Panda::instructions.map { |i| [i.mnemonic, i] }.to_h
34 % Panda::instructions.group_by(&:mnemonic).each_pair do |mn, group|
161 % call_mnemonics = if insn.mnemonic.end_with?('.short')
162 % [insn.mnemonic]
164 % ["#{insn.mnemonic}.short", insn.mnemonic]
Dins_to_string.cpp.erb30 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
37 full_operation += "<%= insn.mnemonic%>";
Disa.h.erb17 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
51 _(<%= insn.asm_token %>, "<%= insn.mnemonic %>", <%= pretty_format %>, <%= max_width %>, <%= flags …
Doperand_types_print.h.erb21 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
Dins_create_api.h.erb23 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
Dopcode_parsing.h.erb27 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_emitter_def_gen.h.erb18 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
Dbytecode_emitter_gen.h.erb58 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
211 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
231 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml65 % if inst.mnemonic.include? "obj"
95 % if inst.mnemonic.include? "null"
98 % if inst.mnemonic == "movi"
112 % if inst.mnemonic == "fmovi"
127 % if inst.mnemonic.include? "null"
130 % if inst.mnemonic == "ldai"
/arkcompiler/runtime_core/disassembler/templates/
Dopcode_translator.cpp.erb24 return pandasm::Opcode::<%= i.mnemonic.tr('.', '_').upcase %>;
/arkcompiler/runtime_core/runtime/templates/
Dbridge_helpers_dynamic.rb16 …raise "Instruction " + insn.mnemonic + " has unexpected format " + insn.format.pretty if ! op.reg?…
/arkcompiler/runtime_core/libpandafile/templates/tests/
Dbytecode_emitter_tests_gen.h.erb170 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
236 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group|
/arkcompiler/runtime_core/libpandafile/
Dpandafile_isapi.rb20 mnemonic.split('.').map { |p| p == '64' ? 'Wide' : p.capitalize }.join

12