Lines Matching refs:reg
56 bool IsAccessibleGPR(uint32_t reg) override { in IsAccessibleGPR() argument
57 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters)); in IsAccessibleGPR()
58 return gprs_[reg] != nullptr; in IsAccessibleGPR()
61 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() argument
62 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters)); in GetGPRAddress()
63 return gprs_[reg]; in GetGPRAddress()
66 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() argument
67 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters)); in GetGPR()
68 DCHECK(IsAccessibleGPR(reg)); in GetGPR()
69 return *gprs_[reg]; in GetGPR()
72 void SetGPR(uint32_t reg, uintptr_t value) override;
74 bool IsAccessibleFPR(uint32_t reg) override { in IsAccessibleFPR() argument
75 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfFloatRegisters)); in IsAccessibleFPR()
76 return fprs_[reg] != nullptr; in IsAccessibleFPR()
79 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() argument
80 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfFloatRegisters)); in GetFPR()
81 DCHECK(IsAccessibleFPR(reg)); in GetFPR()
82 return *fprs_[reg]; in GetFPR()
85 void SetFPR(uint32_t reg, uintptr_t value) override;