Home
last modified time | relevance | path

Searched refs:CalleeSaveType (Results 1 – 25 of 31) sorted by relevance

12

/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc42 static ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, CalleeSaveType type) in CreateCalleeSaveMethod()
57 static void CheckPCOffset(InstructionSet isa, CalleeSaveType type, size_t pc_offset) in CheckPCOffset()
76 CalleeSaveType::kSaveRefsAndArgs, in TEST_F()
77 RuntimeCalleeSaveFrame::GetReturnPcOffset(CalleeSaveType::kSaveRefsAndArgs)); in TEST_F()
80 CalleeSaveType::kSaveRefsOnly, in TEST_F()
81 RuntimeCalleeSaveFrame::GetReturnPcOffset(CalleeSaveType::kSaveRefsOnly)); in TEST_F()
84 CalleeSaveType::kSaveAllCalleeSaves, in TEST_F()
85 RuntimeCalleeSaveFrame::GetReturnPcOffset(CalleeSaveType::kSaveAllCalleeSaves)); in TEST_F()
88 CalleeSaveType::kSaveEverything, in TEST_F()
89 RuntimeCalleeSaveFrame::GetReturnPcOffset(CalleeSaveType::kSaveEverything)); in TEST_F()
[all …]
Dquick_dexcache_entrypoints.cc155 self, CalleeSaveType::kSaveEverythingForClinit); in artResolveTypeFromCode()
173 CalleeSaveType::kSaveEverything); in artResolveTypeAndVerifyAccessFromCode()
189 GetCalleeSaveMethodCallerAndOuterMethod(self, CalleeSaveType::kSaveEverything); in artResolveMethodHandleFromCode()
199 CalleeSaveType::kSaveEverything); in artResolveMethodTypeFromCode()
209 CalleeSaveType::kSaveEverything); in artResolveStringFromCode()
Dquick_field_entrypoints.cc56 ArtMethod* outer = GetCalleeSaveOuterMethod(self, CalleeSaveType::kSaveRefsOnly); in GetReferrer()
61 return GetCalleeSaveMethodCallerAndOuterMethod(self, CalleeSaveType::kSaveRefsOnly).caller; in GetReferrer()
Dquick_trampoline_entrypoints.cc69 RuntimeCalleeSaveFrame::GetFrameSize(CalleeSaveType::kSaveRefsAndArgs);
72 RuntimeCalleeSaveFrame::GetGpr1Offset(CalleeSaveType::kSaveRefsAndArgs);
75 RuntimeCalleeSaveFrame::GetFpr1Offset(CalleeSaveType::kSaveRefsAndArgs);
78 RuntimeCalleeSaveFrame::GetReturnPcOffset(CalleeSaveType::kSaveRefsAndArgs);
325 return GetCalleeSaveMethodCaller(sp, CalleeSaveType::kSaveRefsAndArgs); in GetCallingMethod()
338 RuntimeCalleeSaveFrame::GetFrameSize(CalleeSaveType::kSaveRefsAndArgs); in GetCallingDexPc()
1181 RuntimeCalleeSaveFrame::GetReturnPcOffset(CalleeSaveType::kSaveEverything); in artInstrumentationMethodExitFromCode()
1230 constexpr CalleeSaveType type = CalleeSaveType::kSaveRefsAndArgs; in DumpB74410240DebugData()
2530 DCHECK_EQ(*sp, Runtime::Current()->GetCalleeSaveMethod(CalleeSaveType::kSaveRefsAndArgs)); in artInvokeCommon()
2752 DCHECK_EQ(*sp, Runtime::Current()->GetCalleeSaveMethod(CalleeSaveType::kSaveRefsAndArgs)); in artInvokePolymorphic()
[all …]
/art/runtime/base/
Dcallee_save_type.h26 enum class CalleeSaveType : uint32_t { enum
35 std::ostream& operator<<(std::ostream& os, const CalleeSaveType& rhs);
37 static inline constexpr CalleeSaveType GetCanonicalCalleeSaveType(CalleeSaveType type) { in GetCanonicalCalleeSaveType()
38 if (type == CalleeSaveType::kSaveEverythingForClinit || in GetCanonicalCalleeSaveType()
39 type == CalleeSaveType::kSaveEverythingForSuspendCheck) { in GetCanonicalCalleeSaveType()
40 return CalleeSaveType::kSaveEverything; in GetCanonicalCalleeSaveType()
/art/runtime/
Druntime-inl.h52 if (method == GetCalleeSaveMethodUnchecked(CalleeSaveType::kSaveRefsAndArgs)) { in GetRuntimeMethodFrameInfo()
53 return RuntimeCalleeSaveFrame::GetMethodFrameInfo(CalleeSaveType::kSaveRefsAndArgs); in GetRuntimeMethodFrameInfo()
54 } else if (method == GetCalleeSaveMethodUnchecked(CalleeSaveType::kSaveAllCalleeSaves)) { in GetRuntimeMethodFrameInfo()
55 return RuntimeCalleeSaveFrame::GetMethodFrameInfo(CalleeSaveType::kSaveAllCalleeSaves); in GetRuntimeMethodFrameInfo()
56 } else if (method == GetCalleeSaveMethodUnchecked(CalleeSaveType::kSaveRefsOnly)) { in GetRuntimeMethodFrameInfo()
57 return RuntimeCalleeSaveFrame::GetMethodFrameInfo(CalleeSaveType::kSaveRefsOnly); in GetRuntimeMethodFrameInfo()
59 DCHECK(method == GetCalleeSaveMethodUnchecked(CalleeSaveType::kSaveEverything) || in GetRuntimeMethodFrameInfo()
60 method == GetCalleeSaveMethodUnchecked(CalleeSaveType::kSaveEverythingForClinit) || in GetRuntimeMethodFrameInfo()
61 method == GetCalleeSaveMethodUnchecked(CalleeSaveType::kSaveEverythingForSuspendCheck)); in GetRuntimeMethodFrameInfo()
62 return RuntimeCalleeSaveFrame::GetMethodFrameInfo(CalleeSaveType::kSaveEverything); in GetRuntimeMethodFrameInfo()
[all …]
Druntime.h84 enum class CalleeSaveType: uint32_t;
416 bool HasCalleeSaveMethod(CalleeSaveType type) const { in HasCalleeSaveMethod()
420 ArtMethod* GetCalleeSaveMethod(CalleeSaveType type)
423 ArtMethod* GetCalleeSaveMethodUnchecked(CalleeSaveType type)
429 static constexpr size_t GetCalleeSaveMethodOffset(CalleeSaveType type) { in GetCalleeSaveMethodOffset()
440 void SetCalleeSaveMethod(ArtMethod* method, CalleeSaveType type);
Dart_method.cc848 } else if (this == runtime->GetCalleeSaveMethod(CalleeSaveType::kSaveAllCalleeSaves)) { in GetRuntimeMethodName()
850 } else if (this == runtime->GetCalleeSaveMethod(CalleeSaveType::kSaveRefsOnly)) { in GetRuntimeMethodName()
852 } else if (this == runtime->GetCalleeSaveMethod(CalleeSaveType::kSaveRefsAndArgs)) { in GetRuntimeMethodName()
854 } else if (this == runtime->GetCalleeSaveMethod(CalleeSaveType::kSaveEverything)) { in GetRuntimeMethodName()
856 } else if (this == runtime->GetCalleeSaveMethod(CalleeSaveType::kSaveEverythingForClinit)) { in GetRuntimeMethodName()
858 } else if (this == runtime->GetCalleeSaveMethod(CalleeSaveType::kSaveEverythingForSuspendCheck)) { in GetRuntimeMethodName()
Dstack.cc704 return RuntimeCalleeSaveFrame::GetMethodFrameInfo(CalleeSaveType::kSaveRefsAndArgs); in GetCurrentQuickFrameInfo()
718 return RuntimeCalleeSaveFrame::GetMethodFrameInfo(CalleeSaveType::kSaveRefsAndArgs); in GetCurrentQuickFrameInfo()
738 RuntimeCalleeSaveFrame::GetMethodFrameInfo(CalleeSaveType::kSaveRefsAndArgs); in GetCurrentQuickFrameInfo()
864 Runtime::Current()->GetCalleeSaveMethod(CalleeSaveType::kSaveAllCalleeSaves)) { in WalkStack()
868 Runtime::Current()->GetCalleeSaveMethod(CalleeSaveType::kSaveRefsAndArgs); in WalkStack()
Dart_method-inl.h135 for (uint32_t i = 0; i < static_cast<uint32_t>(CalleeSaveType::kLastCalleeSaveType); i++) { in IsCalleeSaveMethod()
136 if (this == runtime->GetCalleeSaveMethod(CalleeSaveType(i))) { in IsCalleeSaveMethod()
Dinstrumentation.cc474 CHECK(m == Runtime::Current()->GetCalleeSaveMethod(CalleeSaveType::kSaveRefsAndArgs)); in InstrumentationRestoreStack()
1375 CalleeSaveType::kSaveEverythingForClinit)) { in GetDeoptimizationMethodType()
1379 CalleeSaveType::kSaveEverythingForSuspendCheck)) { in GetDeoptimizationMethodType()
1475 CalleeSaveType::kSaveEverythingForClinit)) { in PopInstrumentationStackFrame()
/art/runtime/arch/x86/
Dcallee_save_frame_x86.h51 static constexpr uint32_t GetCoreSpills(CalleeSaveType type) { in GetCoreSpills()
54 (type == CalleeSaveType::kSaveRefsAndArgs ? kX86CalleeSaveArgSpills : 0) | in GetCoreSpills()
55 (type == CalleeSaveType::kSaveEverything ? kX86CalleeSaveEverythingSpills : 0); in GetCoreSpills()
58 static constexpr uint32_t GetFpSpills(CalleeSaveType type) { in GetFpSpills()
60 return (type == CalleeSaveType::kSaveRefsAndArgs ? kX86CalleeSaveFpArgSpills : 0) | in GetFpSpills()
61 (type == CalleeSaveType::kSaveEverything ? kX86CalleeSaveFpEverythingSpills : 0); in GetFpSpills()
64 static constexpr uint32_t GetFrameSize(CalleeSaveType type) { in GetFrameSize()
71 static constexpr QuickMethodFrameInfo GetMethodFrameInfo(CalleeSaveType type) { in GetMethodFrameInfo()
76 static constexpr size_t GetFpr1Offset(CalleeSaveType type) { in GetFpr1Offset()
83 static constexpr size_t GetGpr1Offset(CalleeSaveType type) { in GetGpr1Offset()
[all …]
/art/runtime/arch/arm/
Dcallee_save_frame_arm.h61 static constexpr uint32_t GetCoreSpills(CalleeSaveType type) { in GetCoreSpills()
64 (type == CalleeSaveType::kSaveRefsAndArgs ? kArmCalleeSaveArgSpills : 0) | in GetCoreSpills()
65 (type == CalleeSaveType::kSaveAllCalleeSaves ? kArmCalleeSaveAllSpills : 0) | in GetCoreSpills()
66 (type == CalleeSaveType::kSaveEverything ? kArmCalleeSaveEverythingSpills : 0); in GetCoreSpills()
69 static constexpr uint32_t GetFpSpills(CalleeSaveType type) { in GetFpSpills()
72 (type == CalleeSaveType::kSaveRefsAndArgs ? kArmCalleeSaveFpArgSpills : 0) | in GetFpSpills()
73 (type == CalleeSaveType::kSaveAllCalleeSaves ? kArmCalleeSaveFpAllSpills : 0) | in GetFpSpills()
74 (type == CalleeSaveType::kSaveEverything ? kArmCalleeSaveFpEverythingSpills : 0); in GetFpSpills()
77 static constexpr uint32_t GetFrameSize(CalleeSaveType type) { in GetFrameSize()
84 static constexpr QuickMethodFrameInfo GetMethodFrameInfo(CalleeSaveType type) { in GetMethodFrameInfo()
[all …]
/art/runtime/arch/x86_64/
Dcallee_save_frame_x86_64.h61 static constexpr uint32_t GetCoreSpills(CalleeSaveType type) { in GetCoreSpills()
64 (type == CalleeSaveType::kSaveRefsAndArgs ? kX86_64CalleeSaveArgSpills : 0) | in GetCoreSpills()
65 (type == CalleeSaveType::kSaveEverything ? kX86_64CalleeSaveEverythingSpills : 0); in GetCoreSpills()
68 static constexpr uint32_t GetFpSpills(CalleeSaveType type) { in GetFpSpills()
71 (type == CalleeSaveType::kSaveRefsAndArgs ? kX86_64CalleeSaveFpArgSpills : 0) | in GetFpSpills()
72 (type == CalleeSaveType::kSaveEverything ? kX86_64CalleeSaveFpEverythingSpills : 0); in GetFpSpills()
75 static constexpr uint32_t GetFrameSize(CalleeSaveType type) { in GetFrameSize()
82 static constexpr QuickMethodFrameInfo GetMethodFrameInfo(CalleeSaveType type) { in GetMethodFrameInfo()
87 static constexpr size_t GetFpr1Offset(CalleeSaveType type) { in GetFpr1Offset()
94 static constexpr size_t GetGpr1Offset(CalleeSaveType type) { in GetGpr1Offset()
[all …]
/art/runtime/arch/mips64/
Dcallee_save_frame_mips64.h77 static constexpr uint32_t GetCoreSpills(CalleeSaveType type) { in GetCoreSpills()
80 (type == CalleeSaveType::kSaveRefsAndArgs ? kMips64CalleeSaveArgSpills : 0) | in GetCoreSpills()
81 (type == CalleeSaveType::kSaveAllCalleeSaves ? kMips64CalleeSaveAllSpills : 0) | in GetCoreSpills()
82 (type == CalleeSaveType::kSaveEverything ? kMips64CalleeSaveEverythingSpills : 0); in GetCoreSpills()
85 static constexpr uint32_t GetFpSpills(CalleeSaveType type) { in GetFpSpills()
88 (type == CalleeSaveType::kSaveRefsAndArgs ? kMips64CalleeSaveFpArgSpills : 0) | in GetFpSpills()
89 (type == CalleeSaveType::kSaveAllCalleeSaves ? kMips64CalleeSaveFpAllSpills : 0) | in GetFpSpills()
90 (type == CalleeSaveType::kSaveEverything ? kMips64CalleeSaveFpEverythingSpills : 0); in GetFpSpills()
93 static constexpr uint32_t GetFrameSize(CalleeSaveType type) { in GetFrameSize()
100 static constexpr QuickMethodFrameInfo GetMethodFrameInfo(CalleeSaveType type) { in GetMethodFrameInfo()
[all …]
Dfault_handler_mips64.cc87 sc->sc_regs[mips64::SP] -= mips64::Mips64CalleeSaveFrameSize(CalleeSaveType::kSaveEverything); in Action()
/art/runtime/arch/arm64/
Dcallee_save_frame_arm64.h84 static constexpr uint32_t GetCoreSpills(CalleeSaveType type) { in GetCoreSpills()
87 (type == CalleeSaveType::kSaveRefsAndArgs ? kArm64CalleeSaveArgSpills : 0) | in GetCoreSpills()
88 (type == CalleeSaveType::kSaveAllCalleeSaves ? kArm64CalleeSaveAllSpills : 0) | in GetCoreSpills()
89 (type == CalleeSaveType::kSaveEverything ? kArm64CalleeSaveEverythingSpills : 0); in GetCoreSpills()
92 static constexpr uint32_t GetFpSpills(CalleeSaveType type) { in GetFpSpills()
95 (type == CalleeSaveType::kSaveRefsAndArgs ? kArm64CalleeSaveFpArgSpills : 0) | in GetFpSpills()
96 (type == CalleeSaveType::kSaveAllCalleeSaves ? kArm64CalleeSaveFpAllSpills : 0) | in GetFpSpills()
97 (type == CalleeSaveType::kSaveEverything ? kArm64CalleeSaveFpEverythingSpills : 0); in GetFpSpills()
100 static constexpr uint32_t GetFrameSize(CalleeSaveType type) { in GetFrameSize()
107 static constexpr QuickMethodFrameInfo GetMethodFrameInfo(CalleeSaveType type) { in GetMethodFrameInfo()
[all …]
/art/tools/cpp-define-generator/
Druntime.def22 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveAllCalleeSaves))
24 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForClinit))
26 … art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForSuspendCheck))
28 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverything))
30 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsAndArgs))
32 art::Runtime::GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsOnly))
/art/runtime/arch/mips/
Dcallee_save_frame_mips.h86 static constexpr uint32_t GetCoreSpills(CalleeSaveType type) { in GetCoreSpills()
89 (type == CalleeSaveType::kSaveRefsAndArgs ? kMipsCalleeSaveArgSpills : 0) | in GetCoreSpills()
90 (type == CalleeSaveType::kSaveAllCalleeSaves ? kMipsCalleeSaveAllSpills : 0) | in GetCoreSpills()
91 (type == CalleeSaveType::kSaveEverything ? kMipsCalleeSaveEverythingSpills : 0); in GetCoreSpills()
94 static constexpr uint32_t GetFpSpills(CalleeSaveType type) { in GetFpSpills()
97 (type == CalleeSaveType::kSaveRefsAndArgs ? kMipsCalleeSaveFpArgSpills : 0) | in GetFpSpills()
98 (type == CalleeSaveType::kSaveAllCalleeSaves ? kMipsCalleeSaveAllFPSpills : 0) | in GetFpSpills()
99 (type == CalleeSaveType::kSaveEverything ? kMipsCalleeSaveFpEverythingSpills : 0); in GetFpSpills()
102 static constexpr uint32_t GetFrameSize(CalleeSaveType type) { in GetFrameSize()
109 static constexpr QuickMethodFrameInfo GetMethodFrameInfo(CalleeSaveType type) { in GetMethodFrameInfo()
[all …]
Dfault_handler_mips.cc85 sc->sc_regs[mips::SP] -= mips::MipsCalleeSaveFrameSize(CalleeSaveType::kSaveEverything); in Action()
/art/runtime/entrypoints/
Dentrypoint_utils.h200 CalleeSaveType type,
209 CallerAndOuterMethod GetCalleeSaveMethodCallerAndOuterMethod(Thread* self, CalleeSaveType type)
212 ArtMethod* GetCalleeSaveOuterMethod(Thread* self, CalleeSaveType type)
Dentrypoint_utils.cc183 ArtMethod** sp, CalleeSaveType type) REQUIRES_SHARED(Locks::mutator_lock_) { in DoGetCalleeSaveMethodOuterCallerAndPc()
232 ArtMethod* GetCalleeSaveMethodCaller(ArtMethod** sp, CalleeSaveType type, bool do_caller_check) in GetCalleeSaveMethodCaller()
242 CallerAndOuterMethod GetCalleeSaveMethodCallerAndOuterMethod(Thread* self, CalleeSaveType type) { in GetCalleeSaveMethodCallerAndOuterMethod()
254 ArtMethod* GetCalleeSaveOuterMethod(Thread* self, CalleeSaveType type) { in GetCalleeSaveOuterMethod()
/art/compiler/
Dcommon_compiler_test.cc111 for (uint32_t i = 0; i < static_cast<uint32_t>(CalleeSaveType::kLastCalleeSaveType); ++i) { in SetUp()
112 CalleeSaveType type = CalleeSaveType(i); in SetUp()
Dexception_test.cc176 r->SetCalleeSaveMethod(save_method, CalleeSaveType::kSaveAllCalleeSaves); in TEST_F()
/art/runtime/arch/
Darch_test.cc171 EXPECT_EQ(arch::Arch##CalleeSaveFrame::GetFrameSize(CalleeSaveType::k##type), \
173 EXPECT_EQ(arch::Arch##CalleeSaveFrame::GetReturnPcOffset(CalleeSaveType::k##type), \

12