/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | bytecodes.cpp | 543 info.inputs.emplace_back(VirtualRegister(vsrc)); in InitBytecodeInfo() 550 info.inputs.emplace_back(VirtualRegister(vsrc)); in InitBytecodeInfo() 557 info.inputs.emplace_back(VirtualRegister(vsrc)); in InitBytecodeInfo() 562 info.inputs.emplace_back(ConstDataId(ConstDataIDType::StringIDType, stringId)); in InitBytecodeInfo() 567 info.inputs.emplace_back(VirtualRegister(vsrc)); in InitBytecodeInfo() 576 info.inputs.emplace_back(Immediate(READ_INST_32_0())); in InitBytecodeInfo() 580 info.inputs.emplace_back(Immediate(READ_INST_64_0())); in InitBytecodeInfo() 585 info.inputs.emplace_back(VirtualRegister(a0)); in InitBytecodeInfo() 591 info.inputs.emplace_back(VirtualRegister(startReg)); in InitBytecodeInfo() 592 info.inputs.emplace_back(VirtualRegister(a0)); in InitBytecodeInfo() [all …]
|
D | hcr_circuit_builder.cpp | 28 std::vector<GateRef> inputs { depend, target, glue }; in NoLabelCallRuntime() local 29 inputs.insert(inputs.end(), args.begin(), args.end()); in NoLabelCallRuntime() 31 inputs.emplace_back(IntPtr(0)); // framestate slot in NoLabelCallRuntime() 34 inputs.emplace_back(pcOffset); in NoLabelCallRuntime() 40 …GateRef result = circuit_->NewGate(meta, machineType, inputs.size(), inputs.data(), type, name.c_s… in NoLabelCallRuntime() 116 std::vector<GateRef> inputs { depend, target, glue }; in Call() local 117 inputs.insert(inputs.end(), args.begin(), args.end()); in Call() 120 AppendFrameArgs(inputs, hirGate); in Call() 124 inputs.emplace_back(pcOffset); in Call() 157 …GateRef result = GetCircuit()->NewGate(meta, machineType, inputs.size(), inputs.data(), type, comm… in Call()
|
/arkcompiler/runtime_core/static_core/irtoc/lang/ |
D | ir_generator.rb | 97 raise "Return has #{inst.inputs.size}" if inst.inputs.size != 1 99 Output << "source_inst->ReplaceUsers(#{inst.inputs.first.local_var_name});" 116 Output << "#{var_name}->SetOperandsType(DataType::#{inst.inputs.first.get_type_for_cpp});" 120 input_name = get_inst_var_name(inst.inputs.first) 143 num_inputs = inst.inputs.size + (need_save_state ? 1 : 0) 150 inst.inputs.each_with_index do |input, i|
|
D | instruction.rb | 153 inputs = @inputs.map do |input| 157 ss += ".Inputs({#{inputs}})" unless inputs.empty? 160 inputs = @inputs.map(&:index).join(", ") 161 ss += ".Inputs(#{inputs})" unless inputs.empty? 331 inputs = @inputs.map { |x| "#{x.index}"} 332 stm.print(" (#{inputs.join(', ')})")
|
D | function.rb | 151 def create_instruction(opcode, inputs = []) argument 160 inst.add_inputs(inputs.map { |input| 324 define_method(name) do |*inputs, &block| 326 inst = create_instruction(name, inputs) 339 def Intrinsic(name, *inputs) argument 340 …inst = create_instruction(:Intrinsic, inputs).IntrinsicId("RuntimeInterface::IntrinsicId::INTRINSI… 391 inst.inputs.each_with_index do |input, i| 394 inst.inputs[i] = input.inst 483 def load_phi_inputs(*inputs) argument 484 …inputs.reject { |x| (x.is_a? Symbol) && (!respond_to? x) }.map { |x| (x.is_a? Symbol) ? send(x) : …
|
/arkcompiler/runtime_core/static_core/compiler/docs/ |
D | constant_folding_doc.md | 3 **Constant folding** - optimization which calculate instructions with constant inputs in compile ti… 13 If instruction have constant inputs, new constant is calculate and input of user of original instru… 19 if (inputs is constants) { 21 Putting new constant in inputs of inst users.
|
D | simplify_sb_doc.md | 58 let inputs: string[] = ... // array of strings 60 for (let input in inputs) 67 let inputs: string[] = ... // array of strings 69 for (let input in inputs) { 78 let inputs: string[] = ... // array of strings 80 for (let input in inputs) {
|
D | reg_alloc_linear_scan_doc.md | 26 #### Resolve instructions inputs and output 32 For PHI's inputs having segmented life intervals location at the end of the preceding block is take… 34 …rs then SaveState is copied and original instruction is replaced by the copy for one of its inputs. 63 …ssigned to the dymamic-inputs instructions (SaveStateInst, CallInst, IntrinsicInst) and containts …
|
D | if_conversion_doc.md | 59 6. The number of Phi instruction in `PBB`, which have different inputs from corresponding predecess… 60 7. `PBB` doesn't contain float Phi with different inputs for `JBB` and `BB`(`JBB 2` for Diamond) 70 …a. If `PBB` has other predecessors, we check if inputs from `JBB` and `BB`(`JBB 2` for Diamond) ar… 71 …b. If `PBB` doesn't have other predecessors, all Phi inputs are copied to Select instructions and …
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | mergeProgram.cpp | 121 std::vector<std::string> inputs; in CollectProtoFiles() local 146 inputs.push_back(line); in CollectProtoFiles() 151 inputs.push_back(inputAbs.Value()); in CollectProtoFiles() 154 protoFiles.reserve(inputs.size()); in CollectProtoFiles() 155 for (auto &filePath : inputs) { in CollectProtoFiles()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | ir_constructor.h | 188 IrConstructor &Inputs(Args... inputs) in Inputs() argument 191 inst_inputs_map_[CurrentInstIndex()].reserve(sizeof...(inputs)); in Inputs() 192 if constexpr (sizeof...(inputs) != 0) { in Inputs() 193 AddInput(inputs...); in Inputs() 202 IrConstructor &Inputs(std::initializer_list<std::pair<int, int>> inputs) in Inputs() argument 207 phi_inst_inputs_map_[CurrentInstIndex()].reserve(inputs.size()); in Inputs() 208 for (const auto &input : inputs) { in Inputs() 233 inst_inputs_map_[CurrentInstIndex()].reserve(inputs.size()); in Inputs() 234 types->AllocateInputTypes(graph_->GetAllocator(), inputs.size()); in Inputs() 235 for (const auto &input : inputs) { in Inputs() [all …]
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
D | ir_constructor.h | 215 IrConstructor &Inputs(Args... inputs) in Inputs() argument 218 instInputsMap_[CurrentInstIndex()].reserve(sizeof...(inputs)); in Inputs() 220 if constexpr (sizeof...(inputs) != 0) { in Inputs() 221 AddInput(inputs...); in Inputs() 232 IrConstructor &Inputs(std::initializer_list<std::pair<int, int>> inputs) in Inputs() argument 237 phiInstInputsMap_[CurrentInstIndex()].reserve(inputs.size()); in Inputs() 238 for (const auto &input : inputs) { in Inputs() 264 instInputsMap_[CurrentInstIndex()].reserve(inputs.size()); in Inputs() 265 types->AllocateInputTypes(graph_->GetAllocator(), inputs.size()); in Inputs() 266 for (const auto &input : inputs) { in Inputs() [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/js_interop/ |
D | js_interop_inst_builder.cpp | 28 static IntrinsicInst *Build(InstBuilder *ib, size_t pc, const ARGS &...inputs) in Build() 30 static_assert(sizeof...(inputs) == N + 1); in Build() 31 return ib->BuildInteropIntrinsic<N>(pc, ID, RET_TYPE, {PARAM_TYPES...}, {inputs...}); in Build() 57 const std::array<Inst *, N + 1> &inputs) in BuildInteropIntrinsic() 64 intrinsic->AppendInputAndType(inputs[i], types[i]); in BuildInteropIntrinsic() 66 intrinsic->AppendInputAndType(inputs[N], DataType::NO_TYPE); // SaveState input in BuildInteropIntrinsic()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/templates/ |
D | IR-instructions.md.erb | 27 …inputs = inst.has_inputs? ? "<ul><li> #{inst.inputs.map {|x| x.types_string }.join('</li><li>') } … 41 | <%= inst.opcode %> | <%= dest %> | <%= inputs %> | <%= inst.flags.join(', ') %> | <%= verify_str …
|
D | inst_checker_gen.h.erb | 54 % if inst.inputs.any? { |x| x.is_dyn? } 58 CHECK_EQ(inst->GetInputsCount(), <%= inst.inputs.size %>U); 59 % inst.inputs.each_with_index do |operand, i|
|
D | instructions.rb | 146 raise "Destination can be only first operand" if inputs.any? { |x| x.is_dst? } 158 !inputs.empty?
|
/arkcompiler/runtime_core/compiler/optimizer/templates/ |
D | inst_checker_gen.h.erb | 54 % if inst.inputs.any? { |x| x.is_dyn? } 58 CHECK_EQ(inst->GetInputsCount(), <%= inst.inputs.size %>U); 59 % inst.inputs.each_with_index do |operand, i|
|
D | IR-instructions.md.erb | 27 …inputs = inst.has_inputs? ? "<ul><li> #{inst.inputs.map {|x| x.types_string }.join('</li><li>') } … 41 | <%= inst.opcode %> | <%= dest %> | <%= inputs %> | <%= inst.flags.join(', ') %> | <%= verify_str …
|
D | instructions.rb | 146 raise "Destination can be only first operand" if inputs.any? { |x| x.is_dst? } 158 !inputs.empty?
|
/arkcompiler/ets_runtime/test/ |
D | test_helper.gni | 71 inputs = [ 113 inputs = [ 187 inputs = [ merge_file_raw ] 285 inputs = [ _test_abc_path_ ] 286 inputs += _extra_modules_ 339 inputs = [ _test_abc_path_ ] 340 inputs += _extra_modules_ 397 inputs = [ _test_abc_path_ ] 398 inputs += _extra_modules_ 453 inputs = [ _test_abc_path_ ] [all …]
|
/arkcompiler/runtime_core/libark_defect_scan_aux/ |
D | graph.cpp | 96 std::vector<Inst> inputs; in GetInputInsts() local 99 inputs.emplace_back(input.GetInst()); in GetInputInsts() 102 return inputs; in GetInputInsts()
|
/arkcompiler/toolchain/build/templates/cxx/ |
D | cxx.gni | 72 if (!defined(inputs)) { 73 inputs = [] 78 inputs += [ version_script ] 235 if (!defined(inputs)) { 236 inputs = [] 241 inputs += [ version_script ]
|
/arkcompiler/runtime_core/gn/build/toolchain/ |
D | BUILD.gn | 80 command = "rm -f {{output}} && $ar rcs {{output}} {{inputs}}" 95 rspfile_content = "-Wl,--whole-archive {{inputs}} {{solibs}} -Wl,--no-whole-archive {{libs}}" 122 rspfile_content = "{{inputs}}"
|
/arkcompiler/runtime_core/static_core/gn/build/toolchain/ |
D | BUILD.gn | 85 command = "rm -f {{output}} && $ar rcs {{output}} {{inputs}}" 100 rspfile_content = "-Wl,--whole-archive {{inputs}} {{solibs}} -Wl,--no-whole-archive {{libs}}" 127 rspfile_content = "{{inputs}}"
|
/arkcompiler/runtime_core/compiler/docs/ |
D | try_catch_blocks_ir.md | 125 …inputs are values of these virtual registers in the points where throwable instructions are placed… 127 In the next example `CatchPhi` has 3 inputs: `a0`, `a1`, `a2` and contains vector of 3 throwable in…
|