| /arkcompiler/runtime_core/isa/ |
| D | asserts.rb | 35 assert('Non-prefixed instruction opcodes and prefixes should fit one byte') do 39 assert('Non-prefixed instruction opcode indexes are sorted') do 43 assert('Prefix opcode indexes are sorted') do 47 assert('All instructions for a prefix should fit one byte') do 48 Panda.prefixes.map do |prefix| 53 assert('Prefixed instruction should have some prefix specified') do 54 Panda.instructions.map do |insn| 59 assert('Prefix should be defined') do 60 Panda.instructions.map do |insn| 67 assert('All prefixes should have unique name') do [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/js/ |
| D | test-do-while.js | 17 do a = 2 20 do a = 2; while (a > b) 22 do { a = 2 } while (a > b) 24 do { a = 2; } while (a > b) 26 do 30 do { } while (false); 32 do { 38 do do a = 2 40 do a = 2; while (1) if(1) {} 41 do a = 2; while (1) for(;;) {} [all …]
|
| /arkcompiler/runtime_core/irtoc/scripts/ |
| D | interpreter.irt | 46 ['8', '16'].each do |from| 47 ['u32', 'u64'].each do |to| 48 macro(:"u#{from}to#{to}") do |arg| 54 ['8', '16'].each do |from| 55 macro(:"i#{from}toi32") do |arg| 60 [['u32', 'UINT32'], ['i32', 'INT32']].each do |from, from_type| 61 ['b', 'i8', 'u8', 'i16', 'u16', 'i64', 'u64'].each do |to| 62 macro(:"#{from}to#{to}") do |arg| 68 ['b', 'u32', 'i32'].each do |to| 69 macro(:"u64to#{to}") do |arg| [all …]
|
| /arkcompiler/runtime_core/verification/gen/templates/ |
| D | abs_int_inl_compat_checks.h.erb | 39 …lts.ok.to_h.merge(checks.results.warnings.to_h).merge(checks.results.errors.to_h).each do |name, _| 44 % checks.results.each_pair do |status, values| 45 % values.each_pair do |name, msg| 50 % checks.domains.each_pair do |_, domain| 53 % domain.values.each do |value| 60 % checks.checks.each_pair do |check_name, check| 64 % check.each_pair do |name, value| 69 % value.each_pair do |name2, value2| 72 % Array(value2).each do |value2|
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/lib/ |
| D | spec.rb | 34 nt_data['groups']&.each do |ntg| 45 Dir.glob(testglob, base: testdir) do |f| 61 … %w[prefixes groups properties exceptions verification version min_version chapters].each do |attr| 71 @data['groups'].each do |g| 84 grp['instructions'].each do |i| 91 grp['description_tests'] = split(grp['description']).map do |da| 97 grp['exceptions_tests'] = grp['exceptions'].map do |e| 103 grp['verification_tests'] = grp['verification'].map do |v| 116 ntg['description'] && split(ntg['description']).each do |ntda| 127 ntg['instructions']&.each do |nti| [all …]
|
| /arkcompiler/runtime_core/isa/templates/ |
| D | isa.md.erb | 14 % # Auto-generated file, DO NOT EDIT 18 % Panda::chapters.each do |c| 26 % Panda::groups.each do |g| 30 % g.instructions.each do |i| 40 % g.properties.each do |p| 46 % g.exceptions.each do |e| 51 % g.verification.each do |v|
|
| /arkcompiler/runtime_core/libpandabase/templates/ |
| D | logger_impl_gen.inc.erb | 16 // Autogenerated file -- DO NOT EDIT! 20 % LoggerData.components.each do |c| 31 % LoggerData.levels.each do |l| 43 % LoggerData.levels.each do |l| 55 % LoggerData.components.each do |c| 72 % LoggerData.dfx_components.each do |c| 85 % LoggerData.levels.each do |l| 97 % LoggerData.components.each do |c| 113 % LoggerData.levels.each do |l|
|
| D | logger_enum_gen.h.erb | 16 // Autogenerated file -- DO NOT EDIT! 19 % LoggerData.levels.each do |l| 26 % LoggerData.components.each do |c| 33 % LoggerData.dfx_components.each do |c|
|
| /arkcompiler/runtime_core/libpandafile/templates/ |
| D | bytecode_emitter_gen.h.erb | 16 // Autogenerated file -- DO NOT EDIT! 22 % insns_uniq_sort_fmts.each do |i| # Panda::formats.each do |fmt| 58 % Panda::instructions.group_by(&:mnemonic).each do |mnemonic, group| 83 % signature.each do |arg| 93 % group.each do |i| 95 % i.operands.each_with_index do |op, index| 115 % Panda::instructions.each do |insn| 128 % uniq_fmt_jmps.each do |i| 152 % Panda::instructions.each do |insn| 168 % Panda::instructions.each do |insn| [all …]
|
| D | bytecode_instruction-inl_gen.h.erb | 20 % insns_uniq_sort_fmts.each do |i| # Panda::formats.each do |fmt| 39 % insns_uniq_sort_fmts.each do |i| # Panda::formats.each do |fmt| 58 % insns_uniq_sort_fmts.each do |i| # Panda::formats.each do |fmt| 77 % Panda::formats.each do |fmt| 93 % insns_uniq_sort_fmts.each do |i| # Panda::formats.each do |fmt| 127 % insns_uniq_sort_fmts.each do |i| # Panda::formats.each do |fmt| 159 % insns_uniq_sort_fmts.each do |i| # Panda::formats.each do |fmt| 188 % insns_uniq_sort_fmts.each do |i| # Panda::formats.each do |fmt| 220 % insns_uniq_sort_fmts.each do |i| # Panda::formats.each do |fmt| 251 % insns_uniq_sort_fmts.each do |i| # Panda::formats.each do |fmt| [all …]
|
| D | bytecode_instruction_enum_gen.h.erb | 17 % Panda::formats.each do |fmt| 23 % Panda::instructions.each do |i| 30 % Panda::properties.each_with_index do |f, i| 36 % Panda::exceptions.each_with_index do |f, i|
|
| /arkcompiler/runtime_core/tests/cts-generator/runner/ |
| D | result.rb | 30 @@mutex.synchronize do 38 @@mutex.synchronize do 46 @@mutex.synchronize do 54 @@mutex.synchronize do 62 @@mutex.synchronize do 70 @@mutex.synchronize do 78 @@mutex.synchronize do 86 @@mutex.synchronize do 96 @@mutex.synchronize do 106 @@mutex.synchronize do [all …]
|
| /arkcompiler/runtime_core/runtime/interpreter/templates/ |
| D | irtoc_interpreter_utils.h.erb | 23 % Panda::instructions.each do |i| 26 % Panda::prefixes.each do |p| 31 % Panda::instructions.each do |i| 34 % Panda::prefixes.each do |p| 43 % Panda::dispatch_table.handler_names.each do |name| 47 % Panda::dispatch_table.handler_names.each do |name|
|
| /arkcompiler/runtime_core/runtime/templates/ |
| D | bridge_dispatch_dyn.S.erb | 20 % formats.each do |fmt| 22 % insns.each do |insn| 28 % formats.each do |fmt| 30 % insns.each do |insn| 37 % formats.each do |fmt|
|
| D | plugins.inc.erb | 18 % Common::plugins.each_value do |plugin_opts| 27 % Common::plugins.each_value do |plugin_opts| 45 % Common::plugins.each do |plugin_lang, plugin_opts| 61 % Common::plugins.each do |plugin_lang, plugin_opts| 77 % Common::plugins.each_key do |plugin_lang|
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/lib/templates/ |
| D | full_md.erb | 16 <% full['chapters']&.each do |c| %> 24 <% full['groups']&.each do |g| %> 31 <% g['description_tests']&.each do |d| -%> 37 <% g['instructions']&.each do |i| -%> 54 <% g['properties']&.each do |p| -%> 60 <% g['exceptions_tests']&.each do |e| -%> 66 <% g['verification_tests']&.each do |v| -%>
|
| /arkcompiler/runtime_core/libpandabase/events/ |
| D | events_gen.h.erb | 16 // Autogenerated file -- DO NOT EDIT! 33 % EventsData.events.each do |event| 34 % event.fields.select(&:is_enum?).each do |field| 48 % EventsData.events.each do |event| 59 % EventsData.events.each do |event| 60 % event.fields.select(&:is_enum?).each do |field| 63 % field.enums.each do |enum| 75 % EventsData.events.each do |event| 77 % event.fields.each do |field| 86 % EventsData.events.each do |event| [all …]
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | pandafile_isapi.rb | 18 Instruction.class_eval do 25 operands.each do |op| 41 Operand.class_eval do 62 group.each do |insn| 63 insn.operands.each_with_index do |o, i| 67 sig.each do |o|
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/ |
| D | intrinsics_enum.inl.erb | 16 // Autogenerated file -- DO NOT EDIT! 18 % Compiler::intrinsics.each do |intrinsic| 25 % Compiler::intrinsics.select{ |x| !x.is_irtoc? }.each do |intrinsic| 35 % Compiler::intrinsics.select(&:is_irtoc?).each do |intrinsic|
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | opcodes.h.erb | 20 % IR::instructions.each do |inst| 29 % IR::instructions.map { |x| x.base }.uniq.each do |base| 36 % IR::flags.each_pair do |flag, v| 43 % IR::instructions.each do |inst| 49 % IR::modes.each_pair do |mode, v|
|
| /arkcompiler/runtime_core/templates/messages/ |
| D | messages.h.erb | 16 // Autogenerated file -- DO NOT EDIT! 30 % Messages.messages.each do |msg| 38 % Messages.messages.each do |msg| 54 % Messages.messages.each do |msg| 62 % Messages.messages.each do |msg| 70 % Messages.messages.each do |msg|
|
| /arkcompiler/runtime_core/irtoc/lang/ |
| D | irtoc.rb | 95 @macros.each do |name| 114 uniq_filename("#{File.basename(filename)}.fixed") do |fixed_filename| 128 Options.plugins[filename].each do |full_filename| 129 File.open(full_filename).readlines.each do |line| 137 File.open(output_filename, "w") do | file| 138 File.open(filename).readlines.each do |line| 152 uniq_filename("#{File.basename(input_file)}.fixed") do |fixed_filename| 182 Options.input_files.each do |input_file| 218 File.open("validation.yaml", "w") do |file|
|
| /arkcompiler/runtime_core/tests/cts-generator/ |
| D | test-runner.rb | 69 optparser = OptionParser.new do |opts| 88 opts.on('-e', '--exclude-tag TAG', Array, 'Exclude tags for tests') do |f| 91 opts.on('-o', '--panda-options OPTION', Array, 'Panda options') do |f| 94 opts.on('-i', '--include-tag TAG', Array, 'Include tags for tests') do |f| 97 opts.on('-b', '--bug_id BUGID', Array, 'Include tests with specified bug ids') do |f| 102 opts.on('--plugins PLUGINS', Array, 'Paths to runner plugins') do |plugins| 103 plugins.each do |plugin| 108 opts.on('-h', '--help', 'Prints this help') do 220 Thread.new do 241 runner_threads = (1..$CONCURRENCY).map do |id| [all …]
|
| /arkcompiler/ets_runtime/test/aottest/loops/ |
| D | loops.ts | 69 do { 76 do { 85 do { 112 do { 140 do { 168 do {
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
| D | code_sink.cpp | 29 * a particular execution path but are performed on paths that do not need 55 * We do not move: 108 // Ensures that we do not move in or out monitored section in ProcessBlock() 109 // Also ensures we do not sink over volatile store in ProcessBlock() 119 // Insertion in the beginning of the block guaranties we do not in ProcessBlock() 145 // Save stores to be sure we do not sink a load instruction that may be in SinkInstruction() 162 // Do not sink over monitors or volatile stores in SinkInstruction() 199 // Do not sink into irreducible loops in IsAcceptableTarget() 207 // Do not sink loads across a critical edge there may be stores in in IsAcceptableTarget() 222 …// We can't insert instruction before Phi, therefore do not sink into blocks where one of users is… in IsAcceptableTarget()
|