Lines Matching refs:reg
57 bool IsAccessibleGPR(uint32_t reg) override { in IsAccessibleGPR() argument
58 DCHECK_LT(reg, arraysize(gprs_)); in IsAccessibleGPR()
59 return gprs_[reg] != nullptr; in IsAccessibleGPR()
62 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() argument
63 DCHECK_LT(reg, arraysize(gprs_)); in GetGPRAddress()
64 return gprs_[reg]; in GetGPRAddress()
67 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() argument
69 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfXRegisters)); in GetGPR()
70 DCHECK(IsAccessibleGPR(reg)); in GetGPR()
71 return *gprs_[reg]; in GetGPR()
74 void SetGPR(uint32_t reg, uintptr_t value) override;
76 bool IsAccessibleFPR(uint32_t reg) override { in IsAccessibleFPR() argument
77 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfDRegisters)); in IsAccessibleFPR()
78 return fprs_[reg] != nullptr; in IsAccessibleFPR()
81 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() argument
82 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfDRegisters)); in GetFPR()
83 DCHECK(IsAccessibleFPR(reg)); in GetFPR()
84 return *fprs_[reg]; in GetFPR()
87 void SetFPR(uint32_t reg, uintptr_t value) override;