Home
last modified time | relevance | path

Searched refs:parentMethod (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/
H A Dcha.cpp50 auto parentMethod = parent->GetVTable()[i]; in Update() local
51 if (method == parentMethod || method->IsDefaultInterfaceMethod()) { in Update()
55 if (HasSingleImplementation(parentMethod)) { in Update()
56 EVENT_CHA_INVALIDATE(std::string(parentMethod->GetFullName()), klass->GetName()); in Update()
57 invalidatedMethods.insert(parentMethod); in Update()
H A Dcompiler.cpp64 compiler::RuntimeInterface::MethodId PandaRuntimeInterface::ResolveMethodIndex(MethodPtr parentMethod, in ResolveMethodIndex() argument
67 return MethodCast(parentMethod)->GetClass()->ResolveMethodIndex(index).GetOffset(); in ResolveMethodIndex()
70 compiler::RuntimeInterface::FieldId PandaRuntimeInterface::ResolveFieldIndex(MethodPtr parentMethod, in ResolveFieldIndex() argument
73 return MethodCast(parentMethod)->GetClass()->ResolveFieldIndex(index).GetOffset(); in ResolveFieldIndex()
76 compiler::RuntimeInterface::IdType PandaRuntimeInterface::ResolveTypeIndex(MethodPtr parentMethod, in ResolveTypeIndex() argument
79 return MethodCast(parentMethod)->GetClass()->ResolveClassIndex(index).GetOffset(); in ResolveTypeIndex()
82 compiler::RuntimeInterface::MethodPtr PandaRuntimeInterface::GetMethodById(MethodPtr parentMethod, MethodId id) const in GetMethodById() argument
84 return GetMethod(parentMethod, id); in GetMethodById()
262 bool PandaRuntimeInterface::IsInterfaceMethod(MethodPtr parentMethod, MethodId id) const in IsInterfaceMethod() argument
265 auto *method = GetMethod(parentMethod, i in IsInterfaceMethod()
295 IsMethodExternal(MethodPtr parentMethod, MethodPtr calleeMethod) const IsMethodExternal() argument
303 GetMethodReturnType(MethodPtr parentMethod, MethodId id) const GetMethodReturnType() argument
311 GetMethodArgumentType(MethodPtr parentMethod, MethodId id, size_t index) const GetMethodArgumentType() argument
320 GetMethodArgumentsCount(MethodPtr parentMethod, MethodId id) const GetMethodArgumentsCount() argument
328 IsMethodStatic(MethodPtr parentMethod, MethodId id) const IsMethodStatic() argument
362 IsMethodIntrinsic(MethodPtr parentMethod, MethodId id) const IsMethodIntrinsic() argument
623 GetFieldTypeById(MethodPtr parentMethod, IdType id) const GetFieldTypeById() argument
[all...]
H A Dcompiler.h131 MethodId ResolveMethodIndex(MethodPtr parentMethod, MethodIndex index) const override;
133 FieldId ResolveFieldIndex(MethodPtr parentMethod, FieldIndex index) const override;
135 IdType ResolveTypeIndex(MethodPtr parentMethod, TypeIndex index) const override;
139 MethodPtr GetMethodById(MethodPtr parentMethod, MethodId id) const override;
170 compiler::DataType::Type GetMethodReturnType(MethodPtr parentMethod, MethodId id) const override;
172 compiler::DataType::Type GetMethodArgumentType(MethodPtr parentMethod, MethodId id, size_t index) const override;
174 size_t GetMethodArgumentsCount(MethodPtr parentMethod, MethodId id) const override;
255 uint32_t GetClassIdForMethod(MethodPtr parentMethod, size_t methodId) const override
257 auto mda = panda_file::MethodDataAccessor(*MethodCast(parentMethod)->GetPandaFile(),
263 bool IsMethodExternal(MethodPtr parentMethod, MethodPt
[all...]
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
H A Druntime_adapter.h45 MethodId ResolveMethodIndex(MethodPtr parentMethod, MethodIndex index) const override
47 return pandaFile_.ResolveMethodIndex(MethodCast(parentMethod), index).GetOffset();
50 FieldId ResolveFieldIndex(MethodPtr parentMethod, FieldIndex index) const override
52 return pandaFile_.ResolveFieldIndex(MethodCast(parentMethod), index).GetOffset();
55 IdType ResolveTypeIndex(MethodPtr parentMethod, TypeIndex index) const override
57 return pandaFile_.ResolveClassIndex(MethodCast(parentMethod), index).GetOffset();
322 compiler::DataType::Type GetFieldTypeById([[maybe_unused]] MethodPtr parentMethod, IdType id) const override
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Druntime_interface.h130 virtual MethodId ResolveMethodIndex([[maybe_unused]] MethodPtr parentMethod, in ResolveMethodIndex() argument
136 virtual FieldId ResolveFieldIndex([[maybe_unused]] MethodPtr parentMethod, [[maybe_unused]] FieldIndex index) const in ResolveFieldIndex() argument
141 virtual IdType ResolveTypeIndex([[maybe_unused]] MethodPtr parentMethod, [[maybe_unused]] TypeIndex index) const in ResolveTypeIndex() argument
164 virtual MethodPtr GetMethodById([[maybe_unused]] MethodPtr parentMethod, [[maybe_unused]] MethodId id) const in GetMethodById() argument
169 virtual MethodPtr GetMethodByIdAndSaveJsFunction([[maybe_unused]] MethodPtr parentMethod, in GetMethodByIdAndSaveJsFunction() argument
228 virtual DataType::Type GetMethodReturnType([[maybe_unused]] MethodPtr parentMethod, in GetMethodReturnType() argument
233 virtual DataType::Type GetMethodArgumentType([[maybe_unused]] MethodPtr parentMethod, [[maybe_unused]] MethodId id, in GetMethodArgumentType() argument
238 virtual size_t GetMethodArgumentsCount([[maybe_unused]] MethodPtr parentMethod, [[maybe_unused]] MethodId id) const in GetMethodArgumentsCount() argument
312 virtual bool IsMethodIntrinsic([[maybe_unused]] MethodPtr parentMethod, [[maybe_unused]] MethodId id) const in IsMethodIntrinsic() argument
323 virtual bool IsMethodStatic([[maybe_unused]] MethodPtr parentMethod, [[maybe_unuse argument
545 IsInterfaceMethod([[maybe_unused]] MethodPtr parentMethod, [[maybe_unused]] MethodId id) const IsInterfaceMethod() argument
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_TypeCreator.cpp340 auto parentMethod = CreateCopiedMethod(ctx, parentMethodClassName.GetName() + ".", meth); in TypeAPITypeCreatorCtxMethodAddBodyFromMethod() local
341 parentMethod.GetFn().metadata->SetAttribute(typeapi_create_consts::ATTR_EXTERNAL); in TypeAPITypeCreatorCtxMethodAddBodyFromMethod()
342 parentMethod.Create(); in TypeAPITypeCreatorCtxMethodAddBodyFromMethod()
344 m->GetFn().AddInstruction(pandasm::Create_CALL_RANGE(0, parentMethod.GetFunctionName())); in TypeAPITypeCreatorCtxMethodAddBodyFromMethod()

Completed in 9 milliseconds