Home
last modified time | relevance | path

Searched full:acc_and_operands (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml27 % if inst.acc_and_operands.last.imm?
34 % if (!inst.acc_and_operands[1].acc? && !inst.acc_write?)
46 …% if (!inst.acc_and_operands[0].acc? && !inst.acc_and_operands[1].acc? && !inst.acc_and_operands.l…
51 % if (inst.acc_and_operands[1].acc? || inst.acc_write?)
113 % if inst.acc_and_operands.size > 2
133 % if inst.acc_and_operands.size > 2
152 % elsif inst.acc_and_operands[1].imm?
163 % raise "Unsupported instruction type" unless inst.acc_and_operands[1].reg?
179 % elsif inst.acc_and_operands[1].imm?
192 % elsif inst.acc_and_operands[1].id?
[all …]
/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-tag/generator/
Dtag-isapi.rb27 ops = acc_and_operands
47 ops = acc_and_operands
72 ops = acc_and_operands
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/templates/
Dinst_templates.yaml27 % if inst.acc_and_operands.last.imm?
71 % if inst.acc_and_operands.size > 2
81 % if inst.acc_and_operands[1].imm?
88 % raise "Unsupported instruction type" unless inst.acc_and_operands[1].reg?
102 % if inst.acc_and_operands[1].imm?
108 % elsif inst.acc_and_operands[1].id?
111 % raise "Unsupported instruction type" unless inst.acc_and_operands[1].reg?
126 % if inst.acc_and_operands.first.acc?
Dinst_builder_dyn_gen.cpp.erb23 acc_and_operands.each_with_index do |op, i|
31 @inputs ||= acc_and_operands.select { |x| !x.dst? }
35 !acc_and_operands.empty? && acc_and_operands.first.dst?
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml27 % if inst.acc_and_operands.last.imm?
81 % if inst.acc_and_operands.size > 2
95 % if inst.acc_and_operands[1].imm?
106 % raise "Unsupported instruction type" unless inst.acc_and_operands[1].reg?
120 % if inst.acc_and_operands[1].imm?
133 % elsif inst.acc_and_operands[1].id?
136 % raise "Unsupported instruction type" unless inst.acc_and_operands[1].reg?
158 % if inst.acc_and_operands.first.acc?
/arkcompiler/runtime_core/isa/
Dasserts.rb117 i.acc_and_operands.map(&:dst?).any? == (i.dtype != 'none')
123 i.float? == i.acc_and_operands.any? { |op| op.type.start_with?('f') }
153 …i.acc_and_operands.select(&:src?).first.type[1..-1].to_i >= ssize.to_i && i.dtype[1..-1].to_i >= d…
160 i.acc_and_operands.all? { |op| types.include?(op.type.sub('[]', '')) }
167 i.acc_and_operands.select(&:dst?).count <= 1
Disapi.rb190 cached def acc_and_operands
227 acc_and_operands.select(&:src?)[index].type || 'none'
232 acc_and_operands.select(&:dst?).first&.type || 'none'
256 !acc_and_operands.select(&:acc?).select(&:src?).empty?
260 !acc_and_operands.select(&:acc?).select(&:dst?).empty?
264 acc_and_operands.select(&:acc?).empty?
/arkcompiler/runtime_core/static_core/isa/
Dasserts.rb117 i.acc_and_operands.map(&:dst?).any? == (i.dtype != 'none')
123 i.float? == i.acc_and_operands.any? { |op| op.type.start_with?('f') }
153 …i.acc_and_operands.select(&:src?).first.type[1..-1].to_i >= ssize.to_i && i.dtype[1..-1].to_i >= d…
160 i.acc_and_operands.all? { |op| types.include?(op.type.sub('[]', '')) }
167 i.acc_and_operands.select(&:dst?).count <= 1
Disapi.rb175 cached def acc_and_operands
198 acc_and_operands.select(&:src?)[index].type || 'none'
203 acc_and_operands.select(&:dst?).first&.type || 'none'
227 !acc_and_operands.select(&:acc?).select(&:src?).empty?
231 !acc_and_operands.select(&:acc?).select(&:dst?).empty?
235 acc_and_operands.select(&:acc?).empty?
/arkcompiler/runtime_core/static_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb23 acc_and_operands.each_with_index do |op, i|
31 @inputs ||= acc_and_operands.select { |x| !x.dst? }
35 !acc_and_operands.empty? && acc_and_operands.first.dst?
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb23 acc_and_operands.each_with_index do |op, i|
31 @inputs ||= acc_and_operands.select { |x| !x.dst? }
35 !acc_and_operands.empty? && acc_and_operands.first.dst?
/arkcompiler/runtime_core/libabckit/src/codegen/templates_dynamic/
Dcodegen_dynamic_isapi.rb18 op = acc_and_operands.select { |op| op.acc? && op.src? }.first
24 op = acc_and_operands.select { |op| op.acc? && op.dst? }.first
/arkcompiler/runtime_core/bytecode_optimizer/
Dbytecode_optimizer_isapi.rb18 op = acc_and_operands.select { |op| op.acc? && op.src? }.first
24 op = acc_and_operands.select { |op| op.acc? && op.dst? }.first
/arkcompiler/runtime_core/libabckit/src/codegen/
Dcodegen_static_isapi.rb16 op = acc_and_operands.select { |op| op.acc? && op.src? }.first
22 op = acc_and_operands.select { |op| op.acc? && op.dst? }.first
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dbytecode_optimizer_isapi.rb18 op = acc_and_operands.select { |op| op.acc? && op.src? }.first
24 op = acc_and_operands.select { |op| op.acc? && op.dst? }.first
/arkcompiler/runtime_core/assembler/templates/
Dins_emit.h.erb39 % src_acc_ops = insn.acc_and_operands.select(&:src?)
/arkcompiler/runtime_core/static_core/assembler/templates/
Dins_emit.h.erb59 % src_acc_ops = insn.acc_and_operands.select(&:src?)
/arkcompiler/runtime_core/libabckit/src/templates/abckit_intrinsics/
Dinst_builder_abckit_intrinsics.inc.erb105 % op = inst.acc_and_operands.select { |op| op.acc? && op.src? }.first
/arkcompiler/runtime_core/static_core/irtoc/scripts/
Dinterpreter.irt2183 src_acc_type = i.acc_and_operands.select(&:src?).select(&:acc?).first&.type&.to_sym
2231 i.acc_and_operands.each do |o|
2911 dst_acc_type = i.acc_and_operands.select(&:dst?).select(&:acc?).first&.type&.to_sym
2912 src_acc_type = i.acc_and_operands.select(&:src?).select(&:acc?).first&.type&.to_sym