Lines Matching refs:reg
53 bool IsAccessibleGPR(uint32_t reg) override { in IsAccessibleGPR() argument
54 DCHECK_LT(reg, arraysize(gprs_)); in IsAccessibleGPR()
55 return gprs_[reg] != nullptr; in IsAccessibleGPR()
58 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() argument
59 DCHECK_LT(reg, arraysize(gprs_)); in GetGPRAddress()
60 return gprs_[reg]; in GetGPRAddress()
63 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() argument
65 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfXRegisters)); in GetGPR()
66 DCHECK(IsAccessibleGPR(reg)); in GetGPR()
67 return *gprs_[reg]; in GetGPR()
70 void SetGPR(uint32_t reg, uintptr_t value) override;
72 bool IsAccessibleFPR(uint32_t reg) override { in IsAccessibleFPR() argument
73 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfDRegisters)); in IsAccessibleFPR()
74 return fprs_[reg] != nullptr; in IsAccessibleFPR()
77 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() argument
78 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfDRegisters)); in GetFPR()
79 DCHECK(IsAccessibleFPR(reg)); in GetFPR()
80 return *fprs_[reg]; in GetFPR()
83 void SetFPR(uint32_t reg, uintptr_t value) override;