Home
last modified time | relevance | path

Searched defs:frame (Results 1 – 25 of 79) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.cpp62 auto frame = it.GetFrame<AsmInterpretedFrame>(); in PrevJSFrame() local
81 auto *frame = AsmInterpretedFrame::GetFrameFromSp(sp_); in GetNumberArgs() local
88 auto *frame = it.GetFrame<AsmInterpretedFrame>(); in GetNumberArgs() local
91 auto *frame = it.GetFrame<InterpretedFrame>(); in GetNumberArgs() local
115 auto *frame = it.GetFrame<BaselineBuiltinFrame>(); in FindAndSetBaselineNativePc() local
124 auto *frame = it.GetFrame<AsmInterpretedFrame>(); in GetAcc() local
127 auto *frame = it.GetFrame<InterpretedFrame>(); in GetAcc() local
205 auto *frame = it.GetFrame<AsmInterpretedFrame>(); in GetThis() local
208 auto *frame = it.GetFrame<InterpretedFrame>(); in GetThis() local
221 auto frame = AsmInterpretedFrame::GetFrameFromSp(sp_); in GetFunction() local
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dframes.cpp31 auto frame = GetFrame<BaselineBuiltinFrame>(); in FrameIterator() local
59 auto frame = GetFrame<OptimizedJSFunctionFrame>(); in GetFunction() local
64 auto frame = GetFrame<AsmInterpretedFrame>(); in GetFunction() local
69 auto frame = GetFrame<InterpretedFrame>(); in GetFunction() local
73 auto frame = GetFrame<InterpretedBuiltinFrame>(); in GetFunction() local
77 auto *frame = BuiltinWithArgvFrame::GetFrameFromSp(GetSp()); in GetFunction() local
82 auto *frame = BuiltinFrame::GetFrameFromSp(GetSp()); in GetFunction() local
86 auto *frame = OptimizedBuiltinLeaveFrame::GetFrameFromSp(GetSp()); in GetFunction() local
91 auto frame = FASTJITFunctionFrame::GetFrameFromSp(GetSp()); in GetFunction() local
149 auto frame = GetFrame<OptimizedFrame>(); in Advance() local
[all …]
/arkcompiler/runtime_core/static_core/runtime/interpreter/
Dstate.h32 ALWAYS_INLINE inline explicit StateIface(Frame *frame) : acc_(frame->GetAcc()) {} in StateIface()
49 ALWAYS_INLINE inline void SetFrame(Frame *frame) in SetFrame()
92 …ALWAYS_INLINE inline State(ManagedThread *thread, const uint8_t *pc, Frame *frame, const void *con… in State()
101 ALWAYS_INLINE inline void UpdateState(const uint8_t *pc, Frame *frame) in UpdateState()
122 ALWAYS_INLINE inline void SetFrame(Frame *frame) in SetFrame()
179 …ALWAYS_INLINE inline State(ManagedThread *thread, const uint8_t *pc, Frame *frame, const void *con… in State()
188 ALWAYS_INLINE inline void UpdateState(const uint8_t *pc, Frame *frame) in UpdateState()
209 ALWAYS_INLINE inline void SetFrame(Frame *frame) in SetFrame()
Dvregister_iterator.h24 …explicit VRegisterIterator(BytecodeInstruction insn, Frame *frame) : instn_(std::move(insn)), fram… in VRegisterIterator()
79 …explicit DimIterator(BytecodeInstruction insn, Frame *frame) : VRegisterIterator<FORMAT>(std::move… in DimIterator()
Dinterpreter_impl.cpp37 …teImplType(InterpreterType interpreterType, ManagedThread *thread, const uint8_t *pc, Frame *frame, in ExecuteImplType()
77 void ExecuteImpl(ManagedThread *thread, const uint8_t *pc, Frame *frame, bool jumpToEh) in ExecuteImpl()
134 auto frame = GetFrame(); in DebugDump() local
Dinstruction_handler_state.h27 ALWAYS_INLINE InstructionHandlerState(ManagedThread *thread, const uint8_t *pc, Frame *frame, in InstructionHandlerState()
33 ALWAYS_INLINE void UpdateInstructionHandlerState(const uint8_t *pc, Frame *frame) in UpdateInstructionHandlerState()
58 ALWAYS_INLINE void SetFrame(Frame *frame) in SetFrame()
Dinstruction_handler_base.h35 ALWAYS_INLINE inline explicit StaticFrameHandlerT(Frame *frame) : StaticFrameHandler(frame) {} in StaticFrameHandlerT()
51 ALWAYS_INLINE inline explicit DynamicFrameHandlerT(Frame *frame) : DynamicFrameHandler(frame) {} in DynamicFrameHandlerT()
188 …LINE typename std::enable_if<IS_DYNAMIC_T, DynamicFrameHandler>::type GetFrameHandler(Frame *frame) in GetFrameHandler()
194 …LINE typename std::enable_if<!IS_DYNAMIC_T, StaticFrameHandler>::type GetFrameHandler(Frame *frame) in GetFrameHandler()
204 ALWAYS_INLINE void SetFrame(Frame *frame) in SetFrame()
Dinterpreter.cpp27 void Execute(ManagedThread *thread, const uint8_t *pc, Frame *frame, bool jumpToEh) in Execute()
Dframe.h120 ALWAYS_INLINE static void *ToExt(Frame *frame, size_t extSz) in ToExt()
430 ALWAYS_INLINE inline explicit FrameHandler(Frame *frame) : frame_(frame) {} in FrameHandler()
634 ALWAYS_INLINE inline explicit StaticFrameHandler(Frame *frame) : FrameHandler(frame) {} in StaticFrameHandler()
657 ALWAYS_INLINE inline explicit DynamicFrameHandler(Frame *frame) : FrameHandler(frame) {} in DynamicFrameHandler()
672 …inline typename std::enable_if<IS_DYNAMIC, DynamicFrameHandler>::type GetFrameHandler(Frame *frame) in GetFrameHandler()
678 …inline typename std::enable_if<!IS_DYNAMIC, StaticFrameHandler>::type GetFrameHandler(Frame *frame) in GetFrameHandler()
781 ALWAYS_INLINE inline void DestroyFrame(mem::StackFrameAllocator *stackFrameAllocator, Frame *frame) in DestroyFrame()
/arkcompiler/runtime_core/static_core/runtime/arch/
Dasm_support.cpp54 extern "C" void OsrEntryAfterCFrame([[maybe_unused]] Frame *frame, [[maybe_unused]] uintptr_t loopH… in OsrEntryAfterCFrame()
59 extern "C" void OsrEntryAfterIFrame([[maybe_unused]] Frame *frame, [[maybe_unused]] uintptr_t loopH… in OsrEntryAfterIFrame()
64 extern "C" void OsrEntryTopFrame([[maybe_unused]] Frame *frame, [[maybe_unused]] uintptr_t loopHead… in OsrEntryTopFrame()
/arkcompiler/runtime_core/static_core/runtime/tests/
Di2c_bridge_test.cpp147 Frame *frame = CreateFrame(0, nullptr, nullptr); in TEST_F() local
176 Frame *frame = CreateFrame(1, nullptr, nullptr); in TEST_F() local
213 Frame *frame = CreateFrame(0, nullptr, nullptr); in TEST_F() local
248 Frame *frame = CreateFrame(0, nullptr, nullptr); in TEST_F() local
283 Frame *frame = CreateFrame(0, nullptr, nullptr); in TEST_F() local
311 Frame *frame = CreateFrame(0, nullptr, nullptr); in TEST_F() local
339 Frame *frame = CreateFrame(0, nullptr, nullptr); in TEST_F() local
367 Frame *frame = CreateFrame(0, nullptr, nullptr); in TEST_F() local
395 Frame *frame = CreateFrame(0, nullptr, nullptr); in TEST_F() local
423 Frame *frame = CreateFrame(0, nullptr, nullptr); in TEST_F() local
[all …]
Ddebugger_test.cpp75 static void FreeFrame(Frame *frame) in FreeFrame()
86 static void SetVRegs(Frame *frame, std::vector<VRegValue> &regs) in SetVRegs()
106 static void CheckFrame(Frame *frame, std::vector<VRegValue> &regs, const MethodInfo &methodInfo) in CheckFrame()
203 ark::Frame *frame = test::CreateFrame(nregs + nargs, &method, nullptr); in TEST_F() local
/arkcompiler/runtime_core/static_core/runtime/
Dosr.cpp41 void WriteOsrEventError(Frame *frame, FrameKind kind, uintptr_t loopHeadBc) in WriteOsrEventError()
66 Frame *frame = stack.GetIFrame(); in OsrEntry() local
191 extern "C" void SetOsrResult(Frame *frame, uint64_t uval, double fval) in SetOsrResult()
236 static size_t GetStackParamsSize(const Frame *frame) in GetStackParamsSize()
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/
Dbaseline_stubs-inl.h28 void BaselineStubBuilder::SetEnvToFrame(GateRef glue, GateRef frame, GateRef value) in SetEnvToFrame()
59 GateRef frame = GetFrame(sp); in CheckException() local
78 GateRef frame = GetFrame(sp); in CheckExceptionReturn() local
156 GateRef BaselineStubBuilder::GetFunctionFromFrame(GateRef frame) in GetFunctionFromFrame()
162 GateRef BaselineStubBuilder::GetEnvFromFrame(GateRef frame) in GetEnvFromFrame()
168 GateRef BaselineStubBuilder::GetAccFromFrame(GateRef frame) in GetAccFromFrame()
217 GateRef BaselineStubBuilder::GetPcFromFrame(GateRef frame) in GetPcFromFrame()
223 GateRef BaselineStubBuilder::GetCallSizeFromFrame(GateRef frame) in GetCallSizeFromFrame()
229 GateRef BaselineStubBuilder::GetThisFromFrame(GateRef frame) in GetThisFromFrame()
Dbaseline_stub_builder.h38 inline void SetEnvToFrame(GateRef glue, GateRef frame, GateRef value) in SetEnvToFrame()
137 inline GateRef GetFunctionFromFrame(GateRef frame) in GetFunctionFromFrame()
143 inline GateRef GetEnvFromFrame(GateRef frame) in GetEnvFromFrame()
149 inline GateRef GetAccFromFrame(GateRef frame) in GetAccFromFrame()
188 inline GateRef GetPcFromFrame(GateRef frame) in GetPcFromFrame()
194 inline GateRef GetCallSizeFromFrame(GateRef frame) in GetCallSizeFromFrame()
200 inline GateRef GetThisFromFrame(GateRef frame) in GetThisFromFrame()
/arkcompiler/runtime_core/docs/
Druntime-compiled_code-interaction.md86 ### Interpreter stack frame
90 ### Compiled code stack frame
/arkcompiler/runtime_core/static_core/docs/
Druntime-compiled_code-interaction.md92 ### Interpreter stack frame
96 ### Compiled code stack frame
/arkcompiler/runtime_core/static_core/runtime/tests/interpreter/
Dtest_interpreter.cpp23 void Execute(ManagedThread *thread, const uint8_t *pc, Frame *frame) in Execute()
Dtest_interpreter_impl.cpp24 void ExecuteImpl(ManagedThread *thread, const uint8_t *pc, Frame *frame) in ExecuteImpl()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dcodegen_native.cpp24 auto frame = GetGraph()->GetLocalAllocator()->New<FrameInfo>( in CreateFrameInfo() local
/arkcompiler/runtime_core/static_core/irtoc/backend/compiler/
Dcodegen_boundary.cpp53 auto frame = GetFrameInfo(); in GeneratePrologue() local
101 auto frame = GetGraph()->GetLocalAllocator()->New<FrameInfo>( in CreateFrameInfo() local
164 auto frame = GetFrameInfo(); in RemoveBoundaryFrame() local
Dcodegen_interpreter.h41 auto frame = GetGraph()->GetLocalAllocator()->New<FrameInfo>( in CreateFrameInfo() local
/arkcompiler/runtime_core/static_core/runtime/include/
Dmethod-inl.h55 …ALWAYS_INLINE inline static void InitActualArgs(Frame *frame, Span<Value> argsSpan, uint32_t numVr… in InitActualArgs()
69 …NLINE inline static void InterpreterExecute(ManagedThread *thread, const uint8_t *pc, Frame *frame) in InterpreterExecute()
92 …ALWAYS_INLINE inline static void InitActualArgs(Frame *frame, Span<coretypes::TaggedValue> argsSpa… in InitActualArgs()
108 …NLINE inline static void InterpreterExecute(ManagedThread *thread, const uint8_t *pc, Frame *frame) in InterpreterExecute()
214 …PandaUniquePtr<Frame, FrameDeleter> frame = InitFrame<InvokeHelper>(thread, numActualArgs, args, c… in InvokeInterpretedCode() local
230 void Method::InvokeEntry(ManagedThread *thread, Frame *currentFrame, Frame *frame, const uint8_t *p… in InvokeEntry()
341 PandaUniquePtr<Frame, FrameDeleter> frame = in EnterNativeMethodFrame() local
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddebugger.cpp164 ark::Frame *frame = nullptr; in GetPandaFrame() local
186 static interpreter::StaticVRegisterRef GetThisAddrVRegByPandaFrame(ark::Frame *frame) in GetThisAddrVRegByPandaFrame()
194 static interpreter::DynamicVRegisterRef GetThisAddrVRegByPandaFrameDyn(ark::Frame *frame) in GetThisAddrVRegByPandaFrameDyn()
218 ark::Frame *frame = GetPandaFrame(&stack, frameDepth, nullptr); in GetPandaFrameByPtThread() local
231 Expected<interpreter::StaticVRegisterRef, Error> Debugger::GetVRegByPandaFrame(ark::Frame *frame, in GetVRegByPandaFrame()
246 …pected<interpreter::DynamicVRegisterRef, Error> Debugger::GetVRegByPandaFrameDyn(ark::Frame *frame, in GetVRegByPandaFrameDyn()
298 Frame *frame = ret.Value(); in GetThisVariableByFrame() local
323 Frame *frame = ret.Value(); in GetVariable() local
399 Frame *frame = stack.IsCFrame() ? nullptr : stack.GetIFrame(); in EnumerateFrames() local
524 ark::Frame *frame = stack.GetIFrame(); in RestartFrame() local
[all …]
/arkcompiler/runtime_core/compiler/tests/x86/
Dasmjit_test.cpp68 FuncFrame frame; in TEST_F() local
110 FuncFrame frame; in TEST_F() local

1234