Home
last modified time | relevance | path

Searched full:callee (Results 1 – 25 of 1018) sorted by relevance

12345678910>>...41

/arkcompiler/ets_frontend/ets2panda/compiler/scripts/
Dsignatures.yaml490 - callee: BUILTIN_OBJECT
496 - callee: BUILTIN_STRING
502 - callee: BUILTIN_STRING
508 - callee: BUILTIN_OBJECT
514 - callee: BUILTIN_OBJECT
520 - callee: BUILTIN_STRING
526 - callee: BUILTIN_STRING
532 - callee: BUILTIN_STRING
538 - callee: BUILTIN_ASSERTION_ERROR
544 - callee: BUILTIN_RUNTIME
[all …]
/arkcompiler/runtime_core/static_core/runtime/tests/
Di2c_bridge_test.cpp145 …Method callee(nullptr, nullptr, panda_file::File::EntityId(), panda_file::File::EntityId(), ACC_ST… in TEST_F() local
146 callee.SetCompiledEntryPoint(reinterpret_cast<const void *>(VoidNoArg)); in TEST_F()
151 InterpreterToCompiledCodeBridge(insn, frame, &callee, thread_); in TEST_F()
152 ASSERT_EQ(g_gCallResult, PrintFunc("void", "VoidNoArg", &callee)); in TEST_F()
156 InterpreterToCompiledCodeBridge(insn2, frame, &callee, thread_); in TEST_F()
157 ASSERT_EQ(g_gCallResult, PrintFunc("void", "VoidNoArg", &callee)); in TEST_F()
160 InvokeCompiledCodeWithArgArray(nullptr, frame, &callee, thread_); in TEST_F()
161 ASSERT_EQ(g_gCallResult, PrintFunc("void", "VoidNoArg", &callee)); in TEST_F()
174 …Method callee(nullptr, nullptr, panda_file::File::EntityId(), panda_file::File::EntityId(), 0, 1, … in TEST_F() local
175 callee.SetCompiledEntryPoint(reinterpret_cast<const void *>(InstanceVoidNoArg)); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_object/
Ddynamic_call.sts21 let callee = RegularFunc;
22 assert(x == callee() as Int)
36 let callee = x.foo;
37 assert(x.foo() == callee() as Int)
49 let callee = Foo;
50 assert(x == callee.foo().foo() as Int)
56 let callee = MultipleCall;
57 assert(x == callee()() as Int)
62 let callee = Lambda;
64 …assert(x == callee() as Int) // through variable is different, because we don't need to load module
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/perf/benchmarks/
DCMakeLists.txt47 macro(add_ets_interop_js_benchmark BENCHMARK CALLER CALLEE)
48 panda_ets_interop_js_test(ets_interop_js_perf_benchmarks_${CALLER}_${CALLEE}_${BENCHMARK}
50 ETS_SOURCES ${CMAKE_CURRENT_LIST_DIR}/caller.sts ${CMAKE_CURRENT_LIST_DIR}/callee.sts
52 LAUNCHER_ARGS ${BENCHMARK} ${CALLER} ${CALLEE} ${WARMUP} ${ITERS}
54 …cies(ets_interop_js_perf_benchmarks_${CALLER}_${CALLEE} ets_interop_js_perf_benchmarks_${CALLER}_$…
58 foreach(CALLEE ${SITES})
59 add_custom_target(ets_interop_js_perf_benchmarks_${CALLER}_${CALLEE})
61 add_ets_interop_js_benchmark(${BENCHMARK} ${CALLER} ${CALLEE})
63 foreach(BENCHMARK ${EXTRA_BENCHMARKS_${CALLER}_${CALLEE}})
64 add_ets_interop_js_benchmark(${BENCHMARK} ${CALLER} ${CALLEE})
[all …]
/arkcompiler/ets_frontend/ets2panda/checker/ets/dynamic/
DdynamicCall.cpp26 …esult DynamicCall::ResolveCall(const varbinder::ETSBinder *varbinder, const ir::Expression *callee) in ResolveCall() argument
30 if (callee->IsETSTypeReference()) { in ResolveCall()
32 callee = callee->AsETSTypeReference()->Part()->Name(); in ResolveCall()
33 while (callee->IsTSQualifiedName()) { in ResolveCall()
34 auto *qname = callee->AsTSQualifiedName(); in ResolveCall()
35 callee = qname->Left(); in ResolveCall()
38 ASSERT(callee->IsIdentifier()); in ResolveCall()
39 } else if (callee->IsMemberExpression()) { in ResolveCall()
40 const auto memberExpr = callee->AsMemberExpression(); in ResolveCall()
41 callee = SqueezeExpr(memberExpr, calleeName); in ResolveCall()
[all …]
DdynamicCall.h36 * Resolve callee
38 * @param callee expression used to call method
39 * @return callee and name from which should be used to produce call
41 static Result ResolveCall(const varbinder::ETSBinder *varbinder, const ir::Expression *callee);
42 static bool IsByValue(const varbinder::ETSBinder *varbinder, const ir::Expression *callee) in IsByValue() argument
44 return ResolveCall(varbinder, callee).name.empty(); in IsByValue()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
Dpanda_runtime_lowering.cpp62 auto callee = call->getCalledFunction(); in run() local
63 ASSERT((callee != nullptr && !callee->isIntrinsic()) || in run()
64 callee->getIntrinsicID() == llvm::Intrinsic::experimental_deoptimize); in run()
67 if (callee == &function && !hasDeopt) { in run()
71 if (callee->getIntrinsicID() == llvm::Intrinsic::experimental_deoptimize) { in run()
73 …} else if (callee->getSectionPrefix() && callee->getSectionPrefix()->equals(builtins::BUILTIN_SECT… in run()
75 } else if (arkInterface_->IsRememberedCall(&function, callee)) { in run()
97 // Cast entry point address to a pointer to callee function pointer in LowerCallStatic()
155 auto callee = call->getCalledFunction(); in NeedsToBeLowered() local
156 if (callee == nullptr || in NeedsToBeLowered()
[all …]
Dcheck_external.cpp46 auto callee = call->getCalledFunction(); in run() local
47 if (callee == nullptr || callee->isIntrinsic()) { in run()
54 if (callee == ark::llvmbackend::builtins::KeepThis(function.getParent())) { in run()
58 if (call->hasFnAttr(llvm::Attribute::NoInline) && !callee->isDeclaration() && in run()
59 … !call->hasFnAttr("keep-noinline") && !ark::llvmbackend::utils::HasCallsWithDeopt(*callee)) { in run()
Dintrinsics_lowering.cpp104 llvm::CallInst *call, llvm::FunctionCallee callee, in HandleMemCall() argument
117 if (op0->getType() != callee.getFunctionType()->getParamType(DEST)) { in HandleMemCall()
118 op0 = builder.CreateAddrSpaceCast(op0, callee.getFunctionType()->getParamType(DEST)); in HandleMemCall()
120 if (op1->getType() != callee.getFunctionType()->getParamType(SRC_OR_CHAR)) { in HandleMemCall()
122 op1 = builder.CreateAddrSpaceCast(op1, callee.getFunctionType()->getParamType(SRC_OR_CHAR)); in HandleMemCall()
125 ASSERT(callee.getFunctionType()->getParamType(COUNT)->isIntegerTy()); in HandleMemCall()
126 … auto realCountType = llvm::cast<llvm::IntegerType>(callee.getFunctionType()->getParamType(COUNT)); in HandleMemCall()
131 auto newCall = llvm::CallInst::Create(callee, {op0, op1, op2}); in HandleMemCall()
145 …auto callee = GetPandaRuntimeFunctionCallee(intrinsicId, intrinsicFunctionTy, &builder, intrinsicN… in HandleCall() local
157 auto newCall = builder.CreateCall(callee, llvm::makeArrayRef(args)); in HandleCall()
[all …]
Dark_inlining.cpp68 auto callee = callBase->getCalledFunction(); in CheckShouldInline() local
75 if (callee == nullptr) { in CheckShouldInline()
80 auto demCalleeName = llvm::demangle(std::string(callee->getName())); in CheckShouldInline()
114 llvm::Function *callee = callBase->getCalledFunction(); in run() local
115 if (callee == nullptr || callee->isDeclaration()) { in run()
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
DmodifierAccessValid.cpp55 const auto *callee = callExpr->Callee(); in HandleCallExpression() local
56 if (callee != nullptr && callee->IsMemberExpression()) { in HandleCallExpression()
57 const auto *calleeMember = callee->AsMemberExpression(); in HandleCallExpression()
61 ctx.AddCheckMessage("PROPERTY_NOT_VISIBLE_HERE", *callee, callee->Start()); in HandleCallExpression()
DimportExportAccessValid.cpp49 const auto *callee = callExpr->Callee(); in operator ()() local
50 if (callee != nullptr && callee->IsIdentifier() && in operator ()()
51 !HandleImportExportIdentifier(importedVariables, callee->AsIdentifier(), callExpr)) { in operator ()()
52 … ctx.AddCheckMessage("PROPERTY_NOT_VISIBLE_HERE(NOT_EXPORTED)", *callee, callee->Start()); in operator ()()
83 …ASSERT(callExpr->AsCallExpression()->Callee()->TsType()->HasTypeFlag(checker::TypeFlag::ETS_DYNAMI… in InvariantImportExportMethod()
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-new-expression-expected.txt8 "callee": {
49 "callee": {
119 "callee": {
121 "callee": {
123 "callee": {
217 "callee": {
219 "callee": {
302 "callee": {
304 "callee": {
306 "callee": {
[all …]
Dtest-call-expression-expected.txt25 "callee": {
27 "callee": {
29 "callee": {
181 "callee": {
238 "callee": {
280 "callee": {
364 "callee": {
421 "callee": {
506 "callee": {
/arkcompiler/ets_frontend/ets2panda/test/parser/js/
Dtest-new-expression-expected.txt8 "callee": {
50 "callee": {
123 "callee": {
125 "callee": {
127 "callee": {
223 "callee": {
225 "callee": {
309 "callee": {
311 "callee": {
313 "callee": {
[all …]
Dtest-call-expression-expected.txt25 "callee": {
27 "callee": {
29 "callee": {
183 "callee": {
242 "callee": {
285 "callee": {
372 "callee": {
430 "callee": {
518 "callee": {
/arkcompiler/runtime_core/static_core/runtime/
Dcha.cpp132 void ClassHierarchyAnalysis::AddDependency(Method *callee, Method *caller) in AddDependency() argument
135 …LOG(DEBUG, CLASS_LINKER) << "[CHA] Add dependency: caller " << caller->GetFullName() << ", callee " in AddDependency()
136 << callee->GetFullName(); in AddDependency()
137 …// Other thread can remove single implementation of the callee method while we compile caller meth… in AddDependency()
138 if (!callee->HasSingleImplementation()) { in AddDependency()
142 ASSERT(!callee->IsAbstract()); in AddDependency()
143 dependencyMap_[callee].insert(caller); in AddDependency()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/11.function_call_expression/
Dfunction_call_expression.sts20 function callee(a: int, b: boolean): int {
29 assert(callee(1, true) == 1);
30 assert(callee(1, false) == -1);
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DcallExpression.h44 explicit CallExpression(Expression *const callee, ArenaVector<Expression *> &&arguments,
48 callee_(callee), in MaybeOptionalExpression()
63 const Expression *Callee() const in Callee() function
68 [[nodiscard]] Expression *Callee() noexcept in Callee() function
73 void SetCallee(Expression *callee) noexcept in SetCallee() argument
75 callee_ = callee; in SetCallee()
180 checker::Type *InitAnonymousLambdaCallee(checker::ETSChecker *checker, Expression *callee,
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DcallExpression.h37 explicit CallExpression(Expression *callee, ArenaVector<Expression *> &&arguments, in CallExpression() argument
40 callee_(callee), in CallExpression()
47 const Expression *Callee() const in Callee() function
52 Expression *Callee() in Callee() function
DcallExpression.cpp48 {"callee", callee_}, in Dump()
162 compiler::VReg callee = pg->AllocReg(); in Compile() local
175 … // Guaranteed by implementation in callThis, thisVReg is always the next register of callee. in Compile()
176 thisVReg_ = callee + 1; in Compile()
183 pg->StoreAccumulator(this, callee); in Compile()
184 pg->GetOptionalChain()->CheckNullish(optional_, callee); in Compile()
194 pg->CallSpread(this, callee, thisReg, argsObj); in Compile()
205 pg->CallThis(this, callee, static_cast<int64_t>(arguments_.size() + 1)); in Compile()
209 pg->Call(this, callee, arguments_.size()); in Compile()
DnewExpression.h36 explicit NewExpression(Expression *callee, TSTypeParameterInstantiation *typeParams, in NewExpression() argument
38 : Expression(AstNodeType::NEW_EXPRESSION), callee_(callee), in NewExpression()
43 const Expression *Callee() const in Callee() function
/arkcompiler/runtime_core/docs/
Druntime-compiled_code-interaction.md102 Compiled code stack frames of caller and callee must be continuous in the stack i.e. the callee's s…
109 | Callee parameters |
117 A | Callee saved fp regs |
119 | Callee saved regs |
147 To call a managed function compiled code must resolve it (i.e. retreive a pointer to callee's `pand…
148 prepare arguments in the registers and the stack (if necessary) and jump to callee's entrypoint.
177 * putting callee saved (if need) and param holding (if any) register values to the stack
178 * (callee saved regisers goes to Bridge Function stack frame, caller saved registers goes to the cu…
201 | Callee saved regs |
205 | Callee saved fp regs |
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dcompiler_intrinsics.cpp81 ark::Method *callee; in TryGetCallee() local
83 callee = klass->LookupGetterByName<FIELD_TYPE>(rawField->GetName()); in TryGetCallee()
85 callee = klass->LookupSetterByName<FIELD_TYPE>(rawField->GetName()); in TryGetCallee()
87 if (callee != nullptr && useIc) { in TryGetCallee()
88 auto mUint = reinterpret_cast<uint64_t>(callee); in TryGetCallee()
92 return callee; in TryGetCallee()
169 auto callee = TryGetCallee<FIELD_TYPE, true>(method, rawField, pc, klass); in CompilerEtsLdObjByName() local
170 if (callee != nullptr) { in CompilerEtsLdObjByName()
172 Value result = callee->Invoke(Coroutine::GetCurrent(), &val); in CompilerEtsLdObjByName()
266 auto callee = TryGetCallee<FIELD_TYPE, false>(method, rawField, pc, klass); in CompilerEtsStObjByName() local
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/
Dllvm_ark_interface.cpp579 const llvm::Function *callee) const in GetMethodId()
581 ASSERT(callee != nullptr); in GetMethodId()
588 auto calleeName = callee->getName(); in GetMethodId()
598 … LLVMArkInterface::RememberFunctionCall(const llvm::Function *caller, const llvm::Function *callee, in RememberFunctionCall() argument
601 ASSERT(callee != nullptr); in RememberFunctionCall()
610 pandaFileMap.insert({callee->getName(), methodId}); in RememberFunctionCall()
614 const llvm::Function *callee) const in IsRememberedCall()
617 ASSERT(callee != nullptr); in IsRememberedCall()
625 …callerOriginFileIterator->second.find(callee->getName()) != callerOriginFileIterator->second.end(); in IsRememberedCall()
638 auto callee = methodPtrs_.find(call->getCalledFunction()->getName()); in IsExternal() local
[all …]

12345678910>>...41