Home
last modified time | relevance | path

Searched refs:ExtArchTraits (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/arch/
H A Dhelpers.h139 struct ExtArchTraits;
143 struct ExtArchTraits<Arch::AARCH32> { struct
157 struct ExtArchTraits<Arch::AARCH32> { struct
172 struct ExtArchTraits<Arch::AARCH64> { struct
186 struct ExtArchTraits<Arch::X86_64> { struct
243 ALWAYS_INLINE typename std::enable_if_t<std::is_floating_point_v<T> && ExtArchTraits<A>::HARDFP, void> Count() in Count()
245 constexpr size_t NUM_BYTES = std::max(sizeof(T), ExtArchTraits<A>::FPR_SIZE); in Count()
247 if (fprArgSize_ < ExtArchTraits<A>::FP_ARG_NUM_BYTES) { in Count()
256 ALWAYS_INLINE typename std::enable_if_t<!(std::is_floating_point_v<T> && ExtArchTraits<A>::HARDFP), void> Count() in Count()
260 if (gprArgSize_ < ExtArchTraits< in Count()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
H A Dets_napi_helpers.cpp42 using ExtArchTraits = arch::ExtArchTraits<RUNTIME_ARCH>;
171 Span<uint8_t> inGprArgs(inRegsArgs, ExtArchTraits::GP_ARG_NUM_BYTES); in EtsNapiBeginCritical()
172 Span<uint8_t> inFprArgs(inGprArgs.end(), ExtArchTraits::FP_ARG_NUM_BYTES); in EtsNapiBeginCritical()
175 Span<uint8_t> outGprArgs(outArgs, ExtArchTraits::GP_ARG_NUM_BYTES); in EtsNapiBeginCritical()
176 Span<uint8_t> outFprArgs(outGprArgs.end(), ExtArchTraits::FP_ARG_NUM_BYTES); in EtsNapiBeginCritical()
248 auto outRegsArgs = inRegsArgs - ExtArchTraits ::FP_ARG_NUM_BYTES - ExtArchTraits ::GP_ARG_NUM_BYTES; in EtsNapiBegin()
254 Span<uint8_t> inGprArgs(inRegsArgs, ExtArchTraits::GP_ARG_NUM_BYTES); in EtsNapiBegin()
255 Span<uint8_t> inFprArgs(inGprArgs.end(), ExtArchTraits in EtsNapiBegin()
[all...]
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dinvokation_helper.h88 PandaVector<uint8_t> gprData(arch::ExtArchTraits<RUNTIME_ARCH>::GP_ARG_NUM_BYTES); in InvokeEntryPoint()
90 PandaVector<uint8_t> fprData(arch::ExtArchTraits<RUNTIME_ARCH>::FP_ARG_NUM_BYTES); in InvokeEntryPoint()
117 PandaVector<uint8_t> gprData(arch::ExtArchTraits<RUNTIME_ARCH>::GP_ARG_NUM_BYTES); in InvokeEntryPoint()
119 PandaVector<uint8_t> fprData(arch::ExtArchTraits<RUNTIME_ARCH>::FP_ARG_NUM_BYTES); in InvokeEntryPoint()
140 PandaVector<uint8_t> gprData(arch::ExtArchTraits<RUNTIME_ARCH>::GP_ARG_NUM_BYTES); in InvokeDynEntryPoint()
142 PandaVector<uint8_t> fprData(arch::ExtArchTraits<RUNTIME_ARCH>::FP_ARG_NUM_BYTES); in InvokeDynEntryPoint()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dcframe_iterators.h34 static constexpr size_t ARG_FP_REGS_COUNG = arch::ExtArchTraits<ARCH>::NUM_FP_ARG_REGS;
35 static constexpr size_t ARG_GP_REGS_COUNG = arch::ExtArchTraits<ARCH>::NUM_GP_ARG_REGS;
187 static constexpr size_t ARG_FP_REGS_COUNG = arch::ExtArchTraits<Arch::AARCH32>::NUM_FP_ARG_REGS;
188 static constexpr size_t ARG_GP_REGS_COUNG = arch::ExtArchTraits<Arch::AARCH32>::NUM_GP_ARG_REGS;
224 static_assert(arch::ExtArchTraits<Arch::AARCH32>::GPR_SIZE == 4); // 4 bytes -- register size on AARCH32 in GetSlotsCountForType()
246 if constexpr (arch::ExtArchTraits<Arch::AARCH32>::HARDFP) { in operator ++()
261 if constexpr (arch::ExtArchTraits<Arch::AARCH32>::HARDFP) { in operator ++()
392 size_t constexpr GPR_ARGS_MAX = arch::ExtArchTraits<ARCH>::NUM_GP_ARG_REGS; in MakeRange()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/call/
H A Dcall_js.cpp29 Span<uint8_t> inGprArgs(args, arch::ExtArchTraits<RUNTIME_ARCH>::GP_ARG_NUM_BYTES); in CreateProxyBridgeArgReader()
30 Span<uint8_t> inFprArgs(inGprArgs.end(), arch::ExtArchTraits<RUNTIME_ARCH>::FP_ARG_NUM_BYTES); in CreateProxyBridgeArgReader()

Completed in 8 milliseconds