Lines Matching refs:reg
52 bool IsAccessibleGPR(uint32_t reg) override { in IsAccessibleGPR() argument
53 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters)); in IsAccessibleGPR()
54 return gprs_[reg] != nullptr; in IsAccessibleGPR()
57 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() argument
58 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters)); in GetGPRAddress()
59 return gprs_[reg]; in GetGPRAddress()
62 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() argument
63 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters)); in GetGPR()
64 DCHECK(IsAccessibleGPR(reg)); in GetGPR()
65 return *gprs_[reg]; in GetGPR()
68 void SetGPR(uint32_t reg, uintptr_t value) override;
70 bool IsAccessibleFPR(uint32_t reg) override { in IsAccessibleFPR() argument
71 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfFloatRegisters)); in IsAccessibleFPR()
72 return fprs_[reg] != nullptr; in IsAccessibleFPR()
75 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() argument
76 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfFloatRegisters)); in GetFPR()
77 DCHECK(IsAccessibleFPR(reg)); in GetFPR()
78 return *fprs_[reg]; in GetFPR()
81 void SetFPR(uint32_t reg, uintptr_t value) override;