Home
last modified time | relevance | path

Searched refs:IS_DYNAMIC (Results 1 - 21 of 21) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/interpreter/
H A Dacc_vregister-inl.h71 template <bool IS_DYNAMIC>
72 class AccVRegisterTRef : public VRegisterRef<AccVRegisterTRef<IS_DYNAMIC>, AccVRegisterT> {
75 : VRegisterRef<AccVRegisterTRef<IS_DYNAMIC>, AccVRegisterT>(payload) in AccVRegisterTRef()
114 if constexpr (IS_DYNAMIC) { in HasObject()
125 if constexpr (!IS_DYNAMIC) { in MovePrimitive()
134 if constexpr (!IS_DYNAMIC) { in MoveReference()
142 if constexpr (!IS_DYNAMIC) { in Move()
150 if constexpr (!IS_DYNAMIC) { in SetPrimitive()
158 if constexpr (!IS_DYNAMIC) { in SetPrimitive()
166 if constexpr (!IS_DYNAMIC) { in SetPrimitive()
[all...]
H A Dacc_vregister.h51 template <bool IS_DYNAMIC = false>
52 ALWAYS_INLINE inline typename std::enable_if<IS_DYNAMIC, DynamicVRegisterRef>::type AsVRegRef() in AsVRegRef()
57 template <bool IS_DYNAMIC = false>
58 ALWAYS_INLINE inline typename std::enable_if<!IS_DYNAMIC, StaticVRegisterRef>::type AsVRegRef() in AsVRegRef()
H A Dinstruction_handler_base.h67 template <class RuntimeIfaceT, bool IS_DYNAMIC>
103 << GetAccAsVReg<IS_DYNAMIC>().DumpVReg(); in DumpVRegs()
149 template <bool IS_DYNAMIC_T = IS_DYNAMIC>
155 template <bool IS_DYNAMIC_T = IS_DYNAMIC>
161 template <bool IS_DYNAMIC_T = IS_DYNAMIC>
175 template <bool IS_DYNAMIC_T = IS_DYNAMIC>
181 template <bool IS_DYNAMIC_T = IS_DYNAMIC>
187 template <bool IS_DYNAMIC_T = IS_DYNAMIC>
193 template <bool IS_DYNAMIC_T = IS_DYNAMIC>
H A Dframe.h93 static constexpr size_t IS_DYNAMIC = 128U; member in ark::Frame
320 return (flags_ & IS_DYNAMIC) != 0; in IsDynamic()
325 flags_ = flags_ | IS_DYNAMIC; in SetDynamic()
328 template <bool IS_DYNAMIC = false>
329 ALWAYS_INLINE inline typename std::enable_if<IS_DYNAMIC, interpreter::DynamicVRegisterRef>::type GetAccAsVReg() in GetAccAsVReg()
334 template <bool IS_DYNAMIC = false>
335 ALWAYS_INLINE inline typename std::enable_if<!IS_DYNAMIC, interpreter::StaticVRegisterRef>::type GetAccAsVReg() in GetAccAsVReg()
340 template <bool IS_DYNAMIC = false>
344 if constexpr (IS_DYNAMIC) { in GetActualSize()
671 template <bool IS_DYNAMIC
[all...]
H A Druntime_interface.h231 template <bool IS_DYNAMIC = false>
234 return ark::CreateFrameWithSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, method, prev); in CreateFrame()
237 template <bool IS_DYNAMIC = false>
240 return ark::CreateFrameWithActualArgsAndSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, numActualArgs, in CreateFrameWithActualArgs()
250 template <bool IS_DYNAMIC = false>
253 return ark::CreateNativeFrameWithActualArgsAndSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, in CreateNativeFrameWithActualArgs()
H A Dinterpreter_impl.cpp130 template <class RuntimeIfaceT, bool IS_DYNAMIC>
131 void InstructionHandlerBase<RuntimeIfaceT, IS_DYNAMIC>::DebugDump() in DebugDump()
142 std::cerr << pad << "acc." << GetAccAsVReg<IS_DYNAMIC>().DumpVReg() << std::endl; in DebugDump()
H A Dvregister_iterator.h75 template <BytecodeInstruction::Format FORMAT, bool IS_DYNAMIC>
H A Dinterpreter-inl.h67 template <class RuntimeIfaceT, bool IS_DYNAMIC, bool IS_PROFILE_ENABLED = false>
69 template <class RuntimeIfaceT, bool IS_DYNAMIC, bool IS_PROFILE_ENABLED = false>
72 template <class RuntimeIfaceT, bool IS_DYNAMIC, bool IS_PROFILE_ENABLED = false>
99 template <class RuntimeIfaceT, bool IS_DYNAMIC, bool IS_DEBUG, bool IS_PROFILE_ENABLED = false>
100 class InstructionHandler : public InstructionHandlerBase<RuntimeIfaceT, IS_DYNAMIC> {
103 : InstructionHandlerBase<RuntimeIfaceT, IS_DYNAMIC>(state) in InstructionHandler()
2424 if constexpr (!IS_DYNAMIC) { // delegated to dynamic return in HandleReturnStackless()
3308 *frame = FrameHelper::template CreateFrame<RuntimeIfaceT>(current, Frame::GetActualSize<IS_DYNAMIC>(nregs), in CreateAndSetFrame()
3799 template <class RuntimeIfaceT, bool IS_DYNAMIC, bool IS_PROFILE_ENABLED>
3802 void *impl = reinterpret_cast<void *>(&ExecuteImpl<RuntimeIfaceT, IS_DYNAMIC, IS_PROFILE_ENABLE in ExecuteImplInner()
[all...]
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dframe_test.cpp53 template <bool IS_DYNAMIC = false>
57 void *mem = aligned_alloc(8, ark::Frame::GetAllocSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), extSz)); in CreateFrame()
H A Ddebugger_test.cpp67 template <bool IS_DYNAMIC = false>
71 void *mem = aligned_alloc(8, Frame::GetAllocSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), extSz)); in CreateFrame()
H A Dmethod_test.cpp115 template <bool IS_DYNAMIC = false>
118 return ark::CreateFrameWithSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, method, prev); in CreateFrame()
H A Di2c_bridge_test.cpp136 template <bool IS_DYNAMIC = false>
139 return ark::CreateFrameWithSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, method, prev); in CreateFrame()
H A Dinterpreter_test.cpp2584 template <bool IS_DYNAMIC = false>
2593 if constexpr (IS_DYNAMIC) { in CreateResolvedMethod()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dmethod-inl.h47 static constexpr bool IS_DYNAMIC = false; member in ark::InvokeHelperStatic
84 static constexpr bool IS_DYNAMIC = true; member in ark::InvokeHelperDynamic
139 if constexpr (InvokeHelper::IS_DYNAMIC) { // NOLINT(readability-braces-around-statements) in GetReturnValueFromException()
152 if constexpr (InvokeHelper::IS_DYNAMIC) { // NOLINT(readability-braces-around-statements) in GetReturnValueFromAcc()
293 static_assert(InvokeHelper::IS_DYNAMIC == true); in InvokeContext()
385 framePtr = interpreter::RuntimeInterface::CreateNativeFrameWithActualArgs<InvokeHelper::IS_DYNAMIC>( in InitFrameWithNumVRegs()
388 framePtr = InvokeHelper::CreateFrame(thread, Frame::GetActualSize<InvokeHelper::IS_DYNAMIC>(frameSize), this, in InitFrameWithNumVRegs()
416 if constexpr (InvokeHelper::IS_DYNAMIC) { // NOLINT(readability-braces-around-statements) in InvokeImpl()
H A Dstack_walker.h161 template <bool IS_DYNAMIC = false, typename T>
/arkcompiler/runtime_core/static_core/compiler/code_info/
H A Dcode_info.h561 template <typename Callback, bool IS_DYNAMIC>
580 template <typename Callback, bool IS_DYNAMIC>
583 auto rootType = IS_DYNAMIC ? VRegInfo::Type::ANY : VRegInfo::Type::OBJECT; in EnumerateRoots()
/arkcompiler/runtime_core/static_core/runtime/tests/interpreter/
H A Dtest_runtime_interface.h399 template <bool IS_DYNAMIC = false>
404 void *mem = allocator->Allocate(ark::Frame::GetAllocSize(ark::Frame::GetActualSize<IS_DYNAMIC>(nregs), extSz), in CreateFrame()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/
H A Dinterpreter-inl.h34 template <class RuntimeIfaceT, bool IS_DYNAMIC, bool IS_DEBUG, bool IS_PROFILE_ENABLED>
35 class InstructionHandler : public interpreter::InstructionHandler<RuntimeIfaceT, IS_DYNAMIC, IS_DEBUG> {
38 : interpreter::InstructionHandler<RuntimeIfaceT, IS_DYNAMIC, IS_DEBUG>(state) in InstructionHandler()
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
H A Darray.h39 template <BytecodeInstruction::Format FORMAT, bool IS_DYNAMIC = false>
/arkcompiler/runtime_core/static_core/runtime/entrypoints/
H A Dentrypoints.cpp554 template <bool IS_DYNAMIC = false>
557 return CreateFrameWithSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, method, prev); in CreateFrame()
560 template <bool IS_DYNAMIC>
564 CreateFrameWithActualArgsAndSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, numActualArgs, method, prev); in CreateFrameWithActualArgs()
565 if (IS_DYNAMIC) { in CreateFrameWithActualArgs()
/arkcompiler/runtime_core/static_core/runtime/
H A Dstack_walker.cpp301 template <bool IS_DYNAMIC, typename T>
324 auto vreg = GetFrameHandler<IS_DYNAMIC>(GetIFrame()).GetVReg(regInfo.GetIndex()); in SetVRegValue()

Completed in 30 milliseconds