Home
last modified time | relevance | path

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

12345678910>>...19

/arkcompiler/runtime_core/runtime/tests/
Di2c_bridge_test.cpp131 …Method callee(nullptr, nullptr, panda_file::File::EntityId(), panda_file::File::EntityId(), ACC_ST… in TEST_F() local
132 callee.SetCompiledEntryPoint(reinterpret_cast<const void *>(VoidNoArg)); in TEST_F()
137 InterpreterToCompiledCodeBridge(insn, frame, &callee, thread_); in TEST_F()
138 ASSERT_EQ(g_call_result, PrintFunc("void", "VoidNoArg", &callee)); in TEST_F()
142 InterpreterToCompiledCodeBridge(insn2, frame, &callee, thread_); in TEST_F()
143 ASSERT_EQ(g_call_result, PrintFunc("void", "VoidNoArg", &callee)); in TEST_F()
146 InvokeCompiledCodeWithArgArray(nullptr, frame, &callee, thread_); in TEST_F()
147 ASSERT_EQ(g_call_result, PrintFunc("void", "VoidNoArg", &callee)); in TEST_F()
160 …Method callee(nullptr, nullptr, panda_file::File::EntityId(), panda_file::File::EntityId(), 0, 1, … in TEST_F() local
161 callee.SetCompiledEntryPoint(reinterpret_cast<const void *>(InstanceVoidNoArg)); in TEST_F()
[all …]
/arkcompiler/ets_frontend/es2panda/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": {
Dtest-incomplete-hex-unicode-escape-expected.txt8 "callee": {
96 "callee": {
/arkcompiler/runtime_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 dependency_map_[callee].insert(caller); in AddDependency()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DcallExpression.cpp48 {"callee", callee_}, in Dump()
112 compiler::VReg callee = pg->AllocReg(); in Compile() local
129 pg->StoreAccumulator(this, callee); in Compile()
130 pg->GetOptionalChain()->CheckNullish(optional_, callee); in Compile()
140 pg->CallSpread(this, callee, thisReg, argsObj); in Compile()
151 pg->CallThis(this, callee, static_cast<int64_t>(arguments_.size() + 1)); in Compile()
155 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
DtaggedTemplateExpression.cpp51 compiler::VReg callee = pg->AllocReg(); in Compile() local
64 pg->StoreAccumulator(this, callee); in Compile()
78 … pg->CallThis(this, callee, static_cast<int64_t>(quasi_->Expressions().size() + extraParams)); in Compile()
83 pg->Call(this, callee, quasi_->Expressions().size() + extraParams); in Compile()
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
/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 …]
Dcfi_directives.md24 In prolog we save `lr`, `fp` and `callee` regs on stack.
41 …her frame in which we will return + spot slots for `callees` (it can be `callee` slots in `cframe`…
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dextend_assembler.h68 // X11 is neither callee saved reegister nor argument register in AvailableRegister1()
73 // X12 is neither callee saved reegister nor argument register in AvailableRegister2()
78 // X13 is neither callee saved reegister nor argument register in AvailableRegister3()
83 // X14 is neither callee saved reegister nor argument register in AvailableRegister4()
/arkcompiler/runtime_core/runtime/bridge/arch/amd64/
Ddeoptimization_amd64.S31 // %r9 - callee reg_mask
32 // 8(%rsp) - callee vreg_mask
67 // Copy callee saved registers from cframe into boundary frame.
109 // Restore callee saved registers
159 // Restore callee saved registers
202 // Restore callee saved registers from dropped CFrame
/arkcompiler/ets_runtime/ecmascript/ic/
Dinvoke_cache.cpp120 // just identify simple callee case which can be inlined, the implement of inline need wait TS AOT
122 JSTaggedValue callee) in SetMonoInlineCallCacheSlot() argument
124 ASSERT(callee.IsJSFunction()); in SetMonoInlineCallCacheSlot()
125 Method *calleeMethod = JSFunction::Cast(callee.GetTaggedObject())->GetCallTarget(); in SetMonoInlineCallCacheSlot()
127 profileTypeInfo->Set(thread, slotId, callee); in SetMonoInlineCallCacheSlot()
/arkcompiler/runtime_core/compiler/docs/
Dplt.md22 For each pair of File (input for `ark_aot` compiler) and callee `method Id` (`panda_file::File::Ent…
28 During calls, first parameter is always a callee `Method pointer`, so the trick from previous parag…
66 For each pair of File (input for `ark_aot` compiler) and callee `method Id` (`panda_file::File::Ent…
175 in 3 Resolvers (all but CallStatic) is actually a caller-saved for `arm64`, but callee-saved for `x…
197 * **Save callee-saved registers.**
205 * **Load callee-saved registers.**
213 On `x86_64` this step is not required, as `r12` appears to be callee-saved register and is restored…
224 Jump to the callee Method in `CallStatic` Resolver, and do a usual "return" in others.
/arkcompiler/ets_frontend/ts2panda/src/expression/
DcallExpression.ts119 let callee = expr.expression;
121 switch (callee.kind) {
123 debugNode = (<ts.ElementAccessExpression>callee).argumentExpression;
127 debugNode = (<ts.PropertyAccessExpression>callee).name;
/arkcompiler/runtime_core/compiler/optimizer/code_generator/
Dmethod_properties.cpp66 * "Compact" prologue/epilogue means that unused callee-saved registers in MethodProperties()
71 * - for X86_64 we're reserving almost all callee-saved registers for temporaries in MethodProperties()
72 * - for AARCH32 we're treating all callee-saved registers as "used". in MethodProperties()
Dregisters_description.h31 // There is a problem with callee/caller register numbers with amd64.
34 // callee reg mask: 1111000000001000
39 // callee mask is 1111100000000000.
/arkcompiler/runtime_core/runtime/bridge/arch/aarch64/
Ddeoptimization_aarch64.S67 // x5 - pointer to a callee-saved registers buffer from StackWalker
111 // Copy callee saved registers from StackWalker into boundary frame.
112 // Note, we do not preserve x5 (holding a pointer to a callee-saved
167 // Restore callee saved registers
223 // x5 - pointer to a callee-saved registers buffer from StackWalker
255 // Restore callee saved registers
304 // x1 - pointer to a callee-saved registers buffer from StackWalker
332 // Restore callee saved registers
/arkcompiler/runtime_core/tests/cts-coverage-tool/config/
Dnon_testable.yaml109 Callee should treat accumulator value as undefined and cannot use it until accumulator
111 The callee must always return the result in the accumulator.
115 be discarded and corresponding registers will not be passed to the callee).
/arkcompiler/runtime_core/irtoc/scripts/
Dresolvers.irt32 callee := CallIndirect(entry, caller, method_id).ptr
33 …StoreI(method, callee).Imm("cross_values::GetMethodCompiledEntryPointOffset(GetArch()) + WordSize(…
35 entry := LoadI(callee).Imm("cross_values::GetMethodCompiledEntryPointOffset(GetArch())").ptr
37 LiveOut(callee).DstReg(regmap[:arg0]).ptr
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_function_test.cpp138 JSHandle<JSTaggedValue> callee( in HWTEST_F_L0() local
140 EXPECT_TRUE(*callee != nullptr); in HWTEST_F_L0()
148 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(callee), calleeKey, calleeValue); in HWTEST_F_L0()
150 …EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, undefined, callee, undefin… in HWTEST_F_L0()
/arkcompiler/runtime_core/irtoc/backend/compiler/
Dcodegen_fastpath.h32 …* Slow path is invoked via code-to-runtime bridge, which forms boundary frame and saves callee reg…
33 * So, before calling the slow path we restore all modified callee registers.
/arkcompiler/ets_frontend/es2panda/compiler/function/
DgeneratorFunctionBuilder.cpp26 VReg callee = FunctionReg(node); in Prepare() local
30 pg_->CreateGeneratorObj(node, callee); in Prepare()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dllvm_ir_builder.cpp494 …LLVMValueRef callee = LLVMBuildIntToPtr(builder_, llvmAddr, rtfuncTypePtr, (name + "-cast").c_str(… in GetFunction() local
495 ASSERT(callee != nullptr); in GetFunction()
496 return callee; in GetFunction()
504 LLVMValueRef callee = LLVMBuildIntToPtr(builder_, reloc, rtfuncTypePtr, "cast"); in GetFunctionFromGlobalValue() local
505 assert(callee != nullptr); in GetFunctionFromGlobalValue()
506 return callee; in GetFunctionFromGlobalValue()
542 LLVMValueRef callee = GetFunction(glue, signature, rtbaseoffset, targetName); in VisitRuntimeCall() local
543 callee = LLVMBuildPointerCast(builder_, callee, LLVMPointerType(funcType, 0), ""); in VisitRuntimeCall()
544 …LLVMValueRef runtimeCall = LLVMBuildCall2(builder_, funcType, callee, params.data(), inList.size()… in VisitRuntimeCall()
567 LLVMValueRef callee = GetFunction(glue, signature, rtbaseoffset); in VisitRuntimeCallWithArgv() local
[all …]

12345678910>>...19