Lines Matching refs:reg
53 bool IsAccessibleGPR(uint32_t reg) override { in IsAccessibleGPR() argument
54 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters)); in IsAccessibleGPR()
55 return gprs_[reg] != nullptr; in IsAccessibleGPR()
58 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() argument
59 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters)); in GetGPRAddress()
60 return gprs_[reg]; in GetGPRAddress()
63 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() argument
64 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters)); in GetGPR()
65 DCHECK(IsAccessibleGPR(reg)); in GetGPR()
66 return *gprs_[reg]; in GetGPR()
69 void SetGPR(uint32_t reg, uintptr_t value) override;
71 bool IsAccessibleFPR(uint32_t reg) override { in IsAccessibleFPR() argument
72 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfSRegisters)); in IsAccessibleFPR()
73 return fprs_[reg] != nullptr; in IsAccessibleFPR()
76 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() argument
77 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfSRegisters)); in GetFPR()
78 DCHECK(IsAccessibleFPR(reg)); in GetFPR()
79 return *fprs_[reg]; in GetFPR()
82 void SetFPR(uint32_t reg, uintptr_t value) override;