Lines Matching defs:PhysReg
118 bool spillInterferences(const LiveInterval &VirtReg, MCRegister PhysReg,
203 // Spill or split all live virtual registers currently unified under PhysReg
207 MCRegister PhysReg,
214 for (MCRegUnit Unit : TRI->regunits(PhysReg)) {
222 LLVM_DEBUG(dbgs() << "spilling " << printReg(PhysReg, TRI)
226 // Spill each interfering vreg allocated to PhysReg or an alias.
263 for (MCRegister PhysReg : Order) {
264 assert(PhysReg.isValid());
265 // Check for interference in PhysReg
266 switch (Matrix->checkInterference(VirtReg, PhysReg)) {
268 // PhysReg is available, allocate it.
269 return PhysReg;
273 PhysRegSpillCands.push_back(PhysReg);
283 for (MCRegister &PhysReg : PhysRegSpillCands) {
284 if (!spillInterferences(VirtReg, PhysReg, SplitVRegs))
287 assert(!Matrix->checkInterference(VirtReg, PhysReg) &&
290 return PhysReg;