Lines Matching refs:Reg
74 bool isAllocated(unsigned Reg) const { in isAllocated() argument
75 return UsedRegs[Reg/32] & (1 << (Reg&31)); in isAllocated()
121 unsigned AllocateReg(unsigned Reg) { in AllocateReg() argument
122 if (isAllocated(Reg)) return 0; in AllocateReg()
123 MarkAllocated(Reg); in AllocateReg()
124 return Reg; in AllocateReg()
128 unsigned AllocateReg(unsigned Reg, unsigned ShadowReg) { in AllocateReg() argument
129 if (isAllocated(Reg)) return 0; in AllocateReg()
130 MarkAllocated(Reg); in AllocateReg()
132 return Reg; in AllocateReg()
144 unsigned Reg = Regs[FirstUnalloc]; in AllocateReg() local
145 MarkAllocated(Reg); in AllocateReg()
146 return Reg; in AllocateReg()
157 unsigned Reg = Regs[FirstUnalloc], ShadowReg = ShadowRegs[FirstUnalloc]; in AllocateReg() local
158 MarkAllocated(Reg); in AllocateReg()
160 return Reg; in AllocateReg()
182 void MarkAllocated(unsigned Reg);