Lines Matching refs:reg
48 bool IsAccessibleGPR(uint32_t reg) override { in IsAccessibleGPR() argument
49 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfGpuRegisters)); in IsAccessibleGPR()
50 return gprs_[reg] != nullptr; in IsAccessibleGPR()
53 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() argument
54 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfGpuRegisters)); in GetGPRAddress()
55 return gprs_[reg]; in GetGPRAddress()
58 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() argument
59 CHECK_LT(reg, static_cast<uint32_t>(kNumberOfGpuRegisters)); in GetGPR()
60 DCHECK(IsAccessibleGPR(reg)); in GetGPR()
61 return *gprs_[reg]; in GetGPR()
64 void SetGPR(uint32_t reg, uintptr_t value) override;
66 bool IsAccessibleFPR(uint32_t reg) override { in IsAccessibleFPR() argument
67 CHECK_LT(reg, static_cast<uint32_t>(kNumberOfFpuRegisters)); in IsAccessibleFPR()
68 return fprs_[reg] != nullptr; in IsAccessibleFPR()
71 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() argument
72 CHECK_LT(reg, static_cast<uint32_t>(kNumberOfFpuRegisters)); in GetFPR()
73 DCHECK(IsAccessibleFPR(reg)); in GetFPR()
74 return *fprs_[reg]; in GetFPR()
77 void SetFPR(uint32_t reg, uintptr_t value) override;