Home
last modified time | relevance | path

Searched full:getmethod (Results 1 – 25 of 152) sorted by relevance

1234567

/arkcompiler/runtime_core/runtime/
Ddeoptimization.cpp86 if (stack.IsCFrame() && stack.GetMethod() == method) { in InvalidateCompiledEntryPoint()
92 … << "[CHA] Set ShouldDeoptimize for method: " << cframe.GetMethod()->GetFullName(); in InvalidateCompiledEntryPoint()
95 … << "[IC] Set ShouldDeoptimize for method: " << cframe.GetMethod()->GetFullName(); in InvalidateCompiledEntryPoint()
124 LOG(DEBUG, INTEROP) << "Deoptimize frame: " << stack->GetMethod()->GetFullName(); in InvalidateCompiledEntryPoint()
127 ASSERT(cframe.GetMethod() != nullptr); in InvalidateCompiledEntryPoint()
129 pc = stack->GetMethod()->GetInstructions() + stack->GetBytecodePc(); in InvalidateCompiledEntryPoint()
136 destroy_method.insert(cframe.GetMethod()); in InvalidateCompiledEntryPoint()
149 …EVENT_METHOD_EXIT(last_iframe->GetMethod()->GetFullName() + "(deopt)", events::MethodExitKind::INL… in InvalidateCompiledEntryPoint()
155 …EVENT_METHOD_EXIT(last_iframe->GetMethod()->GetFullName() + "(deopt)", events::MethodExitKind::COM… in InvalidateCompiledEntryPoint()
174 EVENT_DEOPTIMIZATION(std::string(cframe.GetMethod()->GetFullName()), in InvalidateCompiledEntryPoint()
[all …]
Dcompiler_queue_counter_priority.h33 counter_ = task.GetMethod()->GetHotnessCounter(); in CompilationQueueElement()
110 ctx.GetMethod()->ResetHotnessCounter();
111 ctx.GetMethod()->AtomicSetCompilationStatus(Method::WAITING,
142 element->UpdateCounter(element->GetContext().GetMethod()->GetHotnessCounter()); in UpdateCounterAndCheck()
162 … return strcmp(reinterpret_cast<const char *>(a->GetContext().GetMethod()->GetName().data), in operator()
163 … reinterpret_cast<const char *>(b->GetContext().GetMethod()->GetName().data)) > 0; in operator()
183 ctx.GetMethod()->AtomicSetCompilationStatus(Method::WAITING, in UpdateQueue()
Dosr.cpp55 EVENT_OSR_ENTRY(std::string(frame->GetMethod()->GetFullName()), loop_head_bc, osr_kind, in WriteOsrEventError()
64 …LOG(DEBUG, INTEROP) << "OSR entry in method '" << stack.GetMethod()->GetFullName() << "': " << osr… in OsrEntry()
77 EVENT_OSR_ENTRY(std::string(frame->GetMethod()->GetFullName()), loop_head_bc, in OsrEntry()
84 EVENT_OSR_ENTRY(std::string(frame->GetMethod()->GetFullName()), loop_head_bc, in OsrEntry()
91 EVENT_OSR_ENTRY(std::string(frame->GetMethod()->GetFullName()), loop_head_bc, in OsrEntry()
110 cframe.SetMethod(iframe->GetMethod()); in PrepareOsrEntry()
148 panda_file::ShortyIterator it(frame->GetMethod()->GetShorty()); in SetOsrResult()
Dcompiler_queue_interface.h32 ASSERT(ctx.GetMethod() != nullptr); in GetTaskDescription()
33 auto name = reinterpret_cast<const char *>(ctx.GetMethod()->GetName().data); in GetTaskDescription()
35 << ", hotness counter: " << ctx.GetMethod()->GetHotnessCounter() << ")"; in GetTaskDescription()
Dstack_walker.cpp76 Method *StackWalker::GetMethod() in GetMethod() function in panda::StackWalker
80 return GetIFrame()->GetMethod(); in GetMethod()
86 auto method_variant = code_info_.GetMethod(stackmap_, inline_depth_); in GetMethod()
88 return Runtime::GetCurrent()->GetClassLinker()->GetMethod( in GetMethod()
89 … *cframe.GetMethod(), panda_file::File::EntityId(std::get<uint32_t>(method_variant))); in GetMethod()
94 return cframe.GetMethod(); in GetMethod()
120 code_entry = Thread::GetCurrent()->GetVM()->GetCompiler()->GetOsrCode(cframe.GetMethod()); in CreateCFrame()
126 code_entry = cframe.GetMethod()->GetCompiledEntryPoint(); in CreateCFrame()
141 … << cframe.GetMethod()->GetFullName() << ": npc=0x" << std::hex << npc << ", code=[" in CreateCFrame()
551 auto method = GetMethod(); in ConvertToIFrame()
[all …]
/arkcompiler/runtime_core/runtime/tooling/inspector/tests/
Dinstruction_pointer.cpp80 … PtLocation location(GetMethod()->GetPandaFile()->GetFilename().c_str(), GetMethod()->GetFileId(), in Step()
85 debugger_.GetHooks().SingleStep(PtThread::NONE, GetMethod(), location); in Step()
114 ASSERT(GetMethod()); in Reset()
115 …instruction_ = BytecodeInstructionSafe(GetMethod()->GetInstructions(), GetMethod()->GetInstruction… in Reset()
116GetMethod()->GetInstructions() + GetMethod()->GetCodeSize() - 1); in Reset()
Dbreakpoint_test.cpp160 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 8)), in TEST_F()
161 Breakpoint(CallFrame(main_.GetMethod(), 9)), in TEST_F()
162 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 9)), in TEST_F()
188 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 8)), in TEST_F()
224 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 8)), in TEST_F()
225 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 9)), in TEST_F()
253 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 8)), in TEST_F()
254 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 9)), in TEST_F()
282 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 8)), in TEST_F()
283 Breakpoint(CallFrame(func_, 2), CallFrame(main_.GetMethod(), 9)), in TEST_F()
[all …]
Dinstruction_pointer.h44 Method *GetMethod() const in GetMethod() function
46 return frame_.GetMethod(); in GetMethod()
/arkcompiler/runtime_core/runtime/tests/
Dosr_code_test.cpp40 Method *GetMethod(Class *klass, size_t num);
54 Method *OsrCodeTest::GetMethod(Class *klass, size_t num) in GetMethod() function in panda::test::OsrCodeTest
95 Method *method = GetMethod(klass, i); in CompileMethods()
101 Method *method = GetMethod(klass, i); in CompileMethods()
Dcompiler_queue_test.cpp87 auto method = queue->GetTask().GetMethod(); in GetAndCheckMethodIfExists()
195 auto method = queue.GetTask().GetMethod(); in TEST_F()
206 method = queue2.GetTask().GetMethod(); in TEST_F()
281 auto method = queue.GetTask().GetMethod(); in TEST_F()
293 method = queue2.GetTask().GetMethod(); in TEST_F()
294 method = queue2.GetTask().GetMethod(); in TEST_F()
392 auto method = queue.GetTask().GetMethod(); in TEST_F()
406 method = queue2.GetTask().GetMethod(); in TEST_F()
481 auto method = queue.GetTask().GetMethod(); in TEST_F()
494 method = queue2.GetTask().GetMethod(); in TEST_F()
[all …]
Dcompilation_status_test.cpp41 Method *GetMethod(Class *klass, size_t num);
54 Method *CompilationStatusTest::GetMethod(Class *klass, size_t num) in GetMethod() function in panda::test::CompilationStatusTest
91 Method *method = GetMethod(klass, 0); in TEST_F()
Dcompiler_thread_pool.cpp58 Method *GetMethod(Class *klass, size_t num) in GetMethod() function
101 Method *method = GetMethod(klass, i); in CompileMethods()
111 Method *method = GetMethod(klass, i); in CompileMethods()
/arkcompiler/runtime_core/runtime/interpreter/templates/
Dinterpreter-inl_gen.h.erb43 …EVENT_METHOD_ENTER(frame->GetMethod()->GetFullName(), events::MethodEnterKind::INTERP, thread->Rec…
47 …EVENT_METHOD_EXIT(frame->GetMethod()->GetFullName(), events::MethodExitKind::INTERP, thread->Recor…
154 …tNotificationManager()->ExceptionThrowEvent(thread, handler.GetFrame()->GetMethod(), thread->GetEx…
165 auto *method = handler.GetFrame()->GetMethod();
173 …tNotificationManager()->ExceptionCatchEvent(thread, handler.GetFrame()->GetMethod(), exception_obj…
176 Span<const uint8_t> sp(handler.GetFrame()->GetMethod()->GetInstructions(), pc_offset);
202 auto* method = handler.GetFrame()->GetMethod();
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dobject_type_propagation.cpp31 auto klass = self->GetGraph()->GetRuntime()->GetClass(inst->GetMethod(), inst->GetTypeId()); in VisitNewObject()
41 auto klass = self->GetGraph()->GetRuntime()->GetClass(inst->GetMethod(), inst->GetTypeId()); in VisitNewArray()
51 auto klass = self->GetGraph()->GetRuntime()->GetStringClass(inst->GetMethod()); in VisitLoadString()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.cpp33 … << GetGraph()->GetRuntime()->GetClassNameFromMethod(GetMethod()) << "." in RunImpl()
34 << GetGraph()->GetRuntime()->GetMethodName(GetMethod()) in RunImpl()
35 … << "(args=" << GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()) in RunImpl()
36 … << ", regs=" << GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) in RunImpl()
39 auto instructions_buf = GetGraph()->GetRuntime()->GetMethodCode(GetMethod()); in RunImpl()
40 …tions pbc_instructions(instructions_buf, GetGraph()->GetRuntime()->GetMethodCodeSize(GetMethod())); in RunImpl()
41 size_t vregs_count = GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) + in RunImpl()
42 GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()) + 1; in RunImpl()
51 InstBuilder inst_builder(GetGraph(), GetMethod(), caller_inst_); in RunImpl()
102 …e = static_cast<panda_file::File *>(GetGraph()->GetRuntime()->GetBinaryFileForMethod(GetMethod())); in CheckMethodLimitations()
[all …]
Dinst_builder-inl.h38 auto method = GetGraph()->GetMethod(); in BuildLoadFromPool()
60 …type_id = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), bc_inst->GetId(0).AsIndex()); in BuildLoadFromPool()
84 auto language = GetRuntime()->GetMethodSourceLanguage(GetMethod()); in BuildCastToAnyString()
111 auto language = GetRuntime()->GetMethodSourceLanguage(GetMethod()); in BuildCastToAnyNumber()
Dinst_builder.cpp28 auto num_args = GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()); in Prepare()
33 auto reg_num = GetRuntime()->GetMethodRegistersCount(GetMethod()) + i; in Prepare()
291 inst->SetMethod(GetMethod()); in CreateSaveState()
311 return GetRuntime()->GetMethodReturnType(GetMethod()); in GetCurrentMethodReturnType()
316 return GetRuntime()->GetMethodTotalArgumentType(GetMethod(), index); in GetCurrentMethodArgumentType()
321 return GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()); in GetCurrentMethodArgumentsCount()
326 return GetRuntime()->GetMethodReturnType(GetMethod(), id); in GetMethodReturnType()
331 return GetRuntime()->GetMethodArgumentType(GetMethod(), id, index); in GetMethodArgumentType()
336 return GetRuntime()->GetMethodArgumentsCount(GetMethod(), id); in GetMethodArgumentsCount()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.cpp29 if (jsValue.IsJSFunction() && JSFunction::Cast(jsValue)->GetMethod().IsMethod()) { in Sample()
30 auto jsMethod = Method::Cast(JSFunction::Cast(jsValue)->GetMethod()); in Sample()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp84 std::unique_ptr<PtMethod> DebuggerApi::GetMethod(const EcmaVM *ecmaVm) in GetMethod() function in panda::ecmascript::tooling::DebuggerApi
87 Method* method = frameHandler.GetMethod(); in GetMethod()
103 Method *DebuggerApi::GetMethod(const FrameHandler *frameHandler) in GetMethod() function in panda::ecmascript::tooling::DebuggerApi
105 return frameHandler->GetMethod(); in GetMethod()
119 Method* method = frameHandler->GetMethod(); in IsNativeMethod()
125 Method *method = FrameHandler(ecmaVm->GetJSThread()).GetMethod(); in GetJSPandaFile()
141 Method *method = DebuggerApi::GetMethod(frameHandler); in GetVregIndex()
330 Method *method = frameHandler.GetMethod(); in GetCurrentModule()
452 auto method = frameHandler.GetMethod(); in IsExceptionCaught()
/arkcompiler/ets_runtime/ecmascript/ic/
Dinvoke_cache.cpp70 if (JSFunction::Cast(result.GetTaggedObject())->GetMethod() == in CheckPolyInvokeCache()
71 JSFunction::Cast(func.GetTaggedObject())->GetMethod()) { in CheckPolyInvokeCache()
94 newTgt->GetMethod() == JSFunction::Cast(firstValue.GetTaggedObject())->GetMethod())) { in Construct()
/arkcompiler/ets_runtime/ecmascript/
Djs_proxy.cpp63 // 5. Let trap be GetMethod(handler, "getPrototypeOf"). in GetPrototype()
65 JSHandle<JSTaggedValue> trap = JSObject::GetMethod(thread, handler, name); in GetPrototype()
124 // 6. Let trap be GetMethod(handler, "setPrototypeOf"). in SetPrototype()
126 …JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, JSHandle<JSTaggedValue>(thread, handler),… in SetPrototype()
184 // 5. Let trap be GetMethod(handler, "isExtensible"). in IsExtensible()
186 …JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, JSHandle<JSTaggedValue>(thread, handler),… in IsExtensible()
226 // 5. Let trap be GetMethod(handler, "preventExtensions"). in PreventExtensions()
239 …JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, JSHandle<JSTaggedValue>(thread, handler),… in PreventExtensions()
278 // 6. Let trap be GetMethod(handler, "getOwnPropertyDescriptor"). in GetOwnProperty()
292 …JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, JSHandle<JSTaggedValue>(thread, handler),… in GetOwnProperty()
[all …]
Djs_iterator.cpp50 JSHandle<JSTaggedValue> func = JSObject::GetMethod(thread, obj, iteratorSymbol); in GetIterator()
81 // i. Set method to ? GetMethod(obj, @@asyncIterator). in GetAsyncIterator()
83 JSHandle<JSTaggedValue> method = JSObject::GetMethod(thread, obj, asynciteratorSymbol); in GetAsyncIterator()
87 JSHandle<JSTaggedValue> func = JSObject::GetMethod(thread, obj, iteratorSymbol); in GetAsyncIterator()
118 JSHandle<JSTaggedValue> next(JSObject::GetMethod(thread, iter, key)); in IteratorNext()
138 JSHandle<JSTaggedValue> next(JSObject::GetMethod(thread, iter, key)); in IteratorNext()
243 // 3.Let return be GetMethod(iterator, "return"). in IteratorClose()
/arkcompiler/runtime_core/runtime/tooling/inspector/
Dinspector.cpp82 auto &sourceFile = sourceManager_.GetOrLoadSourceFile(frame.GetMethod()); in HandlePendingPause()
83 auto &table = sourceFile.GetDebugInfo().GetLineNumberTable(frame.GetMethod()->GetFileId()); in HandlePendingPause()
96 … callFrame.AddProperty("functionName", utf::Mutf8AsCString(frame.GetMethod()->GetName().data)); in HandlePendingPause()
/arkcompiler/runtime_core/runtime/bridge/
Dbridge.cpp75 LOG(DEBUG, INTEROP) << "InvokeInterpreter for method: " << frame->GetMethod()->GetFullName(); in InvokeInterpreter()
97 … LOG(DEBUG, INTEROP) << "InvokeInterpreter for method: " << frame->GetMethod()->GetFullName(); in InvokeInterpreter()
100 pc = frame->GetMethod()->GetInstructions() + frame->GetBytecodeOffset(); in InvokeInterpreter()
/arkcompiler/runtime_core/compiler/aot/
Dcompiled_method.h52 Method *GetMethod() in GetMethod() function
57 const Method *GetMethod() const in GetMethod() function

1234567