/arkcompiler/runtime_core/static_core/runtime/entrypoints/ |
H A D | entrypoints.h | 28 extern "C" Frame *CreateFrameWithActualArgsAndSize(uint32_t size, uint32_t nregs, uint32_t numActualArgs, 32 uint32_t numActualArgs, Method *method, 39 extern "C" Frame *CreateFrameForMethodWithActualArgs(uint32_t numActualArgs, Method *method, Frame *prev); 41 extern "C" Frame *CreateFrameForMethodWithActualArgsDyn(uint32_t numActualArgs, Method *method, Frame *prev);
|
H A D | entrypoints.cpp | 529 extern "C" Frame *CreateFrameWithActualArgsAndSize(uint32_t size, uint32_t nregs, uint32_t numActualArgs, in CreateFrameWithActualArgsAndSize() argument 539 return new (Frame::FromExt(mem, extSz)) Frame(mem, method, prev, nregs, numActualArgs); in CreateFrameWithActualArgsAndSize() 542 extern "C" Frame *CreateNativeFrameWithActualArgsAndSize(uint32_t size, uint32_t nregs, uint32_t numActualArgs, in CreateNativeFrameWithActualArgsAndSize() argument 551 return new (Frame::FromExt(mem, extSz)) Frame(mem, method, prev, nregs, numActualArgs); in CreateNativeFrameWithActualArgsAndSize() 561 static Frame *CreateFrameWithActualArgs(uint32_t nregs, uint32_t numActualArgs, Method *method, Frame *prev) in CreateFrameWithActualArgs() argument 564 CreateFrameWithActualArgsAndSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, numActualArgs, method, prev); in CreateFrameWithActualArgs() 588 extern "C" Frame *CreateFrameForMethodWithActualArgs(uint32_t numActualArgs, Method *method, Frame *prev) in CreateFrameForMethodWithActualArgs() argument 590 auto nargs = std::max(numActualArgs, method->GetNumArgs()); in CreateFrameForMethodWithActualArgs() 592 return CreateFrameWithActualArgs<false>(nregs, numActualArgs, method, prev); in CreateFrameForMethodWithActualArgs() 595 extern "C" Frame *CreateFrameForMethodWithActualArgsDyn(uint32_t numActualArgs, Metho argument [all...] |
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | method-inl.h | 50 [[maybe_unused]] uint32_t numActualArgs) in GetFrameSize() 59 uint32_t numActualArgs = argsSpan.Size(); in InitActualArgs() local 60 for (size_t i = 0; i < numActualArgs; ++i) { in InitActualArgs() 75 Frame *prev, uint32_t nregs, uint32_t numActualArgs) in CreateFrame() 77 return interpreter::RuntimeInterface::CreateFrameWithActualArgsAndSize(nregsSize, nregs, numActualArgs, method, in CreateFrame() 87 uint32_t numActualArgs) in GetFrameSize() 89 return numVregs + std::max(numDeclaredArgs, numActualArgs); in GetFrameSize() 98 uint32_t numActualArgs = argsSpan.Size(); in InitActualArgs() local 99 for (size_t i = 0; i < numActualArgs; ++i) { in InitActualArgs() 103 for (size_t i = numActualArgs; in InitActualArgs() 49 GetFrameSize(uint32_t numVregs, uint32_t numDeclaredArgs, [[maybe_unused]] uint32_t numActualArgs) GetFrameSize() argument 74 CreateFrame([[maybe_unused]] ManagedThread *thread, uint32_t nregsSize, Method *method, Frame *prev, uint32_t nregs, uint32_t numActualArgs) CreateFrame() argument 86 GetFrameSize(uint32_t numVregs, uint32_t numDeclaredArgs, uint32_t numActualArgs) GetFrameSize() argument 128 CreateFrame([[maybe_unused]] ManagedThread *thread, uint32_t nregsSize, Method *method, Frame *prev, uint32_t nregs, uint32_t numActualArgs) CreateFrame() argument 210 InvokeInterpretedCode(ManagedThread *thread, uint32_t numActualArgs, ValueT *args) InvokeInterpretedCode() argument 364 InitFrame(ManagedThread *thread, uint32_t numActualArgs, ValueT *args, Frame *currentFrame) InitFrame() argument 373 InitFrameWithNumVRegs(ManagedThread *thread, uint32_t numVregs, uint32_t numActualArgs, ValueT *args, Frame *currentFrame) InitFrameWithNumVRegs() argument 403 InvokeImpl(ManagedThread *thread, uint32_t numActualArgs, ValueT *args, bool proxyCall) InvokeImpl() argument [all...] |
H A D | method.h | 893 ValueT InvokeInterpretedCode(ManagedThread *thread, uint32_t numActualArgs, ValueT *args); 896 PandaUniquePtr<Frame, FrameDeleter> InitFrame(ManagedThread *thread, uint32_t numActualArgs, ValueT *args, 901 uint32_t numActualArgs, ValueT *args, 911 ValueT InvokeImpl(ManagedThread *thread, uint32_t numActualArgs, ValueT *args, bool proxyCall);
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistgetiteratorobj_fuzzer/ |
H A D | containerslistgetiteratorobj_fuzzer.cpp | 54 int32_t numActualArgs = argvLength / testDecodedSize + 1;
in CreateEcmaRuntimeCallInfo() local 59 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 61 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 64 for (int i = numActualArgs; i > 0; i--) {
in CreateEcmaRuntimeCallInfo() 68 *(--newSp) = numActualArgs;
in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistget_fuzzer/ |
H A D | containerslistget_fuzzer.cpp | 54 int32_t numActualArgs = argvLength / testDecodedSize + 1;
in CreateEcmaRuntimeCallInfo() local 59 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 61 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 64 for (int i = numActualArgs; i > 0; i--) {
in CreateEcmaRuntimeCallInfo() 68 *(--newSp) = numActualArgs;
in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistequal_fuzzer/ |
H A D | containerslistequal_fuzzer.cpp | 54 int32_t numActualArgs = argvLength / testDecodedSize + 1;
in CreateEcmaRuntimeCallInfo() local 59 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 61 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 64 for (int i = numActualArgs; i > 0; i--) {
in CreateEcmaRuntimeCallInfo() 68 *(--newSp) = numActualArgs;
in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistlength_fuzzer/ |
H A D | containerslistlength_fuzzer.cpp | 54 int32_t numActualArgs = argvLength / testDecodedSize + 1;
in CreateEcmaRuntimeCallInfo() local 59 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 61 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 64 for (int i = numActualArgs; i > 0; i--) {
in CreateEcmaRuntimeCallInfo() 68 *(--newSp) = numActualArgs;
in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefishashset_fuzzer/ |
H A D | jsvaluerefishashset_fuzzer.cpp | 68 int32_t numActualArgs = argvLength / testDecodedSize + 1; in CreateEcmaRuntimeCallInfo() local 73 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 75 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 78 for (int i = numActualArgs; i > 0; i--) { in CreateEcmaRuntimeCallInfo() 82 *(--newSp) = numActualArgs; in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefishashmap_fuzzer/ |
H A D | jsvaluerefishashmap_fuzzer.cpp | 50 int32_t numActualArgs = argvLength / testDecodedSize + 1; in CreateEcmaRuntimeCallInfo() local 55 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 57 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 60 for (int i = numActualArgs; i > 0; i--) { in CreateEcmaRuntimeCallInfo() 64 *(--newSp) = numActualArgs; in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefislinkedlistiterator_fuzzer/ |
H A D | jsvaluerefislinkedlistiterator_fuzzer.cpp | 74 int32_t numActualArgs = argvLength / testDecodedSize + 1; in CreateEcmaRuntimeCallInfo() local 79 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 81 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 84 for (int i = numActualArgs; i > 0; i--) { in CreateEcmaRuntimeCallInfo() 88 *(--newSp) = numActualArgs; in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefislinkedlist_fuzzer/ |
H A D | jsvaluerefislinkedlist_fuzzer.cpp | 69 int32_t numActualArgs = argvLength / testDecodedSize + 1; in CreateEcmaRuntimeCallInfo() local 74 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 76 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 79 for (int i = numActualArgs; i > 0; i--) { in CreateEcmaRuntimeCallInfo() 83 *(--newSp) = numActualArgs; in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefislist_fuzzer/ |
H A D | jsvaluerefislist_fuzzer.cpp | 69 int32_t numActualArgs = argvLength / testDecodedSize + 1; in CreateEcmaRuntimeCallInfo() local 74 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 76 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 79 for (int i = numActualArgs; i > 0; i--) { in CreateEcmaRuntimeCallInfo() 83 *(--newSp) = numActualArgs; in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisplainarray_fuzzer/ |
H A D | jsvaluerefisplainarray_fuzzer.cpp | 69 int32_t numActualArgs = argvLength / testDecodedSize + 1; in CreateEcmaRuntimeCallInfo() local 74 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 76 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 79 for (int i = numActualArgs; i > 0; i--) { in CreateEcmaRuntimeCallInfo() 83 *(--newSp) = numActualArgs; in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistconverttoarray_fuzzer/ |
H A D | containerslistconverttoarray_fuzzer.cpp | 56 int32_t numActualArgs = argvLength / testDecodedSize + 1;
in CreateEcmaRuntimeCallInfo() local 61 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 63 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 66 for (int i = numActualArgs; i > 0; i--) {
in CreateEcmaRuntimeCallInfo() 70 *(--newSp) = numActualArgs;
in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistgetsublist_fuzzer/ |
H A D | containerslistgetsublist_fuzzer.cpp | 54 int32_t numActualArgs = argvLength / testDecodedSize + 1;
in CreateEcmaRuntimeCallInfo() local 59 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 61 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs;
in CreateEcmaRuntimeCallInfo() 64 for (int i = numActualArgs; i > 0; i--) {
in CreateEcmaRuntimeCallInfo() 68 *(--newSp) = numActualArgs;
in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | test_helper.h | 61 int32_t numActualArgs = argvLength / testDecodedSize + 1; in CreateEcmaRuntimeCallInfo() local 66 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 68 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 71 for (int i = numActualArgs; i > 0; i--) { in CreateEcmaRuntimeCallInfo() 75 *(--newSp) = numActualArgs; in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/runtime_core/static_core/runtime/interpreter/ |
H A D | runtime_interface.h | 238 static Frame *CreateFrameWithActualArgs(uint32_t nregs, uint32_t numActualArgs, Method *method, Frame *prev) in CreateFrameWithActualArgs() argument 240 return ark::CreateFrameWithActualArgsAndSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, numActualArgs, in CreateFrameWithActualArgs() 244 ALWAYS_INLINE static Frame *CreateFrameWithActualArgsAndSize(uint32_t size, uint32_t nregs, uint32_t numActualArgs, in CreateFrameWithActualArgsAndSize() argument 247 return ark::CreateFrameWithActualArgsAndSize(size, nregs, numActualArgs, method, prev); in CreateFrameWithActualArgsAndSize() 251 static Frame *CreateNativeFrameWithActualArgs(uint32_t nregs, uint32_t numActualArgs, Method *method, Frame *prev) in CreateNativeFrameWithActualArgs() argument 254 numActualArgs, method, prev); in CreateNativeFrameWithActualArgs()
|
H A D | frame.h | 107 ALWAYS_INLINE inline Frame(void *ext, Method *method, Frame *prev, uint32_t nregs, uint32_t numActualArgs) in Frame() argument 111 numActualArgs_(numActualArgs), in Frame() 768 Method *method, Frame *prev, uint32_t nregs, uint32_t numActualArgs) in CreateFrame() 778 return new (Frame::FromExt(mem, EXT_SIZE)) Frame(mem, method, prev, nregs, numActualArgs); in CreateFrame() 767 CreateFrame(mem::StackFrameAllocator *stackFrameAllocator, uint32_t nregsSize, Method *method, Frame *prev, uint32_t nregs, uint32_t numActualArgs) CreateFrame() argument
|
H A D | interpreter-inl.h | 87 [[maybe_unused]] uint32_t numActualArgs) in CopyArgumentsDyn() 93 Frame *prev, uint32_t nregs, uint32_t numActualArgs) in CreateFrame() 95 return RuntimeIfaceT::CreateFrameWithActualArgsAndSize(nregsSize, nregs, numActualArgs, method, prev); in CreateFrame() 3222 ALWAYS_INLINE inline void CopyCallArguments(Frame &frame, uint32_t numVregs, uint32_t numActualArgs) in CopyCallArguments() argument 3227 if (numActualArgs == 2) { in CopyCallArguments() 3233 ALWAYS_INLINE inline void CopyRangeArguments(Frame &frame, uint32_t numVregs, uint32_t numActualArgs) in CopyRangeArguments() argument 3243 for (size_t i = 0; i < numActualArgs - SHIFT; i++) { in CopyRangeArguments() 3250 ALWAYS_INLINE inline void CopyArguments(Frame &frame, uint32_t numVregs, [[maybe_unused]] uint32_t numActualArgs, in CopyArguments() argument 3254 FrameHelper::template CopyArgumentsDyn<FORMAT>(this, &frame, numVregs, numActualArgs); in CopyArguments() 3262 CopyRangeArguments<FORMAT, IS_DYNAMIC_T, INITOBJ>(frame, numVregs, numActualArgs); in CopyArguments() 85 CopyArgumentsDyn([[maybe_unused]] InstructionHandler *instrHandler, [[maybe_unused]] Frame *newFrame, [[maybe_unused]] uint32_t numVregs, [[maybe_unused]] uint32_t numActualArgs) CopyArgumentsDyn() argument 92 CreateFrame([[maybe_unused]] ManagedThread *thread, uint32_t nregsSize, Method *method, Frame *prev, uint32_t nregs, uint32_t numActualArgs) CreateFrame() argument 3289 uint32_t numActualArgs; CreateAndSetFrame() local [all...] |
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefislightweightmapandset_fuzzer/ |
H A D | jsvaluerefislightweightmapandset_fuzzer.cpp | 68 int32_t numActualArgs = argvLength / testDecodedSize + 1; in CreateEcmaRuntimeCallInfo() local 73 frameSize = InterpretedEntryFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 75 frameSize = InterpretedFrame::NumOfMembers() + numActualArgs; in CreateEcmaRuntimeCallInfo() 78 for (int i = numActualArgs; i > 0; i--) { in CreateEcmaRuntimeCallInfo() 82 *(--newSp) = numActualArgs; in CreateEcmaRuntimeCallInfo()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | interpreter_assembly.h | 47 static inline void InterpreterFrameCopyArgs(JSTaggedType *newSp, uint32_t numVregs, uint32_t numActualArgs,
|
H A D | interpreter_assembly.cpp | 7858 JSTaggedType *newSp, uint32_t numVregs, uint32_t numActualArgs, uint32_t numDeclaredArgs, bool haveExtraArgs) 7865 for (i = numActualArgs; i < numDeclaredArgs; i++) { 7871 newSp[numVregs + i] = JSTaggedValue(numActualArgs).GetRawData(); // numActualArgs is stored at the end
|
/arkcompiler/runtime_core/static_core/runtime/tests/interpreter/ |
H A D | test_runtime_interface.h | 409 static Frame *CreateFrameWithActualArgsAndSize(uint32_t size, uint32_t nregs, uint32_t numActualArgs, in CreateFrameWithActualArgsAndSize() argument 419 return new (Frame::FromExt(mem, extSz)) ark::Frame(mem, method, prev, nregs, numActualArgs); in CreateFrameWithActualArgsAndSize()
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | stack_walker.cpp | 530 auto numActualArgs = method->GetNumArgs(); in GetFrameFromPrevFrame() local 535 size_t frameNumVregs = method->GetNumVregs() + numActualArgs; in GetFrameFromPrevFrame() 536 frame = interpreter::RuntimeInterface::CreateFrameWithActualArgs<true>(frameNumVregs, numActualArgs, method, in GetFrameFromPrevFrame()
|