Lines Matching refs:PhysReg
118 bool spillInterferences(const LiveInterval &VirtReg, MCRegister PhysReg,
209 MCRegister PhysReg, in spillInterferences() argument
216 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in spillInterferences()
224 LLVM_DEBUG(dbgs() << "spilling " << printReg(PhysReg, TRI) in spillInterferences()
267 for (MCRegister PhysReg : Order) { in selectOrSplit() local
268 assert(PhysReg.isValid()); in selectOrSplit()
270 switch (Matrix->checkInterference(VirtReg, PhysReg)) { in selectOrSplit()
273 return PhysReg; in selectOrSplit()
277 PhysRegSpillCands.push_back(PhysReg); in selectOrSplit()
287 for (MCRegister &PhysReg : PhysRegSpillCands) { in selectOrSplit()
288 if (!spillInterferences(VirtReg, PhysReg, SplitVRegs)) in selectOrSplit()
291 assert(!Matrix->checkInterference(VirtReg, PhysReg) && in selectOrSplit()
294 return PhysReg; in selectOrSplit()