Lines Matching defs:PhysReg
120 bool spillInterferences(const LiveInterval &VirtReg, MCRegister PhysReg,
208 // Spill or split all live virtual registers currently unified under PhysReg
212 MCRegister PhysReg,
219 for (MCRegUnit Unit : TRI->regunits(PhysReg)) {
227 LLVM_DEBUG(dbgs() << "spilling " << printReg(PhysReg, TRI)
231 // Spill each interfering vreg allocated to PhysReg or an alias.
268 for (MCRegister PhysReg : Order) {
269 assert(PhysReg.isValid());
270 // Check for interference in PhysReg
271 switch (Matrix->checkInterference(VirtReg, PhysReg)) {
273 // PhysReg is available, allocate it.
274 return PhysReg;
278 PhysRegSpillCands.push_back(PhysReg);
288 for (MCRegister &PhysReg : PhysRegSpillCands) {
289 if (!spillInterferences(VirtReg, PhysReg, SplitVRegs))
292 assert(!Matrix->checkInterference(VirtReg, PhysReg) &&
295 return PhysReg;