Home
last modified time | relevance | path

Searched refs:stack_index (Results 1 – 15 of 15) sorted by relevance

/art/compiler/optimizing/
Dlocations.h242 static uintptr_t EncodeStackIndex(intptr_t stack_index) { in EncodeStackIndex() argument
243 DCHECK(-kStackIndexBias <= stack_index); in EncodeStackIndex()
244 DCHECK(stack_index < kStackIndexBias); in EncodeStackIndex()
245 return static_cast<uintptr_t>(kStackIndexBias + stack_index); in EncodeStackIndex()
248 static Location StackSlot(intptr_t stack_index) { in StackSlot() argument
249 uintptr_t payload = EncodeStackIndex(stack_index); in StackSlot()
252 DCHECK_EQ(loc.GetStackIndex(), stack_index); in StackSlot()
260 static Location DoubleStackSlot(intptr_t stack_index) { in DoubleStackSlot() argument
261 uintptr_t payload = EncodeStackIndex(stack_index); in DoubleStackSlot()
264 DCHECK_EQ(loc.GetStackIndex(), stack_index); in DoubleStackSlot()
[all …]
Dcode_generator_x86_64.h306 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
307 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
308 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
309 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
Dcode_generator_mips64.h472 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
473 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
474 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
475 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
Dcode_generator_x86.h327 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
328 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
329 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
330 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
Dcode_generator_mips.h493 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
494 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
495 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
496 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
Dcode_generator.h262 virtual size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
264 virtual size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
266 virtual size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
267 virtual size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
Dcode_generator_arm64.h457 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
458 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
459 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
460 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
Dcode_generator_arm_vixl.h439 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
440 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
441 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
442 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
Dcode_generator_arm_vixl.cc1531 size_t CodeGeneratorARMVIXL::SaveCoreRegister(size_t stack_index ATTRIBUTE_UNUSED, in SaveCoreRegister()
1538 size_t CodeGeneratorARMVIXL::RestoreCoreRegister(size_t stack_index ATTRIBUTE_UNUSED, in RestoreCoreRegister()
1544 size_t CodeGeneratorARMVIXL::SaveFloatingPointRegister(size_t stack_index ATTRIBUTE_UNUSED, in SaveFloatingPointRegister()
1550 size_t CodeGeneratorARMVIXL::RestoreFloatingPointRegister(size_t stack_index ATTRIBUTE_UNUSED, in RestoreFloatingPointRegister()
2608 uint32_t stack_index = stack_index_++; in GetNextLocation() local
2612 return Location::StackSlot(calling_convention.GetStackOffsetOf(stack_index)); in GetNextLocation()
2618 uint32_t stack_index = stack_index_; in GetNextLocation() local
2635 return Location::DoubleStackSlot(calling_convention.GetStackOffsetOf(stack_index)); in GetNextLocation()
2640 uint32_t stack_index = stack_index_++; in GetNextLocation() local
2647 return Location::StackSlot(calling_convention.GetStackOffsetOf(stack_index)); in GetNextLocation()
[all …]
Dcode_generator_x86_64.cc1154 size_t CodeGeneratorX86_64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1155 __ movq(Address(CpuRegister(RSP), stack_index), CpuRegister(reg_id)); in SaveCoreRegister()
1159 size_t CodeGeneratorX86_64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1160 __ movq(CpuRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreCoreRegister()
1164 size_t CodeGeneratorX86_64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1166 __ movups(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1168 __ movsd(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1173 size_t CodeGeneratorX86_64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1175 __ movups(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
1177 __ movsd(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_x86.cc957 size_t CodeGeneratorX86::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
958 __ movl(Address(ESP, stack_index), static_cast<Register>(reg_id)); in SaveCoreRegister()
962 size_t CodeGeneratorX86::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
963 __ movl(static_cast<Register>(reg_id), Address(ESP, stack_index)); in RestoreCoreRegister()
967 size_t CodeGeneratorX86::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
969 __ movups(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
971 __ movsd(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
976 size_t CodeGeneratorX86::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
978 __ movups(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
980 __ movsd(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_arm64.cc1643 size_t CodeGeneratorARM64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1645 __ Str(reg, MemOperand(sp, stack_index)); in SaveCoreRegister()
1649 size_t CodeGeneratorARM64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1651 __ Ldr(reg, MemOperand(sp, stack_index)); in RestoreCoreRegister()
1655 size_t CodeGeneratorARM64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1657 __ Str(reg, MemOperand(sp, stack_index)); in SaveFloatingPointRegister()
1661 size_t CodeGeneratorARM64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1663 __ Ldr(reg, MemOperand(sp, stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_mips64.cc1709 size_t CodeGeneratorMIPS64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1710 __ StoreToOffset(kStoreDoubleword, GpuRegister(reg_id), SP, stack_index); in SaveCoreRegister()
1714 size_t CodeGeneratorMIPS64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1715 __ LoadFromOffset(kLoadDoubleword, GpuRegister(reg_id), SP, stack_index); in RestoreCoreRegister()
1719 size_t CodeGeneratorMIPS64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1723 stack_index); in SaveFloatingPointRegister()
1727 size_t CodeGeneratorMIPS64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1731 stack_index); in RestoreFloatingPointRegister()
Dcode_generator_mips.cc1849 size_t CodeGeneratorMIPS::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1850 __ StoreToOffset(kStoreWord, Register(reg_id), SP, stack_index); in SaveCoreRegister()
1854 size_t CodeGeneratorMIPS::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1855 __ LoadFromOffset(kLoadWord, Register(reg_id), SP, stack_index); in RestoreCoreRegister()
1859 size_t CodeGeneratorMIPS::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1861 __ StoreQToOffset(FRegister(reg_id), SP, stack_index); in SaveFloatingPointRegister()
1863 __ StoreDToOffset(FRegister(reg_id), SP, stack_index); in SaveFloatingPointRegister()
1868 size_t CodeGeneratorMIPS::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1870 __ LoadQFromOffset(FRegister(reg_id), SP, stack_index); in RestoreFloatingPointRegister()
1872 __ LoadDFromOffset(FRegister(reg_id), SP, stack_index); in RestoreFloatingPointRegister()
/art/runtime/
Dthread.cc3641 size_t stack_index ATTRIBUTE_UNUSED, in VisitQuickFrameNonPrecise()
3699 void VisitStack(mirror::Object** ref, size_t stack_index, const StackVisitor* stack_visitor) in VisitQuickFramePrecise()
3701 const size_t stack_offset = stack_index * kFrameSlotSize; in VisitQuickFramePrecise()