Home
last modified time | relevance | path

Searched refs:reg_id (Results 1 – 18 of 18) 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.h400 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
401 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
402 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
403 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_x86.h422 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
423 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
424 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
425 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_riscv64.h488 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
489 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
490 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
491 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator.h276 virtual size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
278 virtual size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
280 virtual size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
281 virtual size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
Dcode_generator_arm_vixl.h547 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
548 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
549 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
550 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_arm64.h684 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) override;
685 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) override;
686 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
687 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) override;
Dcode_generator_x86_64.cc1518 size_t CodeGeneratorX86_64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1519 __ movq(Address(CpuRegister(RSP), stack_index), CpuRegister(reg_id)); in SaveCoreRegister()
1523 size_t CodeGeneratorX86_64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1524 __ movq(CpuRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreCoreRegister()
1528 size_t CodeGeneratorX86_64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1530 __ movups(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1532 __ movsd(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1537 size_t CodeGeneratorX86_64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1539 __ movups(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
1541 __ movsd(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_riscv64.cc6313 size_t CodeGeneratorRISCV64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
6314 __ Stored(XRegister(reg_id), SP, stack_index); in SaveCoreRegister()
6318 size_t CodeGeneratorRISCV64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
6319 __ Loadd(XRegister(reg_id), SP, stack_index); in RestoreCoreRegister()
6323 size_t CodeGeneratorRISCV64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
6329 __ FStored(FRegister(reg_id), SP, stack_index); in SaveFloatingPointRegister()
6333 size_t CodeGeneratorRISCV64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
6339 __ FLoadd(FRegister(reg_id), SP, stack_index); in RestoreFloatingPointRegister()
Dcode_generator_x86.cc1078 size_t CodeGeneratorX86::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1079 __ movl(Address(ESP, stack_index), static_cast<Register>(reg_id)); in SaveCoreRegister()
1083 size_t CodeGeneratorX86::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1084 __ movl(static_cast<Register>(reg_id), Address(ESP, stack_index)); in RestoreCoreRegister()
1088 size_t CodeGeneratorX86::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument
1090 __ movups(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1092 __ movsd(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister()
1097 size_t CodeGeneratorX86::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument
1099 __ movups(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
1101 __ movsd(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
Dcode_generator_arm64.cc1603 size_t CodeGeneratorARM64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument
1604 Register reg = Register(VIXLRegCodeFromART(reg_id), kXRegSize); in SaveCoreRegister()
1609 size_t CodeGeneratorARM64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument
1610 Register reg = Register(VIXLRegCodeFromART(reg_id), kXRegSize); in RestoreCoreRegister()
1616 [[maybe_unused]] uint32_t reg_id) { in SaveFloatingPointRegister() argument
1623 [[maybe_unused]] uint32_t reg_id) { in RestoreFloatingPointRegister() argument
Dcode_generator_arm_vixl.cc1098 [[maybe_unused]] uint32_t reg_id) { in SaveCoreRegister() argument
1105 [[maybe_unused]] uint32_t reg_id) { in RestoreCoreRegister() argument
1111 [[maybe_unused]] uint32_t reg_id) { in SaveFloatingPointRegister() argument
1117 [[maybe_unused]] uint32_t reg_id) { in RestoreFloatingPointRegister() argument