Home
last modified time | relevance | path

Searched full:each_with_index (Results 1 – 23 of 23) sorted by relevance

/arkcompiler/runtime_core/irtoc/scripts/
Dcommon.irt35 $temps_regmap = Regmap.new(Options.arch_info.temp_regs.each_with_index.map { |x, i| ["tmp#{i}".to_s…
39 arm64: (19..28).each_with_index.map { |x, i| ["callee#{i}".to_sym, x] }.to_h,
40 arm32: (4..10).each_with_index.map { |x, i| ["callee#{i}".to_sym, x] }.to_h,
41 x86_64: (11..15).each_with_index.map { |x, i| ["callee#{i}".to_sym, x] }.to_h,
45 arm64: (0..18).each_with_index.map { |x, i| ["caller#{i}".to_sym, x] }.to_h,
46 arm32: (0..3).each_with_index.map { |x, i| ["caller#{i}".to_sym, x] }.to_h,
47 x86_64: (0..8).each_with_index.map { |x, i| ["caller#{i}".to_sym, x] }.to_h,
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_instruction_enum_gen.h.erb30 % Panda::properties.each_with_index do |f, i|
36 % Panda::exceptions.each_with_index do |f, i|
Dbytecode_emitter_gen.h.erb95 % i.operands.each_with_index do |op, index|
/arkcompiler/runtime_core/assembler/templates/
Dins_create_api.h.erb34 % format.each_with_index do |o, i|
42 % format.each_with_index do |o, i|
Dopcode_parsing.h.erb52 % operands.each_with_index do |op, j|
Dins_emit.h.erb72 % id_properties.each_with_index do |prop, prop_idx|
/arkcompiler/runtime_core/tests/cts-generator/generator/
Dcommand.rb66 @command[Generator::TEST_TEMPLATE_CASES].each_with_index do |template_case, idx1|
86 @command[Generator::CASES].each_with_index do |current_case, index|
/arkcompiler/runtime_core/disassembler/templates/
Dintrinsics_gen.h.erb20 % params = intrinsic.impl_signature.args.each_with_index.map {|cpp_type, index| cpp_type + " " + …
87 % params = intrinsic.impl_signature.args.each_with_index.map {|cpp_type, index| cpp_type + " " + …
/arkcompiler/runtime_core/runtime/entrypoints/
Dentrypoints_compiler.inl.erb17 % Compiler::entrypoints.each_with_index do |entrypoint, index|
Dentrypoints_gen.h.erb72 % Compiler::entrypoints.each_with_index do |entrypoint, index|
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dgenerate_operations_intrinsic_graph.inl.erb26 % intrinsic.arguments.each_with_index do |arg, i|
/arkcompiler/runtime_core/runtime/templates/
Dintrinsics_gen.h.erb20 % params = intrinsic.impl_signature.args.each_with_index.map {|cpp_type, index| cpp_type + " " + …
140 % params = intrinsic.impl_signature.args.each_with_index.map {|cpp_type, index| cpp_type + " " + …
/arkcompiler/runtime_core/irtoc/lang/
Dir_generator.rb33 func.params.keys.each_with_index do |_, index|
140 inst.inputs.each_with_index do |input, i|
Dfunction.rb113 params.each_with_index do |(name, type), i|
337 inst.inputs.each_with_index do |input, i|
Dinstruction.rb255 @inputs.each_with_index do |input, i|
/arkcompiler/runtime_core/libpandafile/
Dpandafile_isapi.rb63 insn.operands.each_with_index do |o, i|
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_checker_gen.h.erb59 % inst.inputs.each_with_index do |operand, i|
Dinst_builder_gen.cpp.erb23 acc_and_operands.each_with_index do |op, i|
172 % Panda::instructions.each_with_index do |inst, idx|
191 % Panda::instructions.each_with_index do |inst, idx|
/arkcompiler/runtime_core/assembler/
Dasm_isapi.rb58 a.each_with_index.max[1] # returns index of `last` max value
/arkcompiler/runtime_core/tests/checked/
Dchecker.rb363 @disasm_lines.each_with_index do |line, index|
393 @disasm_method_scope.lines.each_with_index do |line, index|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml166 % inst.inputs.each_with_index do |op, idx|
/arkcompiler/runtime_core/libpandafile/templates/tests/
Dbytecode_emitter_tests_gen.h.erb293 % p.each_with_index do |v, index|
/arkcompiler/runtime_core/isa/
Disapi.rb602 data_insn[:format].each_with_index do |f, idx|