Lines Matching refs:NewVRegs
380 SmallVectorImpl<unsigned> &NewVRegs);
385 SmallVectorImpl<unsigned> &NewVRegs);
620 SmallVectorImpl<unsigned> &NewVRegs) {
639 evictInterference(VirtReg, Hint, NewVRegs);
653 unsigned CheapReg = tryEvict(VirtReg, Order, NewVRegs, Cost);
808 SmallVectorImpl<unsigned> &NewVRegs) {
840 NewVRegs.push_back(Intf->reg);
860 SmallVectorImpl<unsigned> &NewVRegs,
920 evictInterference(VirtReg, BestPhys, NewVRegs);
1354 SmallVectorImpl<unsigned> &NewVRegs) {
1380 return doRegionSplit(VirtReg, BestCand, HasCompact, NewVRegs);
1467 SmallVectorImpl<unsigned> &NewVRegs) {
1470 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats);
1514 SmallVectorImpl<unsigned> &NewVRegs) {
1518 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats);
1582 SmallVectorImpl<unsigned> &NewVRegs) {
1590 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats);
1726 SmallVectorImpl<unsigned> &NewVRegs) {
1913 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats);
1951 /// @return Physreg when VirtReg may be assigned and/or new NewVRegs.
1953 SmallVectorImpl<unsigned>&NewVRegs) {
1962 unsigned PhysReg = tryLocalSplit(VirtReg, Order, NewVRegs);
1963 if (PhysReg || !NewVRegs.empty())
1965 return tryInstructionSplit(VirtReg, Order, NewVRegs);
1979 if (unsigned PhysReg = tryAssign(VirtReg, Order, NewVRegs))
1987 unsigned PhysReg = tryRegionSplit(VirtReg, Order, NewVRegs);
1988 if (PhysReg || !NewVRegs.empty())
1993 return tryBlockSplit(VirtReg, Order, NewVRegs);
2081 SmallVectorImpl<unsigned> &NewVRegs,
2157 if (tryRecoloringCandidates(RecoloringQueue, NewVRegs, FixedRegisters,
2196 SmallVectorImpl<unsigned> &NewVRegs,
2203 PhysReg = selectOrSplitImpl(*LI, NewVRegs, FixedRegisters, Depth + 1);
2219 SmallVectorImpl<unsigned> &NewVRegs) {
2223 unsigned Reg = selectOrSplitImpl(VirtReg, NewVRegs, FixedRegisters);
2252 SmallVectorImpl<unsigned> &NewVRegs) {
2278 doRegionSplit(VirtReg, BestCand, false/*HasCompact*/, NewVRegs);
2479 SmallVectorImpl<unsigned> &NewVRegs,
2485 if (unsigned PhysReg = tryAssign(VirtReg, Order, NewVRegs)) {
2486 // When NewVRegs is not empty, we may have made decisions such as evicting
2490 NewVRegs.empty()) {
2492 CostPerUseLimit, NewVRegs);
2493 if (CSRReg || !NewVRegs.empty())
2510 tryEvict(VirtReg, Order, NewVRegs, CostPerUseLimit)) {
2522 assert(NewVRegs.empty() && "Cannot append to existing NewVRegs");
2530 NewVRegs.push_back(VirtReg.reg);
2537 return tryLastChanceRecoloring(VirtReg, Order, NewVRegs, FixedRegisters,
2541 unsigned PhysReg = trySplit(VirtReg, Order, NewVRegs);
2542 if (PhysReg || !NewVRegs.empty())
2553 NewVRegs.push_back(VirtReg.reg);
2556 LiveRangeEdit LRE(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats);
2558 setStage(NewVRegs.begin(), NewVRegs.end(), RS_Done);