Home
last modified time | relevance | path

Searched refs:Arguments (Results 1 - 25 of 34) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/tests/
H A Dglobal_value_numbering_test.cpp56 auto x = builder.Arguments(1); in HWTEST_F_L0()
57 auto y = builder.Arguments(2); in HWTEST_F_L0()
58 auto z = builder.Arguments(3); in HWTEST_F_L0()
82 auto x = builder.Arguments(1); in HWTEST_F_L0()
83 auto y = builder.Arguments(2); in HWTEST_F_L0()
106 auto x = builder.Arguments(1); in HWTEST_F_L0()
107 auto y = builder.Arguments(2); in HWTEST_F_L0()
130 auto x = builder.Arguments(1); in HWTEST_F_L0()
131 auto y = builder.Arguments(2); in HWTEST_F_L0()
161 auto x = builder.Arguments( in HWTEST_F_L0()
[all...]
H A Dinstruction_combine_test.cpp76 auto x = builder.Arguments(1); in HWTEST_F_L0()
100 auto y = builder.Arguments(2); in HWTEST_F_L0()
110 auto z = builder.Arguments(3); in HWTEST_F_L0()
136 auto x = builder.Arguments(1); in HWTEST_F_L0()
163 auto x = builder.Arguments(2); in HWTEST_F_L0()
164 auto y = builder.Arguments(3); in HWTEST_F_L0()
174 auto x = builder.Arguments(4); in HWTEST_F_L0()
175 auto y = builder.Arguments(5); in HWTEST_F_L0()
186 auto y = builder.Arguments(6); in HWTEST_F_L0()
197 auto y = builder.Arguments( in HWTEST_F_L0()
[all...]
H A Ddead_code_elimination_test.cpp46 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
76 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
77 auto arg1 = builder.Arguments(1); in HWTEST_F_L0()
78 auto arg2 = builder.Arguments(2); in HWTEST_F_L0()
108 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
109 auto arg1 = builder.Arguments(1); in HWTEST_F_L0()
110 auto arg2 = builder.Arguments(2); in HWTEST_F_L0()
H A Dcombined_pass_visitor_test.cpp52 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
53 auto arg1 = builder.Arguments(1); in HWTEST_F_L0()
54 auto arg2 = builder.Arguments(2); in HWTEST_F_L0()
H A Dtyped_array_lowering_test.cpp53 auto array = builder.Arguments(1); in HWTEST_F_L0()
82 auto array = builder.Arguments(1); in HWTEST_F_L0()
117 auto array = builder.Arguments(1); in HWTEST_F_L0()
149 auto array = builder.Arguments(1); in HWTEST_F_L0()
181 auto array = builder.Arguments(1); in HWTEST_F_L0()
216 auto array = builder.Arguments(1); in HWTEST_F_L0()
251 auto array = builder.Arguments(1); in HWTEST_F_L0()
286 auto array = builder.Arguments(1); in HWTEST_F_L0()
321 auto array = builder.Arguments(1); in HWTEST_F_L0()
356 auto array = builder.Arguments( in HWTEST_F_L0()
[all...]
H A Dloop_optimization_test.cpp71 auto array = builder.Arguments(1); in HWTEST_F_L0()
145 auto arg = builder.Arguments(1); in HWTEST_F_L0()
190 auto arg1 = builder.Arguments(1); in HWTEST_F_L0()
192 auto arg2 = builder.Arguments(2); in HWTEST_F_L0()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DcallExpression.h62 const ArenaVector<Expression *> &Arguments() const in Arguments() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::CallExpression
67 ArenaVector<Expression *> &Arguments() in Arguments() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::CallExpression
H A DnewExpression.h53 const ArenaVector<Expression *> &Arguments() const in Arguments() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::NewExpression
/arkcompiler/ets_runtime/ecmascript/jobs/
H A Dpending_job.h59 ACCESSORS(Arguments, ARGUMENT_OFFSET, CHAINID_OFFSET);
69 ACCESSORS(Arguments, ARGUMENT_OFFSET, SIZE);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/include/
H A Dmempool.h196 template <class T, typename... Arguments>
197 T *New(Arguments &&... args) in New()
201 p = new (p) T(std::forward<Arguments>(args)...); in New()
281 template <class T, typename... Arguments>
282 T *New(Arguments &&... args) = delete;
H A Dmempool_allocator.h45 template <class T, typename... Arguments>
46 T *New(Arguments &&... args) in New()
50 p = new (p) T(std::forward<Arguments>(args)...); in New()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DcallExpression.h89 [[nodiscard]] const ArenaVector<Expression *> &Arguments() const noexcept
94 [[nodiscard]] ArenaVector<Expression *> &Arguments() noexcept
H A DnewExpression.h51 [[nodiscard]] const ArenaVector<Expression *> &Arguments() const noexcept
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp127 etsg->LaunchExact(expr, signature, expr->expr_->Arguments()); in Compile()
129 etsg->LaunchVirtual(expr, signature, calleeReg, expr->expr_->Arguments()); in Compile()
671 std::size_t const argumentCount = expr->Arguments().size(); in ConvertRestArguments()
675 auto &arguments = const_cast<ArenaVector<ir::Expression *> &>(expr->Arguments()); in ConvertRestArguments()
678 if (i < argumentCount && expr->Arguments()[i]->IsSpreadElement()) { in ConvertRestArguments()
679 arguments[i] = expr->Arguments()[i]->AsSpreadElement()->Argument(); in ConvertRestArguments()
680 } else if (i < argumentCount && expr->Arguments()[i]->IsTSAsExpression() && in ConvertRestArguments()
681 expr->Arguments()[i]->AsTSAsExpression()->Expr()->Type() == ir::AstNodeType::SPREAD_ELEMENT) { in ConvertRestArguments()
682 arguments[i] = expr->Arguments()[i]->AsTSAsExpression()->Expr()->AsSpreadElement()->Argument(); in ConvertRestArguments()
686 elements.emplace_back(expr->Arguments()[ in ConvertRestArguments()
[all...]
H A DJSCompiler.cpp548 pg->CreateArray(expr, expr->Arguments(), argsObj); in CreateSpreadArguments()
558 if (expr->Arguments().empty()) { in CompileSuperExprWithoutSpread()
565 for (const auto *it : expr->Arguments()) { in CompileSuperExprWithoutSpread()
572 pg->SuperCall(expr, argStart, expr->Arguments().size()); in CompileSuperExprWithoutSpread()
579 bool containsSpread = util::Helpers::ContainSpreadElement(expr->Arguments()); in Compile()
625 if (containsSpread || expr->Arguments().size() >= compiler::PandaGen::MAX_RANGE_CALL_ARG) { in Compile()
634 pg->Call(expr, callee, thisReg, expr->Arguments()); in Compile()
674 if (expr->Arguments().empty()) { in Compile()
680 bool containsSpread = util::Helpers::ContainSpreadElement(expr->Arguments()); in Compile()
686 auto iter = expr->Arguments() in Compile()
[all...]
/arkcompiler/runtime_core/static_core/verification/util/
H A Dcallable.h60 using Arguments = std::tuple<Args...>;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_builder.h238 template <class T, typename... Arguments>
239 T *NewNode(Arguments &&... args) in NewNode()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dfunction.cpp536 if (params[i]->AsETSParameterExpression()->IsDefault() && callExpr->Arguments().size() <= i && in MaybeSubstituteLambdaArguments()
538 callExpr->Arguments().push_back( in MaybeSubstituteLambdaArguments()
951 if (callExpr->Arguments().size() != it->Function()->Params().size()) { in ResolveCallExpressionAndTrailingLambda()
956 sig = ValidateSignatures(signatures, callExpr->TypeParams(), callExpr->Arguments(), pos, "call", reportFlag); in ResolveCallExpressionAndTrailingLambda()
967 TypeInference(sig, callExpr->Arguments()); in ResolveCallExpressionAndTrailingLambda()
971 sig = ValidateSignatures(signatures, callExpr->TypeParams(), callExpr->Arguments(), pos, "call", reportFlag); in ResolveCallExpressionAndTrailingLambda()
2063 callExpr->Arguments().push_back(arrowFuncNode); in TransformTraillingLambda()
2086 ArenaVector<ir::Expression *> fakeArguments = callExpr->Arguments(); in ExtendArgumentsWithFakeLamda()
H A DaliveAnalyzer.cpp374 for (const auto *it : callExpr->Arguments()) { in AnalyzeCall()
H A Dobject.cpp1183 it->AsExpressionStatement()->GetExpression()->AsCallExpression()->Arguments().begin(),
1184 it->AsExpressionStatement()->GetExpression()->AsCallExpression()->Arguments().end());
1246 expressions.insert(expressions.end(), arg->AsCallExpression()->Arguments().begin(),
1247 arg->AsCallExpression()->Arguments().end());
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dcircuit_builder_helper.cpp39 arguments_[i] = circuitBuilder_->Arguments(i); in Environment()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSAnalyzerHelpers.cpp304 expr->Arguments().insert(expr->Arguments().begin(), memberExpr->Object()); in ResolveCallExtensionFunction()
318 expr->Arguments()[0]->SetParent(expr); in ResolveCallExtensionFunction()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
H A Demitter.cpp259 const auto &args = array->AsNewExpression()->Arguments(); in ProcessNewExpressionInLiteralArray()
426 if (callExpr->Arguments().size() == 0) { in CreateAnnotation()
432 for (auto prop : callExpr->Arguments()[0]->AsObjectExpression()->Properties()) { in CreateAnnotation()
763 const auto &args = value->AsNewExpression()->Arguments(); in DeduceArrayEnumType()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DlambdaLowering.cpp893 auto &args = ast->Parent()->AsCallExpression()->Arguments(); in GuessSignature()
1093 for (auto *arg : call->Arguments()) { in InsertInvokeCall()
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dpandagen.cpp2184 auto arguments = expr->IsCallExpression() ? expr->AsCallExpression()->Arguments() : in TryCompileFunctionCallOrNewExpression()
2185 expr->AsNewExpression()->Arguments(); in TryCompileFunctionCallOrNewExpression()

Completed in 29 milliseconds

12