Home
last modified time | relevance | path

Searched refs:Method (Results 1 – 25 of 111) sorted by relevance

12345

/arkcompiler/ets_runtime/ecmascript/debugger/
Dnotification_manager.h34 virtual void BytecodePcChanged(JSThread *thread, JSHandle<Method> method,
37 virtual bool HandleDebuggerStmt(JSHandle<Method> method, uint32_t bcOffset) = 0;
41 virtual void MethodEntry(JSHandle<Method> method) = 0;
42 virtual void MethodExit(JSHandle<Method> method) = 0;
68 void BytecodePcChangedEvent(JSThread *thread, Method *method, uint32_t bcOffset) const in BytecodePcChangedEvent()
72 JSHandle<Method> methodHandle(thread, method); in BytecodePcChangedEvent()
77 void DebuggerStmtEvent(JSThread *thread, Method *method, uint32_t bcOffset) const in DebuggerStmtEvent()
80 JSHandle<Method> methodHandle(thread, method); in DebuggerStmtEvent()
105 void MethodEntryEvent(JSThread *thread, Method *method) const in MethodEntryEvent()
108 JSHandle<Method> methodHandle(thread, method); in MethodEntryEvent()
[all …]
Djs_debugger.h118 bool HandleDebuggerStmt(JSHandle<Method> method, uint32_t bcOffset) override;
122 void BytecodePcChanged(JSThread *thread, JSHandle<Method> method, uint32_t bcOffset) override;
151 void MethodEntry(JSHandle<Method> method) override;
152 void MethodExit(JSHandle<Method> method) override;
155 std::optional<JSBreakpoint> FindBreakpoint(JSHandle<Method> method, uint32_t bcOffset) const;
157 …void HandleExceptionThrowEvent(const JSThread *thread, JSHandle<Method> method, uint32_t bcOffset);
158 bool HandleStep(JSHandle<Method> method, uint32_t bcOffset);
159 bool HandleBreakpoint(JSHandle<Method> method, uint32_t bcOffset);
Djs_debugger.cpp75 void JSDebugger::BytecodePcChanged(JSThread *thread, JSHandle<Method> method, uint32_t bcOffset) in BytecodePcChanged()
86 bool JSDebugger::HandleBreakpoint(JSHandle<Method> method, uint32_t bcOffset) in HandleBreakpoint()
119 bool JSDebugger::HandleDebuggerStmt(JSHandle<Method> method, uint32_t bcOffset) in HandleDebuggerStmt()
131 void JSDebugger::HandleExceptionThrowEvent(const JSThread *thread, JSHandle<Method> method, uint32_… in HandleExceptionThrowEvent()
142 bool JSDebugger::HandleStep(JSHandle<Method> method, uint32_t bcOffset) in HandleStep()
153 std::optional<JSBreakpoint> JSDebugger::FindBreakpoint(JSHandle<Method> method, uint32_t bcOffset) … in FindBreakpoint()
210 void JSDebugger::MethodEntry(JSHandle<Method> method) in MethodEntry()
223 void JSDebugger::MethodExit([[maybe_unused]] JSHandle<Method> method) in MethodExit()
Ddropframe_manager.h31 void MethodEntry(JSThread *thread, JSHandle<Method> method);
32 void MethodExit(JSThread *thread, JSHandle<Method> method);
Djs_debugger_manager.h136 void MethodEntry(JSHandle<Method> method) in MethodEntry()
141 void MethodExit(JSHandle<Method> method) in MethodExit()
/arkcompiler/ets_runtime/ecmascript/
Dmethod.cpp22 std::string Method::ParseFunctionName() const in ParseFunctionName()
28 const char *Method::GetMethodName() const in GetMethodName()
34 const char *Method::GetMethodName(const JSPandaFile *file) const in GetMethodName()
39 const CString Method::GetRecordName() const in GetRecordName()
45 uint32_t Method::GetCodeSize() const in GetCodeSize()
51 const JSPandaFile *Method::GetJSPandaFile() const in GetJSPandaFile()
62 MethodLiteral *Method::GetMethodLiteral() const in GetMethodLiteral()
72 uint32_t Method::FindCatchBlock(uint32_t pc) const in FindCatchBlock()
92 JSHandle<Method> Method::Create(JSThread *thread, const JSPandaFile *jsPandaFile, MethodLiteral *me… in Create()
98 return JSHandle<Method>(thread, patchVal); in Create()
[all …]
Dmethod.h31 class Method : public TaggedObject {
33 CAST_CHECK(Method, IsMethod);
405 return sizeof(Method); in Size()
462 …static JSHandle<Method> Create(JSThread *thread, const JSPandaFile *jsPandaFile, MethodLiteral *me…
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/
Dfunction_call_timer.h72 void StopCount(Method *method);
74 CString GetFullName(Method *method);
75 void InitialStatAndTimer(Method *method, size_t methodId, bool isAot);
Dfunction_call_timer.cpp38 void FunctionCallTimer::StopCount(Method *method) in StopCount()
52 CString FunctionCallTimer::GetFullName(Method *method) in GetFullName()
60 void FunctionCallTimer::InitialStatAndTimer(Method *method, size_t methodId, bool isAot) in InitialStatAndTimer()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.cpp37 auto calleeMethod = Method::Cast(JSFunction::Cast(calleeFunc)->GetMethod()); in ProfileCall()
48 auto currentMethod = Method::Cast(JSFunction::Cast(currentFunc)->GetMethod()); in ProfileCall()
85 auto jsMethod = Method::Cast(JSFunction::Cast(funcValue)->GetMethod()); in ProfileOpType()
115 auto jsMethod = Method::Cast(method); in ProfileDefineClass()
127 auto ctorJSMethod = Method::Cast(ctorMethod); in ProfileDefineClass()
137 auto superMethod = Method::Cast(superFuncFunction->GetMethod()); in ProfileDefineClass()
177 auto jsMethod = Method::Cast(method); in ProfileCreateObject()
217 auto jsMethod = Method::Cast(method); in ProfileObjLayout()
270 auto ctorJSMethod = Method::Cast(ctorMethod); in ProfileObjLayout()
/arkcompiler/ets_runtime/ecmascript/tests/
Dnative_pointer_test.cpp69 JSHandle<Method> target = factory->NewMethodForNativeFunction(nullptr); in HWTEST_F_L0()
73 ASSERT_EQ(Method::Cast(target.GetTaggedValue().GetTaggedObject()), jsFunction->GetCallTarget()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/patch/
Dpatch_loader.cpp167 Method *patchMethod = nullptr; in UnloadPatchInternal()
171 patchMethod = Method::Cast(value.GetTaggedObject()); in UnloadPatchInternal()
178 patchMethod = Method::Cast(func->GetMethod().GetTaggedObject()); in UnloadPatchInternal()
219 Method *destMethod, in ReplaceMethod()
257 Method *baseMethod = Method::Cast(constpoolValue.GetTaggedObject()); in FindAndReplaceSameMethod()
283 Method *baseMethod = Method::Cast(func->GetMethod().GetTaggedObject()); in FindAndReplaceSameMethod()
/arkcompiler/runtime_core/libpandafile/
Dpanda_cache.h28 class Method; variable
39 Method *ptr_ {nullptr};
80 inline Method *GetMethodFromCache(File::EntityId id) const in GetMethodFromCache()
94 inline void SetMethodCache(File::EntityId id, Method *method) in SetMethodCache()
/arkcompiler/runtime_core/compiler/docs/
Dinterface_inline_cache.md68 | ... | Array of Method*
80 | ... | Array of Method*
88 | ... | Array of Method*
100 because Method* is 8bit align, so Method* can be compressed. So the actual range we can store is:
Dplt.md16 `SlowPath` also can be used, as we can cache gathered Method or Class pointer into a slot in GOT ta…
25 `ThirdSlot` would actually store `Method pointer` after resolving, but during AOT file loading it i…
28 During calls, first parameter is always a callee `Method pointer`, so the trick from previous parag…
49 XX+04: ldr x0, [x0] ; Load value stored in ThirdSlot ; (&FirstSlot)-48 ; Method Pointer
51 XX+12: blr x30 ; Call ; Call Resolver ; Call Method
57 Caller `Method pointer` could be extracted (into `x0`) directly from Caller's CFrame, so,
58 having this two values in `x0` and `x1` it just call `GetCalleeMethod` to gather `Method pointer`.
60 When we have `Method pointer`, it is stored into `ThirdSlot`, allow to load proper executable addre…
93 XX+32: ldr w16, [x16, #160] ; Load Method from VTable (compensating index+1, as VTable start o…
97 ZZ+00: mov x0, x16 ; x0 = Method address
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dprofiler_stub_builder.cpp64 IntPtr(Method::NATIVE_POINTER_OR_BYTECODE_ARRAY_OFFSET)); in ProfileOpType()
99 …Load(VariableType::NATIVE_POINTER(), method, IntPtr(Method::NATIVE_POINTER_OR_BYTECODE_ARRAY_OFFSE… in ProfileOpType()
117 …Load(VariableType::NATIVE_POINTER(), method, IntPtr(Method::NATIVE_POINTER_OR_BYTECODE_ARRAY_OFFSE… in ProfileDefineClass()
160 …Load(VariableType::NATIVE_POINTER(), method, IntPtr(Method::NATIVE_POINTER_OR_BYTECODE_ARRAY_OFFSE… in ProfileCreateObject()
181 …Load(VariableType::NATIVE_POINTER(), method, IntPtr(Method::NATIVE_POINTER_OR_BYTECODE_ARRAY_OFFSE… in ProfileObjLayout()
211 …Load(VariableType::NATIVE_POINTER(), method, IntPtr(Method::NATIVE_POINTER_OR_BYTECODE_ARRAY_OFFSE… in ProfileCall()
/arkcompiler/ets_runtime/ecmascript/ic/
Dinvoke_cache.cpp125 Method *calleeMethod = JSFunction::Cast(callee.GetTaggedObject())->GetCallTarget(); in SetMonoInlineCallCacheSlot()
148 Method *calleeMethod = JSFunction::Cast(calleeElement.GetTaggedObject())->GetCallTarget(); in SetPolyInlineCallCacheSlot()
160 bool InvokeCache::DecideCanBeInlined(Method *method) in DecideCanBeInlined()
Dinvoke_cache.h47 static bool DecideCanBeInlined(Method *method);
/arkcompiler/ets_runtime/ecmascript/deoptimizer/
Ddeoptimizer.h153 bool CollectVirtualRegisters(Method* method, FrameWriter *frameWriter, size_t curDepth);
167 Method* GetMethod(JSTaggedValue &target);
169 void Dump(Method* method, kungfu::DeoptType type, size_t depth);
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp134 JSHandle<Method> method = vm_->GetFactory()->NewMethod(methodLiterals[0]); in HWTEST_F_L0()
182 JSHandle<Method> method = vm_->GetFactory()->NewMethod(methodLiterals[0]); in HWTEST_F_L0()
183 JSHandle<Method> method1 = vm_->GetFactory()->NewMethod(methodLiterals[1]); in HWTEST_F_L0()
184 JSHandle<Method> method2 = vm_->GetFactory()->NewMethod(methodLiterals[2]); in HWTEST_F_L0()
248 JSHandle<Method> method = vm_->GetFactory()->NewMethod(methodLiterals[0]); in HWTEST_F_L0()
249 JSHandle<Method> method1 = vm_->GetFactory()->NewMethod(methodLiterals[1]); in HWTEST_F_L0()
309 JSHandle<Method> method = vm_->GetFactory()->NewMethod(methodLiterals[0]); in HWTEST_F_L0()
369 JSHandle<Method> method = vm_->GetFactory()->NewMethod(methodLiteral); in HWTEST_F_L0()
413 JSHandle<Method> method = vm2->GetFactory()->NewMethod(methodLiterals[0]); in HWTEST_F_L0()
420 JSHandle<Method> method1 = vm_->GetFactory()->NewMethod(methodLiterals[0]); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/docs/
Don-stack-replacement.md17 Method::osr_code |
19 | Method Prologue | V
36 | | Method epilogue | | |native_pc : INVALID |
115 def update_hotness(method: Method*, bytecode_offset: int) -> bool:
126 def osr_entry(method: Method*, bytecode_offset: int) -> bool:
Druntime-compiled_code-interaction.md21 hotness counter (see [Structure of `panda::Method`](#structure-of-pandamethod)) of managed function…
29 Compiled code of a managed function must accept one extra argumnent: the pointer to `panda::Method`…
36 - a pointer to `panda::Method` in the register R0.
60 ## Structure of `panda::Method`
61 `panda::Method` describes a managed function in the runtime.
62 This document refers to the following fields of `panda::Method`:
77 one extra argument: a pointer to `panda::Method` ( See [Calling convention](#calling_convention)).
125 A | panda::Method* |
135 - `panda::Method*` - a pointer to `panda::Method` which describes the called function.
147 …naged function compiled code must resolve it (i.e. retreive a pointer to callee's `panda::Method`),
[all …]
/arkcompiler/ets_frontend/es2panda/ir/expressions/
Dliteral.cpp56 return AsTaggedLiteral()->Method(); in GetMethod()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackinfo.h34 static std::string BuildMethodTrace(Method *method, uint32_t pcOffset);
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Daot_file_manager.h144 void SetAOTFuncEntry(const JSPandaFile *jsPandaFile, Method *method,
158 static void PrintAOTEntry(const JSPandaFile *file, const Method *method, uintptr_t entry);

12345