Lines Matching refs:CandReg
462 unsigned CandReg; in attemptTrivialCoalescing() local
467 CandReg = CopyMI->getOperand(1).getReg(); in attemptTrivialCoalescing()
472 CandReg = CopyMI->getOperand(0).getReg(); in attemptTrivialCoalescing()
481 if (TargetRegisterInfo::isVirtualRegister(CandReg)) { in attemptTrivialCoalescing()
482 if (!vrm_->isAssignedReg(CandReg)) in attemptTrivialCoalescing()
484 CandReg = vrm_->getPhys(CandReg); in attemptTrivialCoalescing()
486 if (Reg == CandReg) in attemptTrivialCoalescing()
490 if (!RC->contains(CandReg)) in attemptTrivialCoalescing()
493 if (li_->conflictsWithPhysReg(cur, *vrm_, CandReg)) in attemptTrivialCoalescing()
497 DEBUG(dbgs() << "Coalescing: " << cur << " -> " << tri_->getName(CandReg) in attemptTrivialCoalescing()
500 vrm_->assignVirt2Phys(cur.reg, CandReg); in attemptTrivialCoalescing()
503 return CandReg; in attemptTrivialCoalescing()