Home
last modified time | relevance | path

Searched refs:ArchTraits (Results 1 - 25 of 26) sorted by relevance

12

/arkcompiler/runtime_core/libpandabase/tests/
H A Darch_test.cpp25 ASSERT_EQ(GetCallerRegsMask(Arch::AARCH32, false), ArchTraits<Arch::AARCH32>::CALLER_REG_MASK); in HWTEST()
26 ASSERT_EQ(GetCallerRegsMask(Arch::AARCH64, false), ArchTraits<Arch::AARCH64>::CALLER_REG_MASK); in HWTEST()
27 ASSERT_EQ(GetCallerRegsMask(Arch::X86, false), ArchTraits<Arch::X86>::CALLER_REG_MASK); in HWTEST()
28 ASSERT_EQ(GetCallerRegsMask(Arch::X86_64, false), ArchTraits<Arch::X86_64>::CALLER_REG_MASK); in HWTEST()
33 ASSERT_EQ(GetCalleeRegsMask(Arch::AARCH32, false), ArchTraits<Arch::AARCH32>::CALLEE_REG_MASK); in HWTEST()
34 ASSERT_EQ(GetCalleeRegsMask(Arch::AARCH64, false), ArchTraits<Arch::AARCH64>::CALLEE_REG_MASK); in HWTEST()
35 ASSERT_EQ(GetCalleeRegsMask(Arch::X86, false), ArchTraits<Arch::X86>::CALLEE_REG_MASK); in HWTEST()
36 ASSERT_EQ(GetCalleeRegsMask(Arch::X86_64, false), ArchTraits<Arch::X86_64>::CALLEE_REG_MASK); in HWTEST()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Darch.h42 struct ArchTraits;
45 struct ArchTraits<Arch::AARCH32> { struct
75 struct ArchTraits<Arch::AARCH64> { struct
99 struct ArchTraits<Arch::X86> { struct
122 struct ArchTraits<Arch::X86_64> { struct
144 struct ArchTraits<Arch::NONE> { struct
162 constexpr std::remove_const_t<decltype(ArchTraits<Arch::AARCH64>::property)> func_name(Arch arch) \
166 return ArchTraits<Arch::X86>::property; \
169 return ArchTraits<Arch::X86_64>::property; \
172 return ArchTraits<Arc
[all...]
/arkcompiler/runtime_core/libpandabase/utils/
H A Darch.h42 struct ArchTraits;
45 struct ArchTraits<Arch::AARCH32> { struct
67 struct ArchTraits<Arch::AARCH64> { struct
89 struct ArchTraits<Arch::X86> { struct
112 struct ArchTraits<Arch::X86_64> { struct
134 struct ArchTraits<Arch::NONE> { struct
152 constexpr std::remove_const_t<decltype(ArchTraits<Arch::AARCH64>::property)> func_name(Arch arch) \
156 return ArchTraits<Arch::X86>::property; \
159 return ArchTraits<Arch::X86_64>::property; \
162 return ArchTraits<Arc
[all...]
/arkcompiler/runtime_core/static_core/runtime/arch/
H A Dhelpers.h148 static constexpr size_t GP_ARG_NUM_BYTES = NUM_GP_ARG_REGS * ArchTraits<Arch::AARCH32>::POINTER_SIZE;
150 static constexpr size_t FP_ARG_NUM_BYTES = NUM_FP_ARG_REGS * ArchTraits<Arch::AARCH32>::POINTER_SIZE;
151 static constexpr size_t GPR_SIZE = ArchTraits<Arch::AARCH32>::POINTER_SIZE;
162 static constexpr size_t GP_ARG_NUM_BYTES = NUM_GP_ARG_REGS * ArchTraits<Arch::AARCH32>::POINTER_SIZE;
164 static constexpr size_t FP_ARG_NUM_BYTES = NUM_FP_ARG_REGS * ArchTraits<Arch::AARCH32>::POINTER_SIZE;
165 static constexpr size_t GPR_SIZE = ArchTraits<Arch::AARCH32>::POINTER_SIZE;
166 static constexpr size_t FPR_SIZE = ArchTraits<Arch::AARCH32>::POINTER_SIZE;
177 static constexpr size_t GP_ARG_NUM_BYTES = NUM_GP_ARG_REGS * ArchTraits<Arch::AARCH64>::POINTER_SIZE;
179 static constexpr size_t FP_ARG_NUM_BYTES = NUM_FP_ARG_REGS * ArchTraits<Arch::AARCH64>::POINTER_SIZE;
180 static constexpr size_t GPR_SIZE = ArchTraits<Arc
[all...]
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dtarget_info.h236 return ArchTraits<ARCH>::IS_64_BITS ? sizeof(uint64_t) : sizeof(uint32_t);
263 return Reg(Target::SP_REG, ArchTraits<ARCH>::IS_64_BITS ? INT64_TYPE : INT32_TYPE);
267 return Reg(Target::FP_REG, ArchTraits<ARCH>::IS_64_BITS ? INT64_TYPE : INT32_TYPE);
271 return Reg(Target::LR_REG, ArchTraits<ARCH>::IS_64_BITS ? INT64_TYPE : INT32_TYPE);
275 return Reg(Target::ZERO_REG, ArchTraits<ARCH>::IS_64_BITS ? INT64_TYPE : INT32_TYPE);
325 return RegMask(ArchTraits<ARCH>::CALLEE_FP_REG_MASK | ArchTraits<ARCH>::CALLER_FP_REG_MASK) &
/arkcompiler/runtime_core/static_core/runtime/
H A Dcframe.cpp81 if constexpr (!ArchTraits<ARCH>::IS_64_BITS) { in GetVRegValueSlot()
107 if constexpr (!ArchTraits<ARCH>::IS_64_BITS) { in GetVRegValueRegister()
122 if (!ArchTraits<ARCH>::IS_64_BITS && vreg.Has64BitValue()) { in GetVRegValueRegister()
167 if (!ArchTraits<ARCH>::IS_64_BITS && vreg.Has64BitValue()) { in SetVRegValue()
180 if (!ArchTraits<ARCH>::IS_64_BITS && vreg.Has64BitValue()) { in SetVRegValue()
187 if constexpr (!ArchTraits<ARCH>::IS_64_BITS) { in SetVRegValue()
205 auto maxSlot = codeInfo.GetHeader().GetFrameSize() / ArchTraits<RUNTIME_ARCH>::POINTER_SIZE; in Dump()
H A Dosr.cpp151 ASSERT(IsAligned(bytes, ArchTraits<RUNTIME_ARCH>::POINTER_SIZE)); in PrepareOsrEntry()
152 return bytes / ArchTraits<RUNTIME_ARCH>::POINTER_SIZE; in PrepareOsrEntry()
238 constexpr auto SLOT_SIZE {ArchTraits<RUNTIME_ARCH>::POINTER_SIZE}; in GetStackParamsSize()
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
H A Delf_builder.h98 using ElfAddr = std::conditional_t<ArchTraits<ARCH>::IS_64_BITS, Elf64_Addr, Elf32_Addr>;
99 using ElfOff = std::conditional_t<ArchTraits<ARCH>::IS_64_BITS, Elf64_Off, Elf32_Off>;
100 using ElfHalf = std::conditional_t<ArchTraits<ARCH>::IS_64_BITS, Elf64_Half, Elf32_Half>;
101 using ElfWord = std::conditional_t<ArchTraits<ARCH>::IS_64_BITS, Elf64_Word, Elf32_Word>;
102 using ElfSword = std::conditional_t<ArchTraits<ARCH>::IS_64_BITS, Elf64_Sword, Elf32_Sword>;
103 using ElfXword = std::conditional_t<ArchTraits<ARCH>::IS_64_BITS, Elf64_Xword, Elf32_Xword>;
104 using ElfSxword = std::conditional_t<ArchTraits<ARCH>::IS_64_BITS, Elf64_Sxword, Elf32_Sxword>;
105 using ElfEhdr = std::conditional_t<ArchTraits<ARCH>::IS_64_BITS, Elf64_Ehdr, Elf32_Ehdr>;
106 using ElfShdr = std::conditional_t<ArchTraits<ARCH>::IS_64_BITS, Elf64_Shdr, Elf32_Shdr>;
107 using ElfSym = std::conditional_t<ArchTraits<ARC
[all...]
H A Daot_builder.h153 void EmitPlt(Span<typename ArchTraits<ARCH>::WordType> ptrView, size_t gotDataSize);
H A Daot_builder.cpp211 using PtrType = typename ArchTraits<ARCH>::WordType; in PrepareElfBuilder()
231 void AotBuilder::EmitPlt(Span<typename ArchTraits<ARCH>::WordType> ptrView, size_t gotDataSize) in EmitPlt()
/arkcompiler/runtime_core/static_core/runtime/interpreter/
H A Dinstruction_handler_base.h337 ASSERT(ArchTraits<RUNTIME_ARCH>::SUPPORT_OSR); in UpdateHotnessOSR()
356 if constexpr (ArchTraits<RUNTIME_ARCH>::SUPPORT_OSR) { in InstrumentBranches()
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
H A Dstack_walker_base.h27 using SlotType = std::conditional_t<ArchTraits<RUNTIME_ARCH>::IS_64_BITS, uint64_t, uint32_t>;
/arkcompiler/runtime_core/static_core/compiler/code_info/
H A Dcode_info.h268 if constexpr (ArchTraits<RUNTIME_ARCH>::IS_64_BITS) { in GetMethod()
608 if constexpr (!ArchTraits<RUNTIME_ARCH>::IS_64_BITS) { // NOLINT in EnumerateRoots()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/
H A Dcallconv.cpp216 static_assert(!ArchTraits<Arch::X86_64>::SUPPORT_OSR); in GenerateEpilogue()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dcframe.h81 using SlotType = std::conditional_t<ArchTraits<ARCH>::IS_64_BITS, uint64_t, uint32_t>;
H A Dstack_walker.h83 using SlotType = std::conditional_t<ArchTraits<RUNTIME_ARCH>::IS_64_BITS, uint64_t, uint32_t>;
H A Dmethod-inl.h475 if constexpr (!ArchTraits<RUNTIME_ARCH>::SUPPORT_OSR) { in DecrementHotnessCounter()
/arkcompiler/runtime_core/compiler/tests/
H A Dcode_info_test.cpp98 if constexpr (!ArchTraits<RUNTIME_ARCH>::IS_64_BITS) { // NOLINT in TEST_F()
H A Dosr_test.cpp48 if constexpr (!ArchTraits<RUNTIME_ARCH>::SUPPORT_OSR) { in SetUp()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/
H A Dcallconv.cpp341 static_assert(!ArchTraits<Arch::AARCH32>::SUPPORT_OSR); in GenerateEpilogue()
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dstack_walker_test.cpp411 if constexpr (ArchTraits<RUNTIME_ARCH>::SUPPORT_DEOPTIMIZATION) { in TEST_F()
/arkcompiler/runtime_core/static_core/libllvmbackend/
H A Dllvm_ark_interface.cpp112 static_assert(ArchTraits<Arch::AARCH64>::THREAD_REG == AARCH64_THREAD_REG); in GetThreadRegister()
116 static_assert(ArchTraits<Arch::X86_64>::THREAD_REG == X86_THREAD_REG); in GetThreadRegister()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dosr_test.cpp52 if constexpr (!ArchTraits<RUNTIME_ARCH>::SUPPORT_OSR) {
H A Dcode_info_test.cpp149 if constexpr (!ArchTraits<RUNTIME_ARCH>::IS_64_BITS) { // NOLINT in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/entrypoints/
H A Dentrypoints.cpp1381 if constexpr (ArchTraits<RUNTIME_ARCH>::SUPPORT_OSR) { in CallCompilerSlowPathOSR()
1382 ASSERT(ArchTraits<RUNTIME_ARCH>::SUPPORT_OSR); in CallCompilerSlowPathOSR()

Completed in 24 milliseconds

12