Searched refs:GetParamsNum (Results 1 – 8 of 8) sorted by relevance
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | optimize_bytecode.cpp | 267 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/ |
D | assembly-function.h | 139 std::size_t GetParamsNum() const in GetParamsNum() function
|
D | assembly-parser.cpp | 725 …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()
|
D | assembly-emitter.cpp | 1254 code->SetNumArgs(func.GetParamsNum()); in EmitFunctions()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
D | emitter.cpp | 552 for (uint32_t i = 0; i < func.GetParamsNum(); i++) { in DumpAsm() 555 if (i != func.GetParamsNum() - 1) { in DumpAsm()
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | patchFix.cpp | 158 for (uint32_t i = 0; i < func->GetParamsNum(); i++) { in GenerateFunctionAndClassHash() 160 if (i != func->GetParamsNum() - 1) { in GenerateFunctionAndClassHash()
|
/arkcompiler/runtime_core/assembler/tests/ |
D | assembler_parser_test.cpp | 568 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);
|
D | parser_test.cpp | 348 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()
|