/art/compiler/optimizing/ |
D | locations.h | 235 static uintptr_t EncodeStackIndex(intptr_t stack_index) { in EncodeStackIndex() argument 236 DCHECK(-kStackIndexBias <= stack_index); in EncodeStackIndex() 237 DCHECK(stack_index < kStackIndexBias); in EncodeStackIndex() 238 return static_cast<uintptr_t>(kStackIndexBias + stack_index); in EncodeStackIndex() 241 static Location StackSlot(intptr_t stack_index) { in StackSlot() argument 242 uintptr_t payload = EncodeStackIndex(stack_index); in StackSlot() 245 DCHECK_EQ(loc.GetStackIndex(), stack_index); in StackSlot() 253 static Location DoubleStackSlot(intptr_t stack_index) { in DoubleStackSlot() argument 254 uintptr_t payload = EncodeStackIndex(stack_index); in DoubleStackSlot() 257 DCHECK_EQ(loc.GetStackIndex(), stack_index); in DoubleStackSlot()
|
D | code_generator_mips64.h | 289 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id); 290 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id); 291 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id); 292 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id);
|
D | code_generator_mips.h | 293 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id); 294 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id); 295 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id); 296 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id);
|
D | code_generator_x86_64.h | 305 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 306 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 307 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 308 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
|
D | code_generator_x86.h | 323 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 324 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 325 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 326 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
|
D | code_generator_arm.h | 312 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 313 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 314 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 315 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
|
D | code_generator_arm64.h | 390 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 391 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 392 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 393 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
|
D | code_generator.h | 247 virtual size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) = 0; 249 virtual size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) = 0; 251 virtual size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0; 252 virtual size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
|
D | code_generator_arm.cc | 742 size_t CodeGeneratorARM::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 743 __ StoreToOffset(kStoreWord, static_cast<Register>(reg_id), SP, stack_index); in SaveCoreRegister() 747 size_t CodeGeneratorARM::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 748 __ LoadFromOffset(kLoadWord, static_cast<Register>(reg_id), SP, stack_index); in RestoreCoreRegister() 752 size_t CodeGeneratorARM::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 753 __ StoreSToOffset(static_cast<SRegister>(reg_id), SP, stack_index); in SaveFloatingPointRegister() 757 size_t CodeGeneratorARM::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 758 __ LoadSFromOffset(static_cast<SRegister>(reg_id), SP, stack_index); in RestoreFloatingPointRegister() 966 uint32_t stack_index = stack_index_++; in GetNextLocation() local 970 return Location::StackSlot(calling_convention.GetStackOffsetOf(stack_index)); in GetNextLocation() [all …]
|
D | code_generator_mips64.cc | 929 size_t CodeGeneratorMIPS64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 930 __ StoreToOffset(kStoreDoubleword, GpuRegister(reg_id), SP, stack_index); in SaveCoreRegister() 934 size_t CodeGeneratorMIPS64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 935 __ LoadFromOffset(kLoadDoubleword, GpuRegister(reg_id), SP, stack_index); in RestoreCoreRegister() 939 size_t CodeGeneratorMIPS64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 940 __ StoreFpuToOffset(kStoreDoubleword, FpuRegister(reg_id), SP, stack_index); in SaveFloatingPointRegister() 944 size_t CodeGeneratorMIPS64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 945 __ LoadFpuFromOffset(kLoadDoubleword, FpuRegister(reg_id), SP, stack_index); in RestoreFloatingPointRegister()
|
D | code_generator_arm64.cc | 1124 size_t CodeGeneratorARM64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 1126 __ Str(reg, MemOperand(sp, stack_index)); in SaveCoreRegister() 1130 size_t CodeGeneratorARM64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 1132 __ Ldr(reg, MemOperand(sp, stack_index)); in RestoreCoreRegister() 1136 size_t CodeGeneratorARM64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 1138 __ Str(reg, MemOperand(sp, stack_index)); in SaveFloatingPointRegister() 1142 size_t CodeGeneratorARM64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 1144 __ Ldr(reg, MemOperand(sp, stack_index)); in RestoreFloatingPointRegister()
|
D | code_generator_mips.cc | 1036 size_t CodeGeneratorMIPS::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 1037 __ StoreToOffset(kStoreWord, Register(reg_id), SP, stack_index); in SaveCoreRegister() 1041 size_t CodeGeneratorMIPS::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 1042 __ LoadFromOffset(kLoadWord, Register(reg_id), SP, stack_index); in RestoreCoreRegister() 1046 size_t CodeGeneratorMIPS::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 1047 __ StoreDToOffset(FRegister(reg_id), SP, stack_index); in SaveFloatingPointRegister() 1051 size_t CodeGeneratorMIPS::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 1052 __ LoadDFromOffset(FRegister(reg_id), SP, stack_index); in RestoreFloatingPointRegister()
|
D | code_generator_x86_64.cc | 949 size_t CodeGeneratorX86_64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 950 __ movq(Address(CpuRegister(RSP), stack_index), CpuRegister(reg_id)); in SaveCoreRegister() 954 size_t CodeGeneratorX86_64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 955 __ movq(CpuRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreCoreRegister() 959 size_t CodeGeneratorX86_64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 960 __ movsd(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister() 964 size_t CodeGeneratorX86_64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 965 __ movsd(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
|
D | code_generator_x86.cc | 741 size_t CodeGeneratorX86::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 742 __ movl(Address(ESP, stack_index), static_cast<Register>(reg_id)); in SaveCoreRegister() 746 size_t CodeGeneratorX86::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 747 __ movl(static_cast<Register>(reg_id), Address(ESP, stack_index)); in RestoreCoreRegister() 751 size_t CodeGeneratorX86::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 752 __ movsd(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister() 756 size_t CodeGeneratorX86::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 757 __ movsd(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
|