Home
last modified time | relevance | path

Searched refs:operands (Results 1 - 25 of 26) sorted by relevance

12

/arkcompiler/runtime_core/compiler/optimizer/templates/
H A Dinstructions.rb135 attr_reader :operands, :inputs
140 @operands = signature.map { |sgn| Operand.new(sgn) }
141 if @operands.empty?
144 @inputs = @operands.drop(@operands.first.is_dst? ? 1 : 0)
150 !operands.empty? && operands.first.is_dst?
154 @operands.first
/arkcompiler/runtime_core/static_core/compiler/optimizer/templates/
H A Dinstructions.rb135 attr_reader :operands, :inputs
140 @operands = signature.map { |sgn| Operand.new(sgn) }
141 if @operands.empty?
144 @inputs = @operands.drop(@operands.first.is_dst? ? 1 : 0)
150 !operands.empty? && operands.first.is_dst?
154 @operands.first
/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-tag/generator/
H A Dtag-isapi.rb18 ops = operands
36 ops = operands
61 ops = operands
/arkcompiler/runtime_core/libpandafile/
H A Dpandafile_isapi.rb25 operands.each do |op|
63 insn.operands.each_with_index do |o, i|
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dpandafile_isapi.rb25 operands.each do |op|
63 insn.operands.each_with_index do |o, i|
/arkcompiler/runtime_core/isa/
H A Disapi.rb96 # Signature without operands
152 # Array of explicit operands
153 cached def operands
156 _, operands = sig.match(/(\S+) (.+)/).captures
157 operands = operands.split(', ')
161 operands.map do |operand|
169 operands.map do |operand|
188 operands.each_with_object(res) do |op, ops|
H A Dasserts.rb99 assert('Format operands are parseable') { Panda.instructions.each(&:operands) }
109 insns.map { |insn| insn.operands.map(&:name) }.uniq.one?
174 i.operands.select(&:id?).count <= 1
181 registers = i.operands.select(&:reg?)
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dlowering.cpp573 void Lowering::SetInputsAndInsertInstruction(OperandsCapture<MAX_OPERANDS> &operands, Inst *inst, Inst *newInst) in SetInputsAndInsertInstruction() argument
576 newInst->SetInput(idx, operands.Get(idx)); in SetInputsAndInsertInstruction()
827 OperandsCapture<3U> operands {}; in LowerMultiplyAddSub()
842 if (MSubMatcher2Ops::Capture(inst, operands, insts)) { in LowerMultiplyAddSub()
848 } else if (MSubMatcher3Ops::Capture(inst, operands, instsSub3)) { in LowerMultiplyAddSub()
852 } else if (MAddMatcher::Capture(inst, operands, insts.ResetIndex())) { in LowerMultiplyAddSub()
868 SetInputsAndInsertInstruction(operands, inst, newInst); in LowerMultiplyAddSub()
874 OperandsCapture<2U> operands {}; in LowerNegateMultiply()
877 if (!MNegMatcher::Capture(inst, operands, insts) || !operands in LowerNegateMultiply()
946 LowerOperationWithShiftedOperand(Inst *inst, OperandsCapture<MAX_OPERANDS> &operands, Inst *shiftInst, Opcode newOpcode) LowerOperationWithShiftedOperand() argument
[all...]
H A Dlowering.h55 * To capture operands from matched subtree Operand<Index> should be used, where
109 // Returns true if all non-constant operands have the same common type (obtained using GetCommonType) as all
110 // other operands.
120 // all operands are constants
160 // Returns true if all non-constant operands have exactly the same type and all
161 // constant arguments have the same common type (obtained using GetCommonType) as all other operands.
172 // all operands are constants
365 static void SetInputsAndInsertInstruction(OperandsCapture<MAX_OPERANDS> &operands, Inst *inst, Inst *newInst);
384 static Inst *LowerOperationWithShiftedOperand(Inst *inst, OperandsCapture<MAX_OPERANDS> &operands, Inst *shiftInst,
/arkcompiler/runtime_core/static_core/isa/
H A Disapi.rb96 # Signature without operands
156 # Array of explicit operands
157 cached def operands
160 _, operands = sig.match(/(\S+) (.+)/).captures
161 operands = operands.split(', ')
164 operands.map do |operand|
177 operands.each_with_object(res) do |op, ops|
H A Dasserts.rb99 assert('Format operands are parseable') { Panda.instructions.each(&:operands) }
109 insns.map { |insn| insn.operands.map(&:name) }.uniq.one?
174 i.operands.select(&:id?).count <= 1
181 registers = i.operands.select(&:reg?)
/arkcompiler/runtime_core/static_core/runtime/templates/
H A Dbridge_helpers_dynamic.rb15 insn.operands.each do |op|
/arkcompiler/runtime_core/static_core/libllvmbackend/templates/
H A Dllvm_pass.rb18 attr_reader :operands, :inputs
/arkcompiler/runtime_core/assembler/
H A Dasm_isapi.rb63 insn.operands.select(&:reg?).select(&:src?).size
H A Dassembly-parser.cpp1865 context_.err = GetError("Invalid number of operands.", Error::ErrorType::ERR_BAD_NUMBER_OPERANDS); in ParseOperandNone()
/arkcompiler/runtime_core/static_core/assembler/
H A Dasm_isapi.rb63 insn.operands.select(&:reg?).select(&:src?).size
H A Dassembly-parser.cpp1935 context_.err = GetError("Invalid number of operands.", Error::ErrorType::ERR_BAD_NUMBER_OPERANDS); in ParseOperandNone()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/ark_frame_lowering/
H A Dframe_lowering.cpp246 for (auto operand : machineInstr->operands()) { in HasOperandUsingStack()
303 for (auto operand : instr->operands()) { in HasOperandUsingFloatReg()
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dinst.h599 /// Get instruction to which these operands belongs to.
995 * Return true if instruction has dynamic operands storage.
1091 DynamicOperands *operands = GetDynamicOperands(); in AppendInput() local
1092 return operands->Append(input); in AppendInput()
1109 DynamicOperands *operands = GetDynamicOperands(); in RemoveInput() local
1110 ASSERT(index < operands->Size()); in RemoveInput()
1111 operands->Remove(index); in RemoveInput()
1169 DynamicOperands *operands = GetDynamicOperands();
1170 return Span<Input>(operands->Inputs(), operands
2892 [[maybe_unused]] auto operands = new (reinterpret_cast<void *>(data)) DynamicOperands(allocator); New() local
2902 auto operands = new (reinterpret_cast<void *>(data)) Operands<InstType::INPUT_COUNT>; New() local
[all...]
/arkcompiler/runtime_core/bytecode_optimizer/
H A Dbytecode_optimizer_isapi.rb119 reg = instruction.operands.select(&:reg?).first
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dir_builder.h88 V(Return, (GateRef gate, GateRef popCount, const std::vector<GateRef> &operands)) \
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
H A Dbytecode_optimizer_isapi.rb119 reg = instruction.operands.select(&:reg?).first
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dinst.h662 /// Get instruction to which these operands belongs to.
1254 /// Return true if instruction has dynamic operands storage.
1340 * Swap first 2 operands of the instruction.
1366 DynamicOperands *operands = GetDynamicOperands(); in AppendInput() local
1367 return operands->Append(input); in AppendInput()
1384 DynamicOperands *operands = GetDynamicOperands(); in RemoveInput() local
1385 ASSERT(index < operands->Size()); in RemoveInput()
1386 operands->Remove(index); in RemoveInput()
1440 DynamicOperands *operands = GetDynamicOperands();
1441 return Span<Input>(operands
[all...]
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
H A Dgc_intrusion.cpp291 for (auto &ops : inst->operands()) { in RewriteWithGcInBlock()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_ir_builder.cpp1228 const std::vector<GateRef> &operands) in VisitReturn()
1231 GateRef operand = operands[2]; // 2: skip 2 in gate that are not data gate in VisitReturn()
1227 VisitReturn([[maybe_unused]] GateRef gate, [[maybe_unused]] GateRef popCount, const std::vector<GateRef> &operands) VisitReturn() argument

Completed in 34 milliseconds

12