Home
last modified time | relevance | path

Searched refs:reg_id (Results 1 – 21 of 21) sorted by relevance

/art/compiler/utils/mips64/
Dmanaged_register_mips64.h142 explicit constexpr Mips64ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in Mips64ManagedRegister() argument
144 static constexpr Mips64ManagedRegister FromRegId(int reg_id) { in FromRegId() argument
145 Mips64ManagedRegister reg(reg_id); in FromRegId()
/art/compiler/utils/x86_64/
Dmanaged_register_x86_64.h190 explicit constexpr X86_64ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in X86_64ManagedRegister() argument
192 static constexpr X86_64ManagedRegister FromRegId(int reg_id) { in FromRegId() argument
193 X86_64ManagedRegister reg(reg_id); in FromRegId()
/art/compiler/utils/x86/
Dmanaged_register_x86.h204 explicit constexpr X86ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in X86ManagedRegister() argument
206 static constexpr X86ManagedRegister FromRegId(int reg_id) { in FromRegId() argument
207 X86ManagedRegister reg(reg_id); in FromRegId()
/art/compiler/utils/arm64/
Dmanaged_register_arm64.h205 explicit constexpr Arm64ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in Arm64ManagedRegister() argument
207 static constexpr Arm64ManagedRegister FromRegId(int reg_id) { in FromRegId() argument
208 Arm64ManagedRegister reg(reg_id); in FromRegId()
/art/compiler/utils/mips/
Dmanaged_register_mips.h207 explicit constexpr MipsManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in MipsManagedRegister() argument
209 static constexpr MipsManagedRegister FromRegId(int reg_id) { in FromRegId() argument
210 MipsManagedRegister reg(reg_id); in FromRegId()
/art/compiler/utils/arm/
Dmanaged_register_arm.h254 explicit constexpr ArmManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in ArmManagedRegister() argument
256 static constexpr ArmManagedRegister FromRegId(int reg_id) { in FromRegId() argument
257 ArmManagedRegister reg(reg_id); in FromRegId()
/art/compiler/utils/
Dmanaged_register.h78 explicit constexpr ManagedRegister(int reg_id) : id_(reg_id) { } in ManagedRegister() argument
/art/compiler/optimizing/
Dlocations.h616 void SetRegisterBit(uint32_t reg_id) { in SetRegisterBit() argument
617 register_mask_ |= (1 << reg_id); in SetRegisterBit()
624 bool RegisterContainsObject(uint32_t reg_id) { in RegisterContainsObject() argument
625 return RegisterSet::Contains(register_mask_, reg_id); in RegisterContainsObject()
Dcode_generator_x86_64.h313 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
314 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
315 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
316 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_mips64.h476 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
477 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
478 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
479 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_mips.h498 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
499 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
500 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
501 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_x86.h333 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
334 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
335 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
336 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator.h264 virtual size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
266 virtual size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
268 virtual size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
269 virtual size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
Dcode_generator_arm64.h467 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
468 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
469 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
470 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_arm_vixl.h442 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
443 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
444 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
445 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_x86_64.cc1232 size_t CodeGeneratorX86_64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1233 __ movq(Address(CpuRegister(RSP), stack_index), CpuRegister(reg_id)); in SaveCoreRegister()
1237 size_t CodeGeneratorX86_64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1238 __ movq(CpuRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreCoreRegister()
1242 size_t CodeGeneratorX86_64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1244 __ movups(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1246 __ movsd(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1251 size_t CodeGeneratorX86_64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1253 __ movups(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
1255 __ movsd(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_arm64.cc1236 size_t CodeGeneratorARM64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1237 Register reg = Register(VIXLRegCodeFromART(reg_id), kXRegSize); in SaveCoreRegister()
1242 size_t CodeGeneratorARM64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1243 Register reg = Register(VIXLRegCodeFromART(reg_id), kXRegSize); in RestoreCoreRegister()
1248 size_t CodeGeneratorARM64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1249 FPRegister reg = FPRegister(reg_id, kDRegSize); in SaveFloatingPointRegister()
1254 size_t CodeGeneratorARM64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1255 FPRegister reg = FPRegister(reg_id, kDRegSize); in RestoreFloatingPointRegister()
Dcode_generator_x86.cc974 size_t CodeGeneratorX86::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
975 __ movl(Address(ESP, stack_index), static_cast<Register>(reg_id)); in SaveCoreRegister()
979 size_t CodeGeneratorX86::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
980 __ movl(static_cast<Register>(reg_id), Address(ESP, stack_index)); in RestoreCoreRegister()
984 size_t CodeGeneratorX86::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
986 __ movups(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
988 __ movsd(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
993 size_t CodeGeneratorX86::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
995 __ movups(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
997 __ movsd(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_mips64.cc1802 size_t CodeGeneratorMIPS64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1803 __ StoreToOffset(kStoreDoubleword, GpuRegister(reg_id), SP, stack_index); in SaveCoreRegister()
1807 size_t CodeGeneratorMIPS64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1808 __ LoadFromOffset(kLoadDoubleword, GpuRegister(reg_id), SP, stack_index); in RestoreCoreRegister()
1812 size_t CodeGeneratorMIPS64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1814 FpuRegister(reg_id), in SaveFloatingPointRegister()
1820 size_t CodeGeneratorMIPS64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1822 FpuRegister(reg_id), in RestoreFloatingPointRegister()
Dcode_generator_mips.cc1940 size_t CodeGeneratorMIPS::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1941 __ StoreToOffset(kStoreWord, Register(reg_id), SP, stack_index); in SaveCoreRegister()
1945 size_t CodeGeneratorMIPS::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1946 __ LoadFromOffset(kLoadWord, Register(reg_id), SP, stack_index); in RestoreCoreRegister()
1950 size_t CodeGeneratorMIPS::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1952 __ StoreQToOffset(FRegister(reg_id), SP, stack_index); in SaveFloatingPointRegister()
1954 __ StoreDToOffset(FRegister(reg_id), SP, stack_index); in SaveFloatingPointRegister()
1959 size_t CodeGeneratorMIPS::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1961 __ LoadQFromOffset(FRegister(reg_id), SP, stack_index); in RestoreFloatingPointRegister()
1963 __ LoadDFromOffset(FRegister(reg_id), SP, stack_index); in RestoreFloatingPointRegister()
Dcode_generator_arm_vixl.cc1038 uint32_t reg_id ATTRIBUTE_UNUSED) { in SaveCoreRegister()
1045 uint32_t reg_id ATTRIBUTE_UNUSED) { in RestoreCoreRegister()
1051 uint32_t reg_id ATTRIBUTE_UNUSED) { in SaveFloatingPointRegister()
1057 uint32_t reg_id ATTRIBUTE_UNUSED) { in RestoreFloatingPointRegister()