Lines Matching defs:NewRC
51 const TargetRegisterClass *NewRC = TRI->getCommonSubClass(OldRC, RC);
52 if (!NewRC || NewRC == OldRC)
53 return NewRC;
54 if (NewRC->getNumRegs() < MinNumRegs)
56 setRegClass(Reg, NewRC);
57 return NewRC;
64 const TargetRegisterClass *NewRC = TRI->getLargestLegalSuperClass(OldRC);
67 if (NewRC == OldRC)
77 NewRC = TRI->getMatchingSuperRegClass(NewRC, OpRC, SubIdx);
79 NewRC = TRI->getSubClassWithSubReg(NewRC, SubIdx);
81 NewRC = TRI->getCommonSubClass(NewRC, OpRC);
82 if (!NewRC || NewRC == OldRC)
85 setRegClass(Reg, NewRC);