| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/class_ops/ |
| D | call_static_method_void_test.cpp | 34 ani_static_method getMethod; in GetMethodData() local 35 ASSERT_EQ(env_->Class_FindStaticMethod(cls, "getCount", nullptr, &getMethod), ANI_OK); in GetMethodData() 36 ASSERT_NE(getMethod, nullptr); in GetMethodData() 44 *getMethodResult = getMethod; in GetMethodData() 46 void GetCount(ani_class cls, ani_static_method getMethod, ani_int *value) in GetCount() argument 48 ASSERT_EQ(env_->Class_CallStaticMethod_Int(cls, getMethod, value), ANI_OK); in GetCount() 58 ani_static_method getMethod {}; in TestCombineScene() local 59 ASSERT_EQ(env_->Class_FindStaticMethod(cls, "getCount", nullptr, &getMethod), ANI_OK); in TestCombineScene() 63 GetCount(cls, getMethod, &value); in TestCombineScene() 71 GetCount(cls, getMethod, &valueA); in TestCombineScene() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
| D | inst_builder-inl.h | 31 return GetRuntime()->GetClassIdWithinFile(GetMethod(), GetRuntime()->GetClass(method_)); in GetClassId() 33 return GetRuntime()->GetClassIdForMethod(GetMethod(), methodId_); in GetClassId() 42 … methodId_ = GetRuntime()->ResolveMethodIndex(Builder()->GetMethod(), bcInst->GetId(0).AsIndex()); in BuildCallHelper() 44 hasImplicitArg_ = !GetRuntime()->IsMethodStatic(Builder()->GetMethod(), methodId_); in BuildCallHelper() 46 if (GetRuntime()->IsMethodIntrinsic(Builder()->GetMethod(), methodId_)) { in BuildCallHelper() 49 method_ = GetRuntime()->GetMethodById(Builder()->GetMethod(), methodId_); in BuildCallHelper() 55 method_ = GetRuntime()->GetMethodById(Builder()->GetMethod(), methodId_); in BuildCallHelper() 162 … TypeIdMixin {classId, GetGraph()->GetMethod()}, in BuildInitClassInstForCallStatic() 173 …if (method_ == nullptr || (GetRuntime()->IsMethodStatic(GetMethod(), methodId_) && classId == 0) || in BuildCallStaticInst() 180 GetRuntime()->GetUnresolvedTypes()->AddTableSlot(GetMethod(), methodId_, SLOT_KIND); in BuildCallStaticInst() [all …]
|
| D | inst_builder.cpp | 33 instructionsBuf_(GetGraph()->GetRuntime()->GetMethodCode(GetGraph()->GetMethod())), in InstBuilder() 143 if (GetRuntime()->GetMethodReturnType(GetMethod()) == DataType::REFERENCE) { in Prepare() 146 auto numArgs = GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()); in Prepare() 147 bool isStatic = GetRuntime()->IsMethodStatic(GetMethod()); in Prepare() 155 auto regNum = GetRuntime()->GetMethodRegistersCount(GetMethod()) + i; in Prepare() 172 methodProfile_ = GetRuntime()->GetMethodProfile(GetMethod(), !GetGraph()->IsAotMode()); in Prepare() 546 inst = GetGraph()->CreateInstSaveState(pc, GetMethod(), callerInst_, inliningDepth_); in CreateSaveState() 548 inst = GetGraph()->CreateInstSaveStateOsr(pc, GetMethod(), callerInst_, inliningDepth_); in CreateSaveState() 550 inst = GetGraph()->CreateInstSafePoint(pc, GetMethod(), callerInst_, inliningDepth_); in CreateSaveState() 553 … inst = GetGraph()->CreateInstSaveStateDeoptimize(pc, GetMethod(), callerInst_, inliningDepth_); in CreateSaveState() [all …]
|
| D | ir_builder.cpp | 46 … << GetGraph()->GetRuntime()->GetClassNameFromMethod(GetMethod()) << "." in RunImpl() 47 << GetGraph()->GetRuntime()->GetMethodName(GetMethod()) in RunImpl() 48 … << "(args=" << GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()) in RunImpl() 49 … << ", regs=" << GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) in RunImpl() 52 auto instructionsBuf = GetGraph()->GetRuntime()->GetMethodCode(GetMethod()); in RunImpl() 53 …uctions pbcInstructions(instructionsBuf, GetGraph()->GetRuntime()->GetMethodCodeSize(GetMethod())); in RunImpl() 54 size_t vregsCount = GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) + in RunImpl() 55 GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()) + 1; in RunImpl() 88 auto instructionsBuf = GetGraph()->GetRuntime()->GetMethodCode(GetMethod()); in BuildIrImpl() 107 if (GetGraph()->GetRuntime()->IsMemoryBarrierRequired(GetMethod())) { in BuildIrImpl() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/templates/ |
| D | interpreter-inl_gen.h.erb | 56 …EVENT_METHOD_ENTER(frame->GetMethod()->GetFullName(), events::MethodEnterKind::INTERP, thread->Rec… 60 …EVENT_METHOD_EXIT(frame->GetMethod()->GetFullName(), events::MethodExitKind::INTERP, thread->Recor… 124 if (frame->GetMethod()->GetPandaFile()->GetHeader()->quickenedFlag) { 125 switch (frame->GetMethod()->GetClass()->GetSourceLang()) { 160 …ASSERT(frame->GetMethod()->GetPandaFile()->GetHeader()->quickenedFlag || state.IsPrimaryOpcodeVali… 187 ASSERT(frame->GetMethod()->GetPandaFile()->GetHeader()->quickenedFlag 195 ASSERT(frame->GetMethod()->GetPandaFile()->GetHeader()->quickenedFlag 199 ASSERT(frame->GetMethod()->GetPandaFile()->GetHeader()->quickenedFlag 247 ASSERT(frame->GetMethod()->GetPandaFile()->GetHeader()->quickenedFlag 255 ASSERT(frame->GetMethod()->GetPandaFile()->GetHeader()->quickenedFlag [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | deoptimization.cpp | 87 if (stack.IsCFrame() && stack.GetMethod() == method) { in InvalidateCompiledMethod() 93 << cframe.GetMethod()->GetFullName(); in InvalidateCompiledMethod() 96 << cframe.GetMethod()->GetFullName(); in InvalidateCompiledMethod() 141 EVENT_DEOPTIMIZATION(std::string(cframe.GetMethod()->GetFullName()), in InvalidateCompiledEntryPoint() 142 … pc - stack->GetMethod()->GetInstructions(), events::DeoptimizationAfter::CFRAME); in InvalidateCompiledEntryPoint() 162 EVENT_DEOPTIMIZATION(std::string(cframe.GetMethod()->GetFullName()), in InvalidateCompiledEntryPoint() 163 pc - stack->GetMethod()->GetInstructions(), in InvalidateCompiledEntryPoint() 190 auto method = stack->GetMethod(); in InvalidateCompiledEntryPoint() 219 …EVENT_METHOD_EXIT(last_iframe->GetMethod()->GetFullName() + "(deopt)", events::MethodExitKind::INL… in InvalidateCompiledEntryPoint() 225 …EVENT_METHOD_EXIT(last_iframe->GetMethod()->GetFullName() + "(deopt)", events::MethodExitKind::COM… in InvalidateCompiledEntryPoint() [all …]
|
| D | compiler_queue_counter_priority.h | 33 counter_ = context_.GetMethod()->GetHotnessCounter(); in CompilationQueueElement() 111 ctx.GetMethod()->ResetHotnessCounter(); 112 ctx.GetMethod()->AtomicSetCompilationStatus(Method::WAITING, 143 element->UpdateCounter(element->GetContext().GetMethod()->GetHotnessCounter()); in UpdateCounterAndCheck() 163 … return strcmp(reinterpret_cast<const char *>(a->GetContext().GetMethod()->GetName().data), in operator() 164 … reinterpret_cast<const char *>(b->GetContext().GetMethod()->GetName().data)) > 0; in operator() 184 ASSERT(ctx.GetMethod() != nullptr); in UpdateQueue() 185 ctx.GetMethod()->AtomicSetCompilationStatus(Method::WAITING, in UpdateQueue()
|
| D | compiler_queue_interface.h | 32 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()
|
| D | osr.cpp | 57 …EVENT_OSR_ENTRY(std::string(frame->GetMethod()->GetFullName()), loopHeadBc, osrKind, events::OsrEn… in WriteOsrEventError() 67 …LOG(DEBUG, INTEROP) << "OSR entry in method '" << stack.GetMethod()->GetFullName() << "': " << osr… in OsrEntry() 80 EVENT_OSR_ENTRY(std::string(frame->GetMethod()->GetFullName()), loopHeadBc, in OsrEntry() 85 … if (frame->IsDynamic() && frame->GetNumActualArgs() < frame->GetMethod()->GetNumArgs()) { in OsrEntry() 96 EVENT_OSR_ENTRY(std::string(frame->GetMethod()->GetFullName()), loopHeadBc, in OsrEntry() 103 …EVENT_OSR_ENTRY(std::string(frame->GetMethod()->GetFullName()), loopHeadBc, events::OsrEntryKind::… in OsrEntry() 141 cframe.SetMethod(iframe->GetMethod()); in PrepareOsrEntry() 194 panda_file::ShortyIterator it(frame->GetMethod()->GetShorty()); in SetOsrResult() 239 auto *method {frame->GetMethod()}; in GetStackParamsSize()
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/sampler/ |
| D | stack_walker_base.h | 73 Method *GetMethod() in GetMethod() function 76 return IsCFrame() ? GetCFrame().GetMethod() : GetIFrame()->GetMethod(); in GetMethod() 79 const Method *GetMethod() const in GetMethod() function 82 return IsCFrame() ? GetCFrame().GetMethod() : GetIFrame()->GetMethod(); in GetMethod()
|
| /arkcompiler/runtime_core/libabckit/src/templates/abckit_intrinsics/ |
| D | inst_builder_abckit_intrinsics.inc.erb | 138 …typeId<%= id16_index %> = GetRuntime()->ResolveTypeIndex(GetGraph()->GetMethod(), typeId<%= id16_i… 142 …mId<%= id16_index %> = GetRuntime()->ResolveMethodIndex(GetGraph()->GetMethod(), mId<%= id16_index… 148 auto method = GetGraph()->GetMethod(); 171 auto methodId = GetRuntime()->ResolveMethodIndex(GetMethod(), bcInst->GetId(0).AsIndex()); 187 inst->AddInputType(GetRuntime()->GetMethodArgumentType(GetMethod(), methodId, i)); 192 inst->AddInputType(GetRuntime()->GetMethodArgumentType(GetMethod(), methodId, i)); 195 auto method = GetGraph()->GetMethod(); 204 auto fieldId = GetRuntime()->ResolveFieldIndex(GetMethod(), bcInst->GetId(0).AsIndex()); 207 retType = GetRuntime()->GetFieldTypeById(GetMethod(), fieldId); 231 auto method = GetGraph()->GetMethod(); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/ |
| D | ets_method_wrapper.h | 44 static EtsMethodWrapper *GetMethod(InteropCtx *ctx, EtsMethodSet *etsMethodSet); 61 return etsMethodSet_->GetMethod(parametersNum); in GetEtsMethod() 64 Method *GetMethod(uint32_t parametersNum) const in GetMethod() function 66 EtsMethod *const etsMethod = etsMethodSet_->GetMethod(parametersNum); in GetMethod() 79 EtsMethodWrapper *wrapper = EtsMethodWrapper::GetMethod(ctx, lazyLink.GetUnresolved()); in ResolveLazyLink()
|
| /arkcompiler/toolchain/tooling/dynamic/agent/ |
| D | animation_impl.cpp | 21 Method method = GetMethodEnum(request.GetMethod()); in Dispatch() 22 LOG_DEBUGGER(INFO) << "dispatch [" << request.GetMethod() << "] to AnimationImpl"; in Dispatch() 28 SendResponse(request, DispatchResponse::Fail("Unknown method: " + request.GetMethod())); in Dispatch()
|
| D | page_impl.cpp | 21 Method method = GetMethodEnum(request.GetMethod()); in Dispatch() 22 LOG_DEBUGGER(INFO) << "dispatch [" << request.GetMethod() << "] to PageImpl"; in Dispatch() 28 SendResponse(request, DispatchResponse::Fail("Unknown method: " + request.GetMethod())); in Dispatch()
|
| D | css_impl.cpp | 21 Method method = GetMethodEnum(request.GetMethod()); in Dispatch() 22 LOG_DEBUGGER(INFO) << "dispatch [" << request.GetMethod() << "] to CssImpl"; in Dispatch() 28 SendResponse(request, DispatchResponse::Fail("Unknown method: " + request.GetMethod())); in Dispatch()
|
| D | dom_impl.cpp | 21 Method method = GetMethodEnum(request.GetMethod()); in Dispatch() 22 LOG_DEBUGGER(INFO) << "dispatch [" << request.GetMethod() << "] to DomImpl"; in Dispatch() 28 SendResponse(request, DispatchResponse::Fail("Unknown method: " + request.GetMethod())); in Dispatch()
|
| D | overlay_impl.cpp | 21 Method method = GetMethodEnum(request.GetMethod()); in Dispatch() 22 LOG_DEBUGGER(INFO) << "dispatch [" << request.GetMethod() << "] to OverlayImpl"; in Dispatch() 28 SendResponse(request, DispatchResponse::Fail("Unknown method: " + request.GetMethod())); in Dispatch()
|
| D | target_impl.cpp | 21 Method method = GetMethodEnum(request.GetMethod()); in Dispatch() 22 LOG_DEBUGGER(INFO) << "dispatch [" << request.GetMethod() << "] to TargetImpl"; in Dispatch() 28 SendResponse(request, DispatchResponse::Fail("Unknown method: " + request.GetMethod())); in Dispatch()
|
| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | inst_builder-inl.h | 27 auto method = GetGraph()->GetMethod(); in BuildLoadFromPool() 34 …type_id = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), bc_inst->GetId(0).AsIndex()); in BuildLoadFromPool() 52 auto language = GetRuntime()->GetMethodSourceLanguage(GetMethod()); in BuildCastToAnyString() 78 auto language = GetRuntime()->GetMethodSourceLanguage(GetMethod()); in BuildCastToAnyNumber()
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | compiler_queue_test.cpp | 94 auto method1 = queue->GetTask().GetMethod(); in GetAndCheckMethodsIfExists() 98 auto method2 = queue->GetTask().GetMethod(); in GetAndCheckMethodsIfExists() 103 auto method3 = queue->GetTask().GetMethod(); in GetAndCheckMethodsIfExists() 213 auto method = queue.GetTask().GetMethod(); in TEST_F() 224 method = queue2.GetTask().GetMethod(); in TEST_F() 297 auto method = queue.GetTask().GetMethod(); in TEST_F() 309 queue2.GetTask().GetMethod(); in TEST_F() 310 method = queue2.GetTask().GetMethod(); in TEST_F() 404 auto method = queue.GetTask().GetMethod(); in TEST_F() 418 method = queue2.GetTask().GetMethod(); in TEST_F() [all …]
|
| D | osr_code_test.cpp | 40 Method *GetMethod(Class *klass, size_t num); 57 Method *OsrCodeTest::GetMethod(Class *klass, size_t num) in GetMethod() function in ark::test::OsrCodeTest 99 Method *method = GetMethod(klass, i); in CompileMethods() 105 Method *method = GetMethod(klass, i); in CompileMethods()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | jit_compilation_env.cpp | 34 Method *method = Method::Cast(jsFunction->GetMethod(thread_).GetTaggedObject()); in JitCompilationEnv() 79 Method *method = Method::Cast(jsFunction_->GetMethod(thread_).GetTaggedObject()); in FindConstpool() 91 Method *method = Method::Cast(jsFunction_->GetMethod(thread_).GetTaggedObject()); in FindConstpool() 112 Method *method = Method::Cast(jsFunction_->GetMethod(thread_).GetTaggedObject()); in FindOrCreateUnsharedConstpool() 130 Method *currMethod = Method::Cast(jsFunction_->GetMethod(thread_).GetTaggedObject()); in GetConstantPoolByMethodOffset() 136 constpool = Method::Cast(calleeFunc->GetMethod(thread_))->GetConstantPool(thread_); in GetConstantPoolByMethodOffset() 193 Method *currMethod = Method::Cast(jsFunction_->GetMethod(thread_).GetTaggedObject()); in GetJsFunctionByMethodOffset() 212 if (Method::Cast(currFunc->GetMethod(thread_))->GetMethodId().GetOffset() != callerOffset) { in GetJsFunctionByMethodOffset() 234 if (Method::Cast(currFunc->GetMethod(thread_))->GetMethodId().GetOffset() != methodOffset) { in GetJsFunctionByMethodOffset()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/function_ops/ |
| D | function_call_ref_test.cpp | 27 void GetMethod(ani_namespace *nsResult, ani_function *fnResult) in GetMethod() function in ark::ets::ani::testing::FunctionCallRefTest 50 GetMethod(&ns, &fn); in TEST_F() 64 GetMethod(&ns, &fn); in TEST_F() 81 GetMethod(&ns, &fn); in TEST_F() 95 GetMethod(&ns, &fn); in TEST_F() 105 GetMethod(&ns, &fn); in TEST_F() 114 GetMethod(&ns, &fn); in TEST_F() 127 GetMethod(&ns, &fn); in TEST_F() 139 GetMethod(&ns, &fn); in TEST_F() 149 GetMethod(&ns, &fn); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | profiling_runner_test.cpp | 68 auto method = runner.GetMethod("foo"); in TEST_F() 82 auto method = runner.GetMethod("foo"); in TEST_F() 98 auto method = runner.GetMethod("foo"); in TEST_F() 111 auto method = runner.GetMethod("foo"); in TEST_F()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | machine_code_test.cpp | 52 JSHandle<Method> method(thread, func->GetMethod(thread)); in HWTEST_F_L0() 66 JSHandle<Method> method(thread, func->GetMethod(thread)); in HWTEST_F_L0() 86 JSHandle<Method> method(thread, func->GetMethod(thread)); in HWTEST_F_L0() 114 JSHandle<Method> method(thread, func->GetMethod(thread)); in HWTEST_F_L0() 142 JSHandle<Method> method(thread, func->GetMethod(thread)); in HWTEST_F_L0() 168 JSHandle<Method> method(thread, func->GetMethod(thread)); in HWTEST_F_L0() 194 JSHandle<Method> method(thread, func->GetMethod(thread)); in HWTEST_F_L0()
|