Lines Matching refs:BestRC
116 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
120 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
121 BestRC = RC; in getMinimalPhysRegClass()
124 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
125 return BestRC; in getMinimalPhysRegClass()
218 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
246 if (BestRC && RC->getSize() >= BestRC->getSize()) in getCommonSuperRegClass()
250 BestRC = RC; in getCommonSuperRegClass()
255 if (BestRC->getSize() == MinSize) in getCommonSuperRegClass()
256 return BestRC; in getCommonSuperRegClass()
259 return BestRC; in getCommonSuperRegClass()