Home
last modified time | relevance | path

Searched refs:regs_num (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/runtime_core/assembler/templates/
Dins_emit.h.erb123 % regs_num = 0
127 % regs_num += 1
139 % if regs_num > 0
140 if (regs.size() < <%= regs_num %>) {
145 % if regs_num > 0 and imms_num > 0
146 if (regs.size() < <%= regs_num %> || imms.size() < <%= imms_num %>) {
149 % elsif regs_num > 0
150 if (regs.size() < <%= regs_num %>) {
/arkcompiler/ets_frontend/ts2panda/src/
Dpandasm.ts84 regs_num: number = 0,
102 this.r = regs_num;
/arkcompiler/runtime_core/assembler/
Dassembly-function.h83 size_t regs_num = 0; member
146 return regs_num; in GetTotalRegs()
200 return reg_number >= regs_num; in IsParameter()
Dassembly-emitter.cpp1253 code->SetNumVregs(func.regs_num); in EmitFunctions()
1758 std::cerr << i.ToString("\n", true, regs_num); in DebugDump()
Dassembly-parser.cpp671 curr_func_->regs_num = static_cast<size_t>(curr_func_->value_of_first_param + 1); in ParseResetFunctionLabelsAndParams()
/arkcompiler/ets_frontend/ts2panda/ts2abc/tests/
Dfunctions_test.cpp58 EXPECT_EQ(pandaFunc.regs_num, function["regs_num"].asUInt());
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyFunctionProto.cpp88 protoFunction.set_regsnum(function.regs_num); in Serialize()
150 function.regs_num = protoFunction.regsnum(); in Deserialize()
/arkcompiler/runtime_core/bytecode_optimizer/
Doptimize_bytecode.cpp267 if ((function.regs_num + function.GetParamsNum()) > compiler::VIRTUAL_FRAME_SIZE) { in SkipFunction()
346 function.regs_num = static_cast<size_t>(function.value_of_first_param + 1); in OptimizeFunction()
348 …if (auto frame_size = function.regs_num + function.GetParamsNum(); frame_size >= NUM_COMPACTLY_ENC… in OptimizeFunction()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
DtypeExtractorEmitter.cpp110 …COUT << "[LOG] " << func_->name << ": " << func_->ins[index].ToString("", true, func_->regs_num) << in GenFunctionTypeInfo()
Demitter.cpp58 func_->regs_num = pg->TotalRegsNum(); in FunctionEmitter()
/arkcompiler/runtime_core/disassembler/
Ddisassembler.cpp1380 …" << std::setw(width) << std::left << method.ins.at(i).ToString("", true, method.regs_num) << " # " in Serialize()
1388 std::string ins = i.ToString("", true, method.regs_num); in Serialize()
1395 os << "\t" << i.ToString("", true, method.regs_num) << "\n"; in Serialize()
1616 method->regs_num = code_accessor.GetNumVregs(); in GetInstructions()
/arkcompiler/runtime_core/assembler/tests/
Dparser_test.cpp800 ASSERT_EQ(item.Value().function_table.at(sig_niam1).regs_num, 0U); in TEST()
802 ASSERT_EQ(item.Value().function_table.at(sig_niam2).regs_num, 6U); in TEST()
2226 ASSERT_EQ(it_func->second.regs_num, 2); in TEST()
2257 ASSERT_EQ(it_func->second.regs_num, 2); in TEST()
2284 ASSERT_EQ(it_func->second.regs_num, 1); in TEST()
2315 ASSERT_EQ(it_func->second.regs_num, 5); in TEST()
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp556 pandaFunc.regs_num = regsNum; in GetFunctionDefintion()