Lines Matching refs:NewVRegs
497 SmallVectorImpl<unsigned> &NewVRegs);
502 SmallVectorImpl<unsigned> &NewVRegs);
761 SmallVectorImpl<unsigned> &NewVRegs) {
780 evictInterference(VirtReg, Hint, NewVRegs);
797 unsigned CheapReg = tryEvict(VirtReg, Order, NewVRegs, Cost);
1037 SmallVectorImpl<unsigned> &NewVRegs) {
1076 NewVRegs.push_back(Intf->reg);
1096 SmallVectorImpl<unsigned> &NewVRegs,
1159 evictInterference(VirtReg, BestPhys, NewVRegs);
1793 SmallVectorImpl<unsigned> &NewVRegs) {
1832 return doRegionSplit(VirtReg, BestCand, HasCompact, NewVRegs);
1934 SmallVectorImpl<unsigned> &NewVRegs) {
1937 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats);
1980 SmallVectorImpl<unsigned> &NewVRegs) {
1984 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats);
2047 SmallVectorImpl<unsigned> &NewVRegs) {
2055 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats);
2190 SmallVectorImpl<unsigned> &NewVRegs) {
2377 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats);
2415 /// @return Physreg when VirtReg may be assigned and/or new NewVRegs.
2417 SmallVectorImpl<unsigned>&NewVRegs) {
2427 unsigned PhysReg = tryLocalSplit(VirtReg, Order, NewVRegs);
2428 if (PhysReg || !NewVRegs.empty())
2430 return tryInstructionSplit(VirtReg, Order, NewVRegs);
2445 if (unsigned PhysReg = tryAssign(VirtReg, Order, NewVRegs))
2453 unsigned PhysReg = tryRegionSplit(VirtReg, Order, NewVRegs);
2454 if (PhysReg || !NewVRegs.empty())
2459 return tryBlockSplit(VirtReg, Order, NewVRegs);
2560 SmallVectorImpl<unsigned> &NewVRegs,
2643 NewVRegs.push_back(NewVReg);
2658 // don't add it to NewVRegs because its physical register will be restored
2660 // selectOrSplit and should be added into NewVRegs.
2666 NewVRegs.push_back(*Next);
2693 SmallVectorImpl<unsigned> &NewVRegs,
2700 PhysReg = selectOrSplitImpl(*LI, NewVRegs, FixedRegisters, Depth + 1);
2728 SmallVectorImpl<unsigned> &NewVRegs) {
2732 unsigned Reg = selectOrSplitImpl(VirtReg, NewVRegs, FixedRegisters);
2761 SmallVectorImpl<unsigned> &NewVRegs) {
2787 doRegionSplit(VirtReg, BestCand, false/*HasCompact*/, NewVRegs);
2989 SmallVectorImpl<unsigned> &NewVRegs,
2995 if (unsigned PhysReg = tryAssign(VirtReg, Order, NewVRegs)) {
2998 // When NewVRegs is not empty, we may have made decisions such as evicting
3002 NewVRegs.empty()) {
3004 CostPerUseLimit, NewVRegs);
3005 if (CSRReg || !NewVRegs.empty())
3022 tryEvict(VirtReg, Order, NewVRegs, CostPerUseLimit)) {
3037 assert((NewVRegs.empty() || Depth) && "Cannot append to existing NewVRegs");
3045 NewVRegs.push_back(VirtReg.reg);
3051 unsigned NewVRegSizeBefore = NewVRegs.size();
3052 unsigned PhysReg = trySplit(VirtReg, Order, NewVRegs);
3053 if (PhysReg || (NewVRegs.size() - NewVRegSizeBefore)) {
3063 return tryLastChanceRecoloring(VirtReg, Order, NewVRegs, FixedRegisters,
3074 NewVRegs.push_back(VirtReg.reg);
3078 LiveRangeEdit LRE(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats);
3080 setStage(NewVRegs.begin(), NewVRegs.end(), RS_Done);