/arkcompiler/runtime_core/static_core/runtime/interpreter/ |
H A D | acc_vregister-inl.h | 71 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 D | acc_vregister.h | 51 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 D | instruction_handler_base.h | 67 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 D | frame.h | 93 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 D | runtime_interface.h | 231 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 D | interpreter_impl.cpp | 130 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 D | vregister_iterator.h | 75 template <BytecodeInstruction::Format FORMAT, bool IS_DYNAMIC>
|
H A D | interpreter-inl.h | 67 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 D | frame_test.cpp | 53 template <bool IS_DYNAMIC = false> 57 void *mem = aligned_alloc(8, ark::Frame::GetAllocSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), extSz)); in CreateFrame()
|
H A D | debugger_test.cpp | 67 template <bool IS_DYNAMIC = false> 71 void *mem = aligned_alloc(8, Frame::GetAllocSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), extSz)); in CreateFrame()
|
H A D | method_test.cpp | 115 template <bool IS_DYNAMIC = false> 118 return ark::CreateFrameWithSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, method, prev); in CreateFrame()
|
H A D | i2c_bridge_test.cpp | 136 template <bool IS_DYNAMIC = false> 139 return ark::CreateFrameWithSize(Frame::GetActualSize<IS_DYNAMIC>(nregs), nregs, method, prev); in CreateFrame()
|
H A D | interpreter_test.cpp | 2584 template <bool IS_DYNAMIC = false> 2593 if constexpr (IS_DYNAMIC) { in CreateResolvedMethod()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | method-inl.h | 47 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 D | stack_walker.h | 161 template <bool IS_DYNAMIC = false, typename T>
|
/arkcompiler/runtime_core/static_core/compiler/code_info/ |
H A D | code_info.h | 561 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 D | test_runtime_interface.h | 399 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 D | interpreter-inl.h | 34 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 D | array.h | 39 template <BytecodeInstruction::Format FORMAT, bool IS_DYNAMIC = false>
|
/arkcompiler/runtime_core/static_core/runtime/entrypoints/ |
H A D | entrypoints.cpp | 554 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 D | stack_walker.cpp | 301 template <bool IS_DYNAMIC, typename T> 324 auto vreg = GetFrameHandler<IS_DYNAMIC>(GetIFrame()).GetVReg(regInfo.GetIndex()); in SetVRegValue()
|