| /arkcompiler/runtime_core/runtime/interpreter/ |
| D | runtime_interface.h | 40 static Method *ResolveMethod(ManagedThread *thread, const Method &caller, BytecodeId id) in ResolveMethod() argument 42 auto resolved_id = caller.GetClass()->ResolveMethodIndex(id.AsIndex()); in ResolveMethod() 44 auto *method = class_linker->GetMethod(caller, resolved_id); in ResolveMethod() 57 static const uint8_t *GetMethodName(const Method *caller, BytecodeId method_id) in GetMethodName() argument 59 auto resolved_id = caller->GetClass()->ResolveMethodIndex(method_id.AsIndex()); in GetMethodName() 60 const auto *pf = caller->GetPandaFile(); in GetMethodName() 65 static Class *GetMethodClass(const Method *caller, BytecodeId method_id) in GetMethodClass() argument 67 auto resolved_id = caller->GetClass()->ResolveMethodIndex(method_id.AsIndex()); in GetMethodClass() 68 const auto *pf = caller->GetPandaFile(); in GetMethodClass() 73 return class_linker->GetClass(*caller, class_id); in GetMethodClass() [all …]
|
| D | cache.h | 26 bool Has(const void *pc, Method *caller) const in Has() argument 29 return entry.pc == pc && entry.caller == caller; in Has() 33 T *Get(const void *pc, Method *caller) const in Get() argument 35 if (UNLIKELY(!Has(pc, caller))) { in Get() 42 void Set(const void *pc, T *item, Method *caller) in Set() argument 44 data_[GetIndex(pc)] = {pc, item, caller}; in Set() 61 Method *caller {nullptr};
|
| /arkcompiler/runtime_core/runtime/include/ |
| D | class_linker-inl.h | 26 inline Class *ClassLinker::GetClass(const Method &caller, panda_file::File::EntityId id, in GetClass() argument 32 Class *klass = caller.GetPandaFile()->GetPandaCache()->GetClassFromCache(id); in GetClass() 36 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(caller); in GetClass() 39 klass = ext->GetClass(*caller.GetPandaFile(), id, caller.GetClass()->GetLoadContext(), in GetClass() 42 caller.GetPandaFile()->GetPandaCache()->SetClassCache(id, klass); in GetClass()
|
| /arkcompiler/runtime_core/runtime/entrypoints/ |
| D | entrypoints.cpp | 169 extern "C" size_t GetClassIdEntrypoint(const Method *caller, uint32_t class_id) in GetClassIdEntrypoint() argument 172 auto resolved_id = caller->GetClass()->ResolveClassIndex(BytecodeId(class_id).AsIndex()); in GetClassIdEntrypoint() 176 extern "C" coretypes::Array *CreateArrayByIdEntrypoint(const Method *caller, uint32_t class_id, siz… in CreateArrayByIdEntrypoint() argument 179 size_t resolved_id = GetClassIdEntrypoint(caller, class_id); in CreateArrayByIdEntrypoint() 180 auto *klass = reinterpret_cast<Class *>(ResolveClassEntrypoint(caller, resolved_id)); in CreateArrayByIdEntrypoint() 228 extern "C" coretypes::Array *ResolveLiteralArrayEntrypoint(const Method *caller, uint32_t type_id) in ResolveLiteralArrayEntrypoint() argument 232 …Runtime::GetCurrent()->ResolveLiteralArray(ManagedThread::GetCurrent()->GetVM(), *caller, type_id); in ResolveLiteralArrayEntrypoint() 263 extern "C" ObjectHeader *CreateObjectByIdEntrypoint(ManagedThread *thread, const Method *caller, ui… in CreateObjectByIdEntrypoint() argument 266 size_t resolved_id = GetClassIdEntrypoint(caller, type_id); in CreateObjectByIdEntrypoint() 267 auto *klass = reinterpret_cast<Class *>(ResolveClassEntrypoint(caller, resolved_id)); in CreateObjectByIdEntrypoint() [all …]
|
| /arkcompiler/runtime_core/irtoc/scripts/ |
| D | resolvers.irt | 28 caller := LoadI(%fp).Imm("-WordSize()").ptr 32 callee := CallIndirect(entry, caller, method_id).ptr 58 # Load pointer to caller method from `fp` register, which should point to the CFrame 59 caller := LoadI(%fp).Imm("-WordSize()").ptr 61 method := call_runtime(Constants::GET_CALLEE_METHOD, caller, method_id).ptr 88 caller := LoadI(%fp).Imm("-WordSize()").ptr 89 klass := call_runtime(Constants::RESOLVE_CLASS, caller, class_id).ptr 114 caller := LoadI(%fp).Imm("-WordSize()").ptr 115 klass := call_runtime(Constants::INITIALIZE_CLASS_BY_ID, caller, class_id).ptr
|
| D | common.irt | 45 arm64: (0..18).each_with_index.map { |x, i| ["caller#{i}".to_sym, x] }.to_h, 46 arm32: (0..3).each_with_index.map { |x, i| ["caller#{i}".to_sym, x] }.to_h, 47 x86_64: (0..8).each_with_index.map { |x, i| ["caller#{i}".to_sym, x] }.to_h,
|
| /arkcompiler/runtime_core/irtoc/backend/compiler/ |
| D | codegen_fastpath.h | 27 …* save/restore registers before calling native functions. These intrinsics pushes caller saved reg… 30 * Compiled code(caller) saves only parameter registers. 31 …* Fast path entrypoint saves only used registers, and saves all caller registers if it goes to the… 35 …mented entrypoint (slow path) we need a separate bridge, because it shouldn't save caller registers
|
| D | codegen_fastpath.cpp | 176 …// We need to save all caller regs, since caller doesn't care about registers at all (except param… in IntrinsicSaveRegisters() 200 …// We need to restore all caller regs, since caller doesn't care about registers at all (except pa… in IntrinsicRestoreRegisters()
|
| /arkcompiler/runtime_core/runtime/ |
| D | cha.cpp | 132 void ClassHierarchyAnalysis::AddDependency(Method *callee, Method *caller) in AddDependency() argument 135 …LOG(DEBUG, CLASS_LINKER) << "[CHA] Add dependency: caller " << caller->GetFullName() << ", callee " in AddDependency() 137 …// Other thread can remove single implementation of the callee method while we compile caller meth… in AddDependency() 143 dependency_map_[callee].insert(caller); in AddDependency()
|
| D | compiler.cpp | 122 auto *caller = MethodCast(method); in GetClass() local 123 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*caller); in GetClass() 126 …*caller->GetPandaFile(), panda_file::File::EntityId(id), caller->GetClass()->GetLoadContext(), &ha… in GetClass() 132 auto *caller = MethodCast(method); in GetStringClass() local 133 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*caller); in GetStringClass() 143 auto *caller = MethodCast(method); in GetClassType() local 144 LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(*caller); in GetClassType() 147 …*caller->GetPandaFile(), panda_file::File::EntityId(id), caller->GetClass()->GetLoadContext(), &ha… in GetClassType() 301 Method *caller = MethodCast(parent_method); in IsMethodIntrinsic() local 302 auto *pf = caller->GetPandaFile(); in IsMethodIntrinsic() [all …]
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | plt.md | 57 Caller `Method pointer` could be extracted (into `x0`) directly from Caller's CFrame, so, 95 . . . ; Save caller-saved registers 109 takes caller `Method pointer` from previous frame and calls `GetCalleeMethod` entrypoint. 155 takes caller `Method pointer` from previous frame and calls `InitializeClassById` entrypoint. 175 in 3 Resolvers (all but CallStatic) is actually a caller-saved for `arm64`, but callee-saved for `x… 180 On `arm64` is is just a one `stp x29, x30, [sp, #-16]` instruction,while on `x86` caller return add… 188 * **Save caller-saved registers.** 189 …olver we prepare place on the stack and save registers there. In three other Resolvers caller-saved 216 * **Load caller-saved registers.**
|
| D | reg_alloc_graph_coloring_doc.md | 20 …ected from Architecture and remapped (to sequential numbering) in order <caller-saved, callee-save… 26 …l-site. They will be split later, to let algorithm make a decision about caller/callee register pl… 42 …sn’t have call-site intersection, which will “hint” all nodes of bias to caller-save register. So …
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_arguments.cpp | 33 …// 8.If IsDataDescriptor(desc) is true and P is "caller" and desc.[[Value]] is a strict mode Funct… in GetOwnProperty() 35 JSHandle<EcmaString> caller = thread->GetEcmaVM()->GetFactory()->NewFromASCII("caller"); in GetOwnProperty() local 36 …if (desc.IsDataDescriptor() && JSTaggedValue::SameValue(key.GetTaggedValue(), caller.GetTaggedValu… in GetOwnProperty()
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | return.void.yaml | 25 …Caller should treat accumulator value as undefined and cannot use it until accumulator definition … 49 …description: Check 'return.void' returns control flow to caller in Pandasm context with static cal… 84 …description: Check 'return.void' returns control flow to caller in PandaAssembly context with stat… 120 …description: Check 'return.void' returns control flow to caller in Pandasm context with virtual ca… 157 …description: Check 'return.void' returns control flow to caller in PandaAssembly context with virt… 281 description: Check that after 'return.void' register are restored in caller.
|
| D | return.yaml | 41 description: Check 'return' returns control flow to caller, static call, Pandasm context. 100 … description: Check 'return' returns control flow to caller, static call, PandaAssembly context. 159 description: Check 'return' returns control flow to caller, virtual call, Pandasm context. 211 … description: Check 'return' returns control flow to caller, virtual call, PandaAssembly context. 375 description: Check that after 'return' register are restored in caller after a static call. 483 description: Check that after 'return' register are restored in caller after a virtual call.
|
| D | return.64.yaml | 41 description: Check 'return.64' returns control flow to caller, static call, Pandasm context. 97 … description: Check 'return.64' returns control flow to caller, static call, PandaAssembly context. 153 … description: Check 'return.64' returns control flow to caller, virtual call, Pandasm context. 202 …description: Check 'return.64' returns control flow to caller, virtual call, PandaAssembly context. 356 description: Check that after 'return.64' register are restored in caller.
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | runtime_adapter.h | 64 MethodPtr GetMethodById([[maybe_unused]] MethodPtr caller, MethodId id) const override in GetMethodById() argument 98 compiler::DataType::Type GetMethodArgumentType([[maybe_unused]] MethodPtr caller, MethodId id, in GetMethodArgumentType() argument 117 size_t GetMethodArgumentsCount([[maybe_unused]] MethodPtr caller, MethodId id) const override in GetMethodArgumentsCount() argument 125 compiler::DataType::Type GetMethodReturnType(MethodPtr caller, MethodId id) const override in GetMethodReturnType() argument 127 return GetMethodReturnType(GetMethodById(caller, id)); in GetMethodReturnType() 193 size_t GetClassIdForMethod([[maybe_unused]] MethodPtr caller, size_t method_id) const override in GetClassIdForMethod() argument 200 bool IsMethodExternal([[maybe_unused]] MethodPtr caller, MethodPtr callee) const override in IsMethodExternal() argument 212 …bool IsMethodIntrinsic([[maybe_unused]] MethodPtr caller, [[maybe_unused]] MethodId id) const over… in IsMethodIntrinsic() argument 224 bool IsMethodStatic([[maybe_unused]] MethodPtr caller, MethodId id) const override in IsMethodStatic() argument
|
| /arkcompiler/runtime_core/runtime/tests/interpreter/ |
| D | test_runtime_interface.h | 143 …es::Array *ResolveLiteralArray([[maybe_unused]] PandaVM *vm, [[maybe_unused]] const Method &caller, in ResolveLiteralArray() argument 150 …ethod *ResolveMethod([[maybe_unused]] ManagedThread *thread, [[maybe_unused]] const Method &caller, in ResolveMethod() argument 157 … Field *ResolveField([[maybe_unused]] ManagedThread *thread, [[maybe_unused]] const Method &caller, in ResolveField() argument 165 … Class *ResolveClass([[maybe_unused]] ManagedThread *thread, [[maybe_unused]] const Method &caller, in ResolveClass() argument 414 …static const uint8_t *GetMethodName([[maybe_unused]] Method *caller, [[maybe_unused]] BytecodeId m… in GetMethodName() argument 419 …static Class *GetMethodClass([[maybe_unused]] Method *caller, [[maybe_unused]] BytecodeId method_i… in GetMethodClass() argument 424 …static uint32_t GetMethodArgumentsCount([[maybe_unused]] Method *caller, [[maybe_unused]] Bytecode… in GetMethodArgumentsCount() argument
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
| D | reg_map.cpp | 33 // Add caller registers in SetMask() 53 // Add caller registers in SetCallerFirstMask() 60 // Add caller registers after callees onece in SetCallerFirstMask()
|
| /arkcompiler/ets_frontend/testTs/expect/classes/propertyMemberDeclarations/ |
| D | staticPropertyNameConflictsInAmbientContext.txt | 18 …{'t': 5, 'v': 'caller'}, {'t': 25, 'v': 4}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, … 20 …t': 2, 'v': 1}, {'t': 5, 'v': 'caller'}, {'t': 24, 'v': '_22'}, {'t': 2, 'v': 0}, {'t': 2, 'v': 1}… 21 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 132}, {'t': 5, 'v': 'caller'}, {'t': 2, 'v': 0}, {'t': 2, '… 22 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 128}, {'t': 5, 'v': 'caller'}, {'t': 2, 'v': 0}, {'t': 2, '…
|
| /arkcompiler/runtime_core/libark_defect_scan_aux/include/ |
| D | callee_info.h | 27 …CalleeInfo(const Inst &call_inst, const Function *caller) : call_inst_(call_inst), caller_(caller)… in CalleeInfo() argument
|
| /arkcompiler/runtime_core/compiler/optimizer/code_generator/ |
| D | registers_description.h | 31 // There is a problem with callee/caller register numbers with amd64. 33 // caller reg mask: 0000111111000111 and 38 // caller mask is 0000000111111111 and
|
| D | encoder.md | 12 …ters and temps. It also may holds low-level information about callee and caller-saved registers. A… 29 Caller | Default calling convention frame: 30 Frame | Caller saved + parameters, if they 53 caller | + optional allign-reg| |
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_arguments_test.cpp | 159 JSHandle<EcmaString> caller = thread->GetEcmaVM()->GetFactory()->NewFromASCII("caller"); in HWTEST_F_L0() local 160 // key is not caller in HWTEST_F_L0() 161 EXPECT_FALSE(JSTaggedValue::SameValue(key.GetTaggedValue(), caller.GetTaggedValue())); in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/docs/ |
| D | runtime-compiled_code-interaction.md | 94 …register must point to a valid stack frame (newly created stack frame of stack frame of caller) and 102 …de stack frames of caller and callee must be continuous in the stack i.e. the callee's stack frame… 113 | Caller saved fp regs | 115 A | Caller saved regs | 178 * (callee saved regisers goes to Bridge Function stack frame, caller saved registers goes to the cu… 185 * push the caller saved registers (except of registers holding function parameters) to the caller's… 187 * restore the Stack Pointer and caller saved registers
|