Lines Matching refs:reg
36 inline AddressType Get(uint32_t reg) { in Get()
37 if (IsSaved(reg)) { in Get()
38 return saved_regs[reg]; in Get()
40 return (*regs)[reg]; in Get()
43 inline AddressType* Save(uint32_t reg) { in Save()
44 if (reg >= MAX_REGISTERS) { in Save()
49 saved_reg_map |= 1ULL << reg; in Save()
50 saved_regs[reg] = (*regs)[reg]; in Save()
51 return &(*regs)[reg]; in Save()
54 inline bool IsSaved(uint32_t reg) { in IsSaved()
55 if (reg > MAX_REGISTERS) { in IsSaved()
60 return saved_reg_map & (1ULL << reg); in IsSaved()