/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | regAllocator.cpp | 73 std::array<VReg *, IRNode::MAX_REG_OPERAND> regs {}; in Run() local 74 auto regCnt = ins->Registers(®s); in Run() 79 auto registers = Span<VReg *>(regs.data(), regs.data() + regCnt); in Run() 91 std::array<VReg *, IRNode::MAX_REG_OPERAND> regs {}; in Run() local 92 auto regCnt = ins->Registers(®s); in Run() 94 auto registers = Span<VReg *>(regs.data(), regs.data() + regCnt); in Run() 120 std::array<VReg *, IRNode::MAX_REG_OPERAND> regs {}; in AdjustInsRegWhenHasSpill() local 121 auto regCnt = ins->Registers(®s); in AdjustInsRegWhenHasSpill() 127 auto registers = Span<VReg *>(regs.data(), regs.data() + regCnt); in AdjustInsRegWhenHasSpill()
|
/arkcompiler/runtime_core/compiler/tests/amd64/ |
D | register64_test.cpp | 70 std::vector<Reg> regs; in TEST_F() local 72 regs.push_back(encoder.AcquireScratchRegister(INT64_TYPE)); in TEST_F() 76 for (auto reg : regs) { in TEST_F() 81 regs.clear(); in TEST_F() 83 regs.push_back(encoder.AcquireScratchRegister(FloatType)); in TEST_F() 88 for (auto reg : regs) { in TEST_F()
|
/arkcompiler/runtime_core/compiler/tests/aarch32/ |
D | register32_test.cpp | 70 std::vector<Reg> regs; in TEST_F() local 72 regs.push_back(encoder.AcquireScratchRegister(INT64_TYPE)); in TEST_F() 76 for (auto reg : regs) { in TEST_F() 81 regs.clear(); in TEST_F() 83 regs.push_back(encoder.AcquireScratchRegister(FloatType)); in TEST_F() 88 for (auto reg : regs) { in TEST_F()
|
/arkcompiler/runtime_core/compiler/tests/aarch64/ |
D | register64_test.cpp | 67 std::vector<Reg> regs; in TEST_F() local 69 regs.push_back(encoder.AcquireScratchRegister(INT64_TYPE)); in TEST_F() 73 for (auto reg : regs) { in TEST_F() 78 regs.clear(); in TEST_F() 80 regs.push_back(encoder.AcquireScratchRegister(FloatType)); in TEST_F() 85 for (auto reg : regs) { in TEST_F()
|
/arkcompiler/runtime_core/assembler/ |
D | assembly-ins.cpp | 24 for (const auto ® : this->regs) { in RegsToString() 89 if (idx >= regs.size()) { in RegToString() 101 if (print_args && regs[idx] >= first_arg_idx) { in RegToString() 102 translator << "a" << regs[idx] - first_arg_idx; in RegToString() 104 translator << "v" << regs[idx]; in RegToString()
|
D | assembly-ins.h | 101 std::vector<uint16_t> regs; /* list of arguments - registers */ member 120 return regs.size() + ids.size() + imms.size(); in OperandListLength() 178 return regs; in Uses() 194 ASSERT(static_cast<size_t>(idx) < regs.size()); in Uses() 195 res.emplace_back(regs[idx]); in Uses() 207 return regs[def_idx]; in Def() 218 for (auto reg : regs) { in IsValidToEmit()
|
D | assembly-parser.cpp | 675 !curr_func_->ins[v.first - 1].regs.empty()) { in ParseResetFunctionLabelsAndParams() 676 curr_func_->ins[v.first - 1].regs[v.second] += in ParseResetFunctionLabelsAndParams() 679 if (curr_func_->ins[v.first - 1].regs[v.second] >= max_reg_number) { in ParseResetFunctionLabelsAndParams() 727 (static_cast<int>(insn_it->regs.size()) - static_cast<int>(diff) >= 0)) { in ParseResetFunctionTable() 1271 curr_ins_->regs.push_back(static_cast<uint16_t>(number)); in ParseOperandVreg() 1274 curr_ins_->regs.push_back(static_cast<uint16_t>(ToNumber(p))); in ParseOperandVreg() 1275 … context_.function_arguments_list->emplace_back(context_.ins_number, curr_ins_->regs.size() - 1); in ParseOperandVreg()
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | assemblyInsProto.cpp | 22 for (const auto ® : insn.regs) { in Serialize() 50 insn.regs.reserve(protoInsn.regs_size()); in Deserialize() 51 for (const auto &protoReg : protoInsn.regs()) { in Deserialize() 52 insn.regs.push_back(static_cast<uint16_t>(protoReg)); in Deserialize()
|
/arkcompiler/runtime_core/disassembler/templates/ |
D | bc_ins_to_pandasm_ins.cpp.erb | 45 ins.regs.push_back(bc_ins.GetVReg(<%=reg_count%>)); 76 overhead = ins.regs.size() - pda.GetNumArgs(); 78 overhead = ins.regs.size() - pda.GetNumArgs() - 1; 80 if (overhead < 0 || overhead > static_cast<int>(ins.regs.size())) { 91 ins.regs.pop_back();
|
/arkcompiler/runtime_core/assembler/templates/ |
D | ins_emit.h.erb | 46 % def operands(insn, regs = "regs") 54 % ops << "#{regs}[#{nr}]" 140 if (regs.size() < <%= regs_num %>) { 146 if (regs.size() < <%= regs_num %> || imms.size() < <%= imms_num %>) { 150 if (regs.size() < <%= regs_num %>) { 160 auto registers = regs;
|
D | isa.h.erb | 45 % regs = insn.operands.select(&:reg?) 46 % dst_idx = regs.index(&:dst?) || 'INVALID_REG_IDX' 47 % use_idxs = regs.size.times.select { |idx| regs[idx].src? } || []
|
D | ins_create_api.h.erb | 40 <%=group.first.emitter_name%>_.regs.reserve(<%= count_reg %>); 52 <%=group.first.emitter_name%>_.regs.push_back(<%= o.name %>);
|
/arkcompiler/runtime_core/assembler/tests/ |
D | assembler_ins_test.cpp | 130 ins.regs.push_back(reg1); 131 ins.regs.push_back(reg2); 181 ins.regs.clear(); 197 ins.regs.push_back(1); 213 ins.regs.push_back(reg1); 214 ins.regs.push_back(reg2);
|
D | parser_test.cpp | 36 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[0], 1) << "1 expected"; in TEST() 37 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[1], 2) << "2 expected"; in TEST() 147 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[0], 1) << "1 expected"; in TEST() 149 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[1].regs[0], 10) << "10 expected"; in TEST() 169 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[0], 1) << "1 expected"; in TEST() 170 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[1], 2) << "2 expected"; in TEST() 250 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[0], 120) << "120 expected"; in TEST() 315 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[0], 12) << "12 expected"; in TEST() 363 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[1].regs[0], 0); in TEST() 366 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[2].regs[0], 15); in TEST() [all …]
|
D | assembler_parser_test.cpp | 49 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[0], 1) << "1 expected"; 50 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].regs[1], 2) << "2 expected"; 212 EXPECT_EQ(func.ins[3].regs[0], 4U); 213 EXPECT_EQ(func.ins[1].regs[0], 1U); 255 EXPECT_EQ(item.Value().function_table.at(func_name).ins[0].regs[0], 0) << "1 expected"; 256 EXPECT_EQ(item.Value().function_table.at(func_name).ins[0].regs[1], 5) << "2 expected"; 584 EXPECT_EQ(func_main_at[1].regs[0], 0U); 585 EXPECT_EQ(func_main_at[2].regs[0], 0U); 1328 std::vector<uint16_t> regs {}; variable 1329 EXPECT_EQ(item.Value().function_table.at(sig_f).ins[0].regs, regs); [all …]
|
/arkcompiler/ets_frontend/es2panda/compiler/templates/ |
D | isa.h.erb | 50 size_t Registers([[maybe_unused]] std::array<VReg*, MAX_REG_OPERAND>* regs) override 55 size_t Registers([[maybe_unused]] std::array<const VReg*, MAX_REG_OPERAND>* regs) const override 199 size_t Registers([[maybe_unused]] std::array<VReg*, MAX_REG_OPERAND>* regs) override 203 (*regs)[<%= reg_cnt %>] = &<%= reg %>; 209 size_t Registers([[maybe_unused]] std::array<const VReg*, MAX_REG_OPERAND>* regs) const override 213 (*regs)[<%= reg_cnt %>] = &<%= reg %>; 223 ins->regs.reserve(<%= op_map['reg'].length %>); 232 ins->regs.emplace_back(<%= reg %>);
|
/arkcompiler/ets_frontend/es2panda/ir/ |
D | irnode.h | 121 virtual size_t Registers([[maybe_unused]] std::array<VReg *, MAX_REG_OPERAND> *regs) = 0; 122 …virtual size_t Registers([[maybe_unused]] std::array<const VReg *, MAX_REG_OPERAND> *regs) const =…
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | pandasm.ts | 49 regs: Array<number> | undefined = undefined, 56 this.r = regs;
|
/arkcompiler/runtime_core/docs/ |
D | cfi_directives.md | 24 In prolog we save `lr`, `fp` and `callee` regs on stack. 27 - to find the right previous `frame` (with `fp` and `lr` regs)
|
D | runtime-compiled_code-interaction.md | 113 | Caller saved fp regs | 115 A | Caller saved regs | 117 A | Callee saved fp regs | 119 | Callee saved regs | 201 | Callee saved regs | 205 | Callee saved fp regs |
|
/arkcompiler/ets_frontend/merge_abc/protos/ |
D | assemblyIns.proto | 30 repeated uint32 regs = 2; field
|
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
D | emitter.cpp | 112 std::array<const VReg *, IRNode::MAX_REG_OPERAND> regs {}; in MatchFormat() local 113 auto regCnt = node->Registers(®s); in MatchFormat() 114 auto registers = Span<const VReg *>(regs.data(), regs.data() + regCnt); in MatchFormat()
|
/arkcompiler/runtime_core/compiler/tests/ |
D | inst_generator.h | 52 void SetNumVRegsArgs(size_t regs, size_t args) in SetNumVRegsArgs() argument 54 runtime_.vregs_count = regs; in SetNumVRegsArgs()
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | codegen_test.cpp | 66 EXPECT_EQ(result[0].regs[0], reg); 81 EXPECT_EQ(result[0].regs[0], reg);
|
/arkcompiler/ets_frontend/es2panda/compiler/debugger/ |
D | debuginfoDumper.cpp | 105 WrapArray("regs", ins.regs); in WriteIns()
|