Home
last modified time | relevance | path

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

/art/compiler/utils/riscv64/
Dmanaged_register_riscv64.h112 explicit constexpr Riscv64ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in Riscv64ManagedRegister() argument
114 static constexpr Riscv64ManagedRegister FromRegId(int reg_id) { in FromRegId() argument
115 Riscv64ManagedRegister reg(reg_id); in FromRegId()
/art/compiler/utils/x86_64/
Dmanaged_register_x86_64.h191 explicit constexpr X86_64ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in X86_64ManagedRegister() argument
193 static constexpr X86_64ManagedRegister FromRegId(int reg_id) { in FromRegId() argument
194 X86_64ManagedRegister reg(reg_id); in FromRegId()
/art/compiler/utils/x86/
Dmanaged_register_x86.h205 explicit constexpr X86ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in X86ManagedRegister() argument
207 static constexpr X86ManagedRegister FromRegId(int reg_id) { in FromRegId() argument
208 X86ManagedRegister reg(reg_id); in FromRegId()
/art/compiler/utils/arm64/
Dmanaged_register_arm64.h206 explicit constexpr Arm64ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in Arm64ManagedRegister() argument
208 static constexpr Arm64ManagedRegister FromRegId(int reg_id) { in FromRegId() argument
209 Arm64ManagedRegister reg(reg_id); in FromRegId()
/art/compiler/utils/
Dmanaged_register.h80 explicit constexpr ManagedRegister(int reg_id) : id_(reg_id) { } in ManagedRegister() argument
/art/compiler/utils/arm/
Dmanaged_register_arm.h255 explicit constexpr ArmManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in ArmManagedRegister() argument
257 static constexpr ArmManagedRegister FromRegId(int reg_id) { in FromRegId() argument
258 ArmManagedRegister reg(reg_id); in FromRegId()
/art/compiler/optimizing/
Dlocations.h659 void SetRegisterBit(uint32_t reg_id) { in SetRegisterBit() argument
660 register_mask_ |= (1 << reg_id); in SetRegisterBit()
667 bool RegisterContainsObject(uint32_t reg_id) { in RegisterContainsObject() argument
668 return RegisterSet::Contains(register_mask_, reg_id); in RegisterContainsObject()
Dcode_generator_x86_64.h407 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
408 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
409 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
410 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_x86.h431 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
432 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
433 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
434 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator.h296 virtual size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
298 virtual size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
300 virtual size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
301 virtual size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
Dcode_generator_arm_vixl.h530 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
531 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
532 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
533 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_arm64.h664 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
665 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
666 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
667 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_x86_64.cc1447 size_t CodeGeneratorX86_64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1448 __ movq(Address(CpuRegister(RSP), stack_index), CpuRegister(reg_id)); in SaveCoreRegister()
1452 size_t CodeGeneratorX86_64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1453 __ movq(CpuRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreCoreRegister()
1457 size_t CodeGeneratorX86_64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1459 __ movups(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1461 __ movsd(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1466 size_t CodeGeneratorX86_64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1468 __ movups(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
1470 __ movsd(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_x86.cc1059 size_t CodeGeneratorX86::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1060 __ movl(Address(ESP, stack_index), static_cast<Register>(reg_id)); in SaveCoreRegister()
1064 size_t CodeGeneratorX86::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1065 __ movl(static_cast<Register>(reg_id), Address(ESP, stack_index)); in RestoreCoreRegister()
1069 size_t CodeGeneratorX86::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1071 __ movups(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1073 __ movsd(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1078 size_t CodeGeneratorX86::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1080 __ movups(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
1082 __ movsd(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_arm64.cc1523 size_t CodeGeneratorARM64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1524 Register reg = Register(VIXLRegCodeFromART(reg_id), kXRegSize); in SaveCoreRegister()
1529 size_t CodeGeneratorARM64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1530 Register reg = Register(VIXLRegCodeFromART(reg_id), kXRegSize); in RestoreCoreRegister()
1536 uint32_t reg_id ATTRIBUTE_UNUSED) { in SaveFloatingPointRegister()
1543 uint32_t reg_id ATTRIBUTE_UNUSED) { in RestoreFloatingPointRegister()
Dcode_generator_arm_vixl.cc1106 uint32_t reg_id ATTRIBUTE_UNUSED) { in SaveCoreRegister()
1113 uint32_t reg_id ATTRIBUTE_UNUSED) { in RestoreCoreRegister()
1119 uint32_t reg_id ATTRIBUTE_UNUSED) { in SaveFloatingPointRegister()
1125 uint32_t reg_id ATTRIBUTE_UNUSED) { in RestoreFloatingPointRegister()