/art/compiler/optimizing/ |
D | locations.h | 242 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 …]
|
D | code_generator_x86_64.h | 306 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;
|
D | code_generator_mips64.h | 472 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;
|
D | code_generator_x86.h | 327 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;
|
D | code_generator_mips.h | 493 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;
|
D | code_generator.h | 262 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;
|
D | code_generator_arm64.h | 457 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;
|
D | code_generator_arm_vixl.h | 439 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;
|
D | code_generator_arm_vixl.cc | 1531 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 …]
|
D | code_generator_x86_64.cc | 1154 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()
|
D | code_generator_x86.cc | 957 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()
|
D | code_generator_arm64.cc | 1643 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()
|
D | code_generator_mips64.cc | 1709 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()
|
D | code_generator_mips.cc | 1849 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/ |
D | thread.cc | 3641 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()
|