Lines Matching refs:reg
57 bool IsAccessibleGPR(uint32_t reg) override { in IsAccessibleGPR() argument
58 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters)); in IsAccessibleGPR()
59 return gprs_[reg] != nullptr; in IsAccessibleGPR()
62 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() argument
63 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters)); in GetGPRAddress()
64 return gprs_[reg]; in GetGPRAddress()
67 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() argument
68 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters)); in GetGPR()
69 DCHECK(IsAccessibleGPR(reg)); in GetGPR()
70 return *gprs_[reg]; in GetGPR()
73 void SetGPR(uint32_t reg, uintptr_t value) override;
75 bool IsAccessibleFPR(uint32_t reg) override { in IsAccessibleFPR() argument
76 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfSRegisters)); in IsAccessibleFPR()
77 return fprs_[reg] != nullptr; in IsAccessibleFPR()
80 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() argument
81 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfSRegisters)); in GetFPR()
82 DCHECK(IsAccessibleFPR(reg)); in GetFPR()
83 return *fprs_[reg]; in GetFPR()
86 void SetFPR(uint32_t reg, uintptr_t value) override;