Home
last modified time | relevance | path

Searched refs:GetParamsNum (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/runtime_core/bytecode_optimizer/
Doptimize_bytecode.cpp267 if ((function.regs_num + function.GetParamsNum()) > compiler::VIRTUAL_FRAME_SIZE) { in SkipFunction()
348 …if (auto frame_size = function.regs_num + function.GetParamsNum(); frame_size >= NUM_COMPACTLY_ENC… in OptimizeFunction()
/arkcompiler/runtime_core/assembler/
Dassembly-function.h139 std::size_t GetParamsNum() const in GetParamsNum() function
Dassembly-parser.cpp725 …insn_it->OperandListLength() - diff < program_.function_table.at(insn_it->ids[0]).GetParamsNum()) { in ParseResetFunctionTable()
1084 if (curr_func_->GetParamsNum() > 0) { in RegValidName()
1085 …t_.ValidateRegisterName('v') || context_.ValidateRegisterName('a', curr_func_->GetParamsNum() - 1); in RegValidName()
1093 return context_.ValidateParameterName(curr_func_->GetParamsNum()); in ParamValidName()
Dassembly-emitter.cpp1254 code->SetNumArgs(func.GetParamsNum()); in EmitFunctions()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp552 for (uint32_t i = 0; i < func.GetParamsNum(); i++) { in DumpAsm()
555 if (i != func.GetParamsNum() - 1) { in DumpAsm()
/arkcompiler/ets_frontend/es2panda/util/
DpatchFix.cpp158 for (uint32_t i = 0; i < func->GetParamsNum(); i++) { in GenerateFunctionAndClassHash()
160 if (i != func->GetParamsNum() - 1) { in GenerateFunctionAndClassHash()
/arkcompiler/runtime_core/assembler/tests/
Dassembler_parser_test.cpp568 EXPECT_EQ(item.Value().function_table.at(sig_main).GetParamsNum(), 0U);
569 EXPECT_EQ(item.Value().function_table.at(sig_m123).GetParamsNum(), num_size);
625 EXPECT_EQ(item.Value().function_table.at(sig_main).GetParamsNum(), 0U);
905 EXPECT_EQ(item.Value().function_table.at(sig_niam1).GetParamsNum(), 0U);
908 EXPECT_EQ(item.Value().function_table.at(sig_niam2).GetParamsNum(), 3U);
Dparser_test.cpp348 ASSERT_EQ(item.Value().function_table.at(sig_main).GetParamsNum(), 0U); in TEST()
349 ASSERT_EQ(item.Value().function_table.at(sig_m123).GetParamsNum(), 2U); in TEST()
769 ASSERT_EQ(item.Value().function_table.at(sig_niam1).GetParamsNum(), 0U); in TEST()
772 ASSERT_EQ(item.Value().function_table.at(sig_niam2).GetParamsNum(), 3U); in TEST()