| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
| D | ets_method_test.cpp | 108 EtsMethod *fooMethod = klass->GetMethod("foo"); in TEST_F() 110 EtsMethod *gooMethod = klass->GetMethod("goo"); in TEST_F() 112 EtsMethod *sumMethod = klass->GetMethod("sum"); in TEST_F() 146 EtsMethod *foo1Method = klass->GetMethod("foo1"); in TEST_F() 148 EtsMethod *foo2Method = klass->GetMethod("foo2"); in TEST_F() 150 EtsMethod *foo3Method = klass->GetMethod("foo3"); in TEST_F() 180 EtsMethod *fooMethod = klass->GetMethod("foo"); in TEST_F() 223 currentMethod = klass->GetMethod((fooName + std::to_string(i)).data()); in TEST_F() 255 EtsMethod *foo1Method = klass->GetMethod("foo1"); in TEST_F() 257 EtsMethod *foo2Method = klass->GetMethod("foo2"); in TEST_F() [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() 54 method_ = GetRuntime()->GetMethodById(Builder()->GetMethod(), methodId_); in BuildCallHelper() 161 … TypeIdMixin {classId, GetGraph()->GetMethod()}, in BuildInitClassInstForCallStatic() 172 …if (method_ == nullptr || (GetRuntime()->IsMethodStatic(GetMethod(), methodId_) && classId == 0) || in BuildCallStaticInst() 181 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/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 | 41 static EtsMethodWrapper *GetMethod(InteropCtx *ctx, EtsMethodSet *etsMethodSet); 58 return etsMethodSet_->GetMethod(parametersNum); in GetEtsMethod() 61 Method *GetMethod(uint32_t parametersNum) const in GetMethod() function 63 EtsMethod *const etsMethod = etsMethodSet_->GetMethod(parametersNum); in GetMethod() 76 EtsMethodWrapper *wrapper = EtsMethodWrapper::GetMethod(ctx, lazyLink.GetUnresolved()); in ResolveLazyLink()
|
| /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() 218 …EVENT_METHOD_EXIT(last_iframe->GetMethod()->GetFullName() + "(deopt)", events::MethodExitKind::INL… in InvalidateCompiledEntryPoint() 224 …EVENT_METHOD_EXIT(last_iframe->GetMethod()->GetFullName() + "(deopt)", events::MethodExitKind::COM… in InvalidateCompiledEntryPoint() [all …]
|
| 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 | 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 ctx.GetMethod()->AtomicSetCompilationStatus(Method::WAITING, in UpdateQueue()
|
| 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/toolchain/tooling/agent/ |
| 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()
|
| 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()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | jit_compilation_env.cpp | 28 Method *method = Method::Cast(jsFunction->GetMethod().GetTaggedObject()); in JitCompilationEnv() 73 Method *method = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in FindConstpool() 85 Method *method = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in FindConstpool() 106 Method *method = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in FindOrCreateUnsharedConstpool() 124 Method *currMethod = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in GetConstantPoolByMethodOffset() 130 constpool = Method::Cast(calleeFunc->GetMethod())->GetConstantPool(); in GetConstantPoolByMethodOffset() 187 Method *currMethod = Method::Cast(jsFunction_->GetMethod().GetTaggedObject()); in GetJsFunctionByMethodOffset() 206 if (Method::Cast(currFunc->GetMethod())->GetMethodId().GetOffset() != callerOffset) { in GetJsFunctionByMethodOffset() 228 if (Method::Cast(currFunc->GetMethod())->GetMethodId().GetOffset() != methodOffset) { in GetJsFunctionByMethodOffset()
|
| /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()
|
| D | ir_builder.cpp | 24 … << GetGraph()->GetRuntime()->GetClassNameFromMethod(GetMethod()) << "." in RunImpl() 25 << GetGraph()->GetRuntime()->GetMethodName(GetMethod()) in RunImpl() 26 … << "(args=" << GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()) in RunImpl() 27 … << ", regs=" << GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) in RunImpl() 30 auto instructions_buf = GetGraph()->GetRuntime()->GetMethodCode(GetMethod()); in RunImpl() 31 …tions pbc_instructions(instructions_buf, GetGraph()->GetRuntime()->GetMethodCodeSize(GetMethod())); in RunImpl() 32 size_t vregs_count = GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) + in RunImpl() 33 GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()) + 1; in RunImpl() 42 InstBuilder inst_builder(GetGraph(), GetMethod()); in RunImpl() 93 …e = static_cast<panda_file::File *>(GetGraph()->GetRuntime()->GetBinaryFileForMethod(GetMethod())); in CheckMethodLimitations() [all …]
|
| /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/tests/ |
| D | machine_code_test.cpp | 52 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() 67 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() 88 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() 117 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() 146 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() 172 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0() 198 JSHandle<Method> method(thread, func->GetMethod()); in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/ |
| D | ets_inst_builder.cpp | 38 …:REFERENCE, pc, TypeIdMixin {TypeIdMixin::MEM_PROMISE_CLASS_ID, GetGraph()->GetMethod()}, nullptr); in BuildLaunch() 89 auto fieldId = runtime->ResolveFieldIndex(GetMethod(), fieldIndex); in BuildLdObjByName() 91 type = runtime->GetFieldTypeById(GetMethod(), fieldId); in BuildLdObjByName() 118 intrinsic->SetMethod(GetMethod()); in BuildLdObjByName() 185 auto fieldId = runtime->ResolveFieldIndex(GetMethod(), fieldIndex); in BuildStObjByName() 187 type = runtime->GetFieldTypeById(GetMethod(), fieldId); in BuildStObjByName() 216 intrinsic->SetMethod(GetMethod()); in BuildStObjByName()
|