• Home
  • Raw
  • Download

Lines Matching refs:virtReg

92     bool hasPhys(unsigned virtReg) const {  in hasPhys()  argument
93 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()
98 unsigned getPhys(unsigned virtReg) const { in getPhys() argument
99 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in getPhys()
100 return Virt2PhysMap[virtReg]; in getPhys()
105 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { in assignVirt2Phys() argument
106 assert(TargetRegisterInfo::isVirtualRegister(virtReg) && in assignVirt2Phys()
108 assert(Virt2PhysMap[virtReg] == NO_PHYS_REG && in assignVirt2Phys()
111 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()
116 void clearVirt(unsigned virtReg) { in clearVirt() argument
117 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in clearVirt()
118 assert(Virt2PhysMap[virtReg] != NO_PHYS_REG && in clearVirt()
120 Virt2PhysMap[virtReg] = NO_PHYS_REG; in clearVirt()
138 void setIsSplitFromReg(unsigned virtReg, unsigned SReg) { in setIsSplitFromReg() argument
139 Virt2SplitMap[virtReg] = SReg; in setIsSplitFromReg()
143 unsigned getPreSplitReg(unsigned virtReg) const { in getPreSplitReg() argument
144 return Virt2SplitMap[virtReg]; in getPreSplitReg()
158 bool isAssignedReg(unsigned virtReg) const { in isAssignedReg() argument
159 if (getStackSlot(virtReg) == NO_STACK_SLOT) in isAssignedReg()
163 return (Virt2SplitMap[virtReg] && Virt2PhysMap[virtReg] != NO_PHYS_REG); in isAssignedReg()
168 int getStackSlot(unsigned virtReg) const { in getStackSlot() argument
169 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in getStackSlot()
170 return Virt2StackSlotMap[virtReg]; in getStackSlot()
175 int assignVirt2StackSlot(unsigned virtReg);
178 void assignVirt2StackSlot(unsigned virtReg, int frameIndex);