| /arkcompiler/runtime_core/static_core/runtime/ |
| D | compiler.h | 46 inline panda::Method *MethodCast(RuntimeInterface::MethodPtr method) in MethodCast() 57 RuntimeInterface::MethodPtr GetSingleImplementation(RuntimeInterface::MethodPtr method) override in GetSingleImplementation() 61 bool IsSingleImplementation(RuntimeInterface::MethodPtr method) override in IsSingleImplementation() 126 BinaryFilePtr GetBinaryFileForMethod(MethodPtr method) const override in GetBinaryFileForMethod() 151 compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType() 159 … compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const override in GetMethodTotalArgumentType() 163 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount() 175 size_t GetMethodArgumentsCount(MethodPtr method) const override in GetMethodArgumentsCount() 179 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount() 183 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode() [all …]
|
| D | cha.cpp | 38 for (const auto &method : klass->GetVTable()) { in Update() local 49 auto method = klass->GetVTable()[i]; in Update() local 63 auto method = klass->GetVTable()[i]; in Update() local 73 bool ClassHierarchyAnalysis::HasSingleImplementation(Method *method) in HasSingleImplementation() 79 void ClassHierarchyAnalysis::SetHasSingleImplementation(Method *method, bool singleImplementation) in SetHasSingleImplementation() 85 void ClassHierarchyAnalysis::UpdateMethod(Method *method) in UpdateMethod() 98 for (auto method : methods) { in InvalidateMethods() local 110 void ClassHierarchyAnalysis::InvalidateMethod(Method *method, PandaSet<Method *> *dependentMethods)… in InvalidateMethod()
|
| D | osr.h | 41 void *Get(const Method *method) in Get() 51 void Set(const Method *method, void *ptr) in Set() 61 void Remove(const Method *method) in Remove()
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | runtime_adapter.h | 40 BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const override in GetBinaryFileForMethod() 65 MethodId GetMethodId(MethodPtr method) const override in GetMethodId() 70 compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType() 78 IdType GetMethodReturnTypeId(MethodPtr method) const override in GetMethodReturnTypeId() 86 … compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const override in GetMethodTotalArgumentType() 111 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount() 134 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount() 144 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode() 154 size_t GetMethodCodeSize(MethodPtr method) const override in GetMethodCodeSize() 164 SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage() [all …]
|
| /arkcompiler/runtime_core/static_core/irtoc/backend/ |
| D | irtoc_runtime.h | 33 Function *MethodCast(MethodPtr method) const in MethodCast() 38 std::string GetMethodName(MethodPtr method) const override in GetMethodName() 43 std::string GetExternalMethodName(MethodPtr method, uint32_t externalId) const override in GetExternalMethodName() 48 …std::string GetMethodFullName(MethodPtr method, [[maybe_unused]] bool withSignature) const override in GetMethodFullName() 58 std::string GetClassNameFromMethod([[maybe_unused]] MethodPtr method) const override in GetClassNameFromMethod() 63 compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType() 81 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount() 86 size_t GetMethodArgumentsCount(MethodPtr method) const override in GetMethodArgumentsCount() 122 SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage() 127 … compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const override in GetMethodTotalArgumentType()
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | runtime_interface.h | 74 virtual BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const in GetBinaryFileForMethod() 79 virtual MethodId GetMethodId([[maybe_unused]] MethodPtr method) const in GetMethodId() 85 virtual size_t GetMethodTotalArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodTotalArgumentsCount() 93 virtual size_t GetMethodArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodArgumentsCount() 97 virtual size_t GetMethodRegistersCount([[maybe_unused]] MethodPtr method) const in GetMethodRegistersCount() 101 virtual const uint8_t *GetMethodCode([[maybe_unused]] MethodPtr method) const in GetMethodCode() 105 virtual size_t GetMethodCodeSize([[maybe_unused]] MethodPtr method) const in GetMethodCodeSize() 110 virtual SourceLanguage GetMethodSourceLanguage([[maybe_unused]] MethodPtr method) const in GetMethodSourceLanguage() 115 virtual std::string GetClassNameFromMethod([[maybe_unused]] MethodPtr method) const in GetClassNameFromMethod() 120 virtual ClassPtr GetClass([[maybe_unused]] MethodPtr method) const in GetClass() [all …]
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | runtime_adapter.h | 40 BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const override in GetBinaryFileForMethod() 50 MethodId GetMethodId(MethodPtr method) const override in GetMethodId() 55 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount() 73 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount() 83 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode() 93 size_t GetMethodCodeSize(MethodPtr method) const override in GetMethodCodeSize() 103 compiler::SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage() 115 size_t GetClassIdForMethod(MethodPtr method) const override in GetClassIdForMethod() 122 std::string GetClassNameFromMethod(MethodPtr method) const override in GetClassNameFromMethod() 131 std::string GetMethodName(MethodPtr method) const override in GetMethodName() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/ |
| D | BUILDING.md | 31 ### Update your system 37 ### Install Git 50 ### Clone repositories 59 ### Install required software 80 ### Install third-party libraries
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | runtime_interface.h | 153 virtual BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const in GetBinaryFileForMethod() 176 virtual MethodId GetMethodId([[maybe_unused]] MethodPtr method) const in GetMethodId() 181 virtual uint64_t GetUniqMethodId([[maybe_unused]] MethodPtr method) const in GetUniqMethodId() 201 virtual DataType::Type GetMethodReturnType([[maybe_unused]] MethodPtr method) const in GetMethodReturnType() 206 virtual IdType GetMethodReturnTypeId([[maybe_unused]] MethodPtr method) const in GetMethodReturnTypeId() 211 …virtual IdType GetMethodArgReferenceTypeId([[maybe_unused]] MethodPtr method, [[maybe_unused]] uin… in GetMethodArgReferenceTypeId() 216 virtual void CleanObjectHandles([[maybe_unused]] MethodPtr method) {} in CleanObjectHandles() 219 virtual DataType::Type GetMethodTotalArgumentType([[maybe_unused]] MethodPtr method, in GetMethodTotalArgumentType() 225 virtual size_t GetMethodTotalArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodTotalArgumentsCount() 243 virtual size_t GetMethodArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodArgumentsCount() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_entrypoints.cpp | 40 static inline bool Launch(EtsCoroutine *currentCoro, Method *method, const EtsHandle<EtsPromise> &p… in Launch() 59 void LaunchCoroutine(Method *method, ObjectHeader *obj, uint64_t *args, ObjectHeader *thisObj) in LaunchCoroutine() 86 extern "C" void CreateLaunchStaticCoroutineEntrypoint(Method *method, ObjectHeader *obj, uint64_t *… in CreateLaunchStaticCoroutineEntrypoint() 91 extern "C" void CreateLaunchVirtualCoroutineEntrypoint(Method *method, ObjectHeader *obj, uint64_t … in CreateLaunchVirtualCoroutineEntrypoint() 98 ObjectHeader *LaunchFromInterpreterImpl(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterImpl() 124 extern "C" ObjectHeader *LaunchFromInterpreterShort(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterShort() 129 extern "C" ObjectHeader *LaunchFromInterpreterLong(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterLong() 134 extern "C" ObjectHeader *LaunchFromInterpreterRange(Method *method, Frame *frame, const uint8_t *pc) in LaunchFromInterpreterRange()
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | c2i_bridge_test.cpp | 47 coretypes::TaggedValue LdUndefinedImpl(Method *method) in LdUndefinedImpl() 277 auto method = MakeNoArgsMethod(TypeId::VOID, 0); in TEST_F() local 283 auto method = MakeNoArgsMethod(TypeId::I32, 5L); in TEST_F() local 291 auto method = MakeNoArgsMethod(TypeId::I64, 7L); in TEST_F() local 301 auto method = MakeNoArgsMethod(TypeId::F64, bit_cast<int64_t>(3.0_D)); in TEST_F() local 309 auto method = MakeNoArgsMethod(TypeId::REFERENCE, 0); in TEST_F() local 317 auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I32}, {5L}); in TEST_F() local 325 auto method = MakeCheckArgsMethod({TypeId::I32}, {0, 5L}, true); in TEST_F() local 333 …auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I32, TypeId::I32, TypeId::I32}, {3L, 2L, 1… in TEST_F() local 341 auto method = MakeCheckArgsMethod({TypeId::I32, TypeId::I64}, {7L}); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/ |
| D | server.h | 38 void Call(const char *method, std::function<void(JsonObjectBuilder &)> &¶ms) in Call() 43 void Call(const std::string &sessionId, const char *method) in Call() 48 void Call(const char *method) in Call()
|
| D | server_endpoint-inl.h | 53 void ServerEndpoint<CONFIG>::Call(const std::string &sessionId, const char *method, in Call() 61 const char *method, in OnCall()
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
| D | etsEnumType.h | 106 void SetToStringMethod(Method const &method) noexcept in SetToStringMethod() 112 void SetGetValueMethod(Method const &method) noexcept in SetGetValueMethod() 118 void SetGetNameMethod(Method const &method) noexcept in SetGetNameMethod() 124 void SetValueOfMethod(Method const &method) noexcept in SetValueOfMethod() 130 void SetValuesMethod(Method const &method) noexcept in SetValuesMethod() 136 void SetFromIntMethod(Method const &method) noexcept in SetFromIntMethod()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | compiler_intrinsics.cpp | 43 Field *TryGetField(panda::Method *method, Field *rawField, uint32_t pc, panda::Class *klass) in TryGetField() 64 panda::Method *TryGetCallee(panda::Method *method, Field *rawField, uint32_t pc, panda::Class *klas… in TryGetCallee() 93 T CompilerEtsLdObjByName(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *obj) in CompilerEtsLdObjByName() 173 void CompilerEtsStObjByName(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *ob… in CompilerEtsStObjByName() 262 void CompilerEtsStObjByNameRef(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader … in CompilerEtsStObjByNameRef() 293 extern "C" int32_t CompilerEtsLdObjByNameI32(panda::Method *method, int32_t id, uint32_t pc, panda:… in CompilerEtsLdObjByNameI32() 298 extern "C" int64_t CompilerEtsLdObjByNameI64(panda::Method *method, int32_t id, uint32_t pc, panda:… in CompilerEtsLdObjByNameI64() 303 extern "C" float CompilerEtsLdObjByNameF32(panda::Method *method, int32_t id, uint32_t pc, panda::O… in CompilerEtsLdObjByNameF32() 308 extern "C" double CompilerEtsLdObjByNameF64(panda::Method *method, int32_t id, uint32_t pc, panda::… in CompilerEtsLdObjByNameF64() 313 extern "C" panda::ObjectHeader *CompilerEtsLdObjByNameObj(panda::Method *method, int32_t id, uint32… in CompilerEtsLdObjByNameObj() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/ |
| D | llvm_aot_builder.h | 42 void AddMethodHeader(Method *method, size_t method_index) in AddMethodHeader() 53 void AdjustMethodHeader(const CompiledMethod &method, size_t index) in AdjustMethodHeader() 63 void AdjustMethod(const CompiledMethod &method, size_t index) in AdjustMethod()
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | js_debugger.cpp | 76 void JSDebugger::BytecodePcChanged(JSThread *thread, JSHandle<Method> method, uint32_t bcOffset) in BytecodePcChanged() 103 bool JSDebugger::HandleBreakpoint(JSHandle<Method> method, uint32_t bcOffset) in HandleBreakpoint() 119 bool JSDebugger::HandleDebuggerStmt(JSHandle<Method> method, uint32_t bcOffset) in HandleDebuggerStmt() 141 void JSDebugger::HandleExceptionThrowEvent(const JSThread *thread, JSHandle<Method> method, uint32_… in HandleExceptionThrowEvent() 152 bool JSDebugger::HandleStep(JSHandle<Method> method, uint32_t bcOffset) in HandleStep() 163 std::optional<JSBreakpoint> JSDebugger::FindBreakpoint(JSHandle<Method> method, uint32_t bcOffset) … in FindBreakpoint() 246 void JSDebugger::MethodEntry(JSHandle<Method> method, JSHandle<JSTaggedValue> envHandle) in MethodEntry() 259 void JSDebugger::MethodExit([[maybe_unused]] JSHandle<Method> method) in MethodExit()
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/sampler/ |
| D | stack_walker_base.h | 125 static bool IsMethodInBoundaryFrame(Method *method) in IsMethodInBoundaryFrame() 130 static bool IsMethodInI2CFrame(Method *method) in IsMethodInI2CFrame() 135 static bool IsMethodInC2IFrame(Method *method) in IsMethodInC2IFrame() 140 static bool IsMethodInBPFrame(Method *method) in IsMethodInBPFrame()
|
| /arkcompiler/runtime_core/static_core/runtime/tests/tooling/ |
| D | test_runner.h | 43 void Breakpoint(PtThread thread, Method *method, const PtLocation &location) override in Breakpoint() 64 … void Exception(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *object, in Exception() 72 …void ExceptionCatch(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *obj… in ExceptionCatch() 79 …void PropertyAccess(PtThread thread, Method *method, const PtLocation &location, ObjectHeader *obj… in PropertyAccess() 87 …void PropertyModification(PtThread thread, Method *method, const PtLocation &location, ObjectHeade… in PropertyModification() 95 void FramePop(PtThread thread, Method *method, bool wasPoppedByException) override in FramePop() 116 void MethodEntry(PtThread thread, Method *method) override in MethodEntry() 123 …void MethodExit(PtThread thread, Method *method, bool wasPoppedByException, VRegValue returnValue)… in MethodExit() 130 void SingleStep(PtThread thread, Method *method, const PtLocation &location) override in SingleStep()
|
| /arkcompiler/ets_frontend/es2panda/test/parser/js/ |
| D | test-class-expression.js | 20 method() { method in cls1 30 method() { } method in cls2
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/js/ |
| D | test-class-expression.js | 20 method() { method in cls1 30 method() { } method in cls2
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/ |
| D | interpreter-inl.h | 138 auto method = klass->LookupGetterByName<FIELD_TYPE>(rawField->GetName()); in LookupGetterByName() local 170 auto method = klass->LookupSetterByName<FIELD_TYPE>(rawField->GetName()); in LookupSetterByName() local 214 auto method = LookupGetterByName<panda_file::Type::TypeId::I32>(klass, rawField); in HandleEtsLdobjName() local 256 auto method = LookupGetterByName<panda_file::Type::TypeId::I64>(klass, rawField); in HandleEtsLdobjNameWide() local 300 auto method = LookupGetterByName<panda_file::Type::TypeId::REFERENCE>(klass, rawField); in HandleEtsLdobjNameObj() local 342 auto method = LookupSetterByName<panda_file::Type::TypeId::I32>(klass, rawField); in HandleEtsStobjName() local 384 auto method = LookupSetterByName<panda_file::Type::TypeId::I64>(klass, rawField); in HandleEtsStobjNameWide() local 428 auto method = LookupSetterByName<panda_file::Type::TypeId::REFERENCE>(klass, rawField); in HandleEtsStobjNameObj() local 484 auto *method = ResolveMethod(methodId); in HandleLaunchVirt() local 503 auto *method = ResolveMethod(methodId); in HandleLaunch() local [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/core/ |
| D | core_class_linker_extension.h | 54 const void *GetNativeEntryPointFor([[maybe_unused]] Method *method) const override in GetNativeEntryPointFor() 59 bool CanThrowException([[maybe_unused]] const Method *method) const override in CanThrowException()
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/ |
| D | runtime_interface.h | 44 auto *method = classLinker->GetMethod(caller, resolvedId); in ResolveMethod() local 156 static Value InvokeMethod(ManagedThread *thread, Method *method, Value *args) in InvokeMethod() 161 static uint32_t FindCatchBlock(const Method &method, ObjectHeader *exception, uint32_t pc) in FindCatchBlock() 191 static void ThrowAbstractMethodError(Method *method) in ThrowAbstractMethodError() 196 static void ThrowIncompatibleClassChangeErrorForMethodConflict(Method *method) in ThrowIncompatibleClassChangeErrorForMethodConflict() 232 static Frame *CreateFrame(uint32_t nregs, Method *method, Frame *prev) in CreateFrame() 238 …static Frame *CreateFrameWithActualArgs(uint32_t nregs, uint32_t numActualArgs, Method *method, Fr… in CreateFrameWithActualArgs() 245 Method *method, Frame *prev) in CreateFrameWithActualArgsAndSize() 251 …reateNativeFrameWithActualArgs(uint32_t nregs, uint32_t numActualArgs, Method *method, Frame *prev) in CreateNativeFrameWithActualArgs() 306 static LanguageContext GetLanguageContext(const Method &method) in GetLanguageContext()
|
| /arkcompiler/runtime_core/static_core/runtime/dprofiler/ |
| D | dprofiler.cpp | 53 static PandaString GetFullName(const Method *method) in GetFullName() 76 for (const auto &method : klass->GetMethods()) { in AddClass() local 88 for (const Method *method : hotMethods_) { in Dump() local
|