Lines Matching refs:BestRC
140 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
144 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
145 BestRC = RC; in getMinimalPhysRegClass()
148 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
149 return BestRC; in getMinimalPhysRegClass()
250 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
278 if (BestRC && RC->getSize() >= BestRC->getSize()) in getCommonSuperRegClass()
282 BestRC = RC; in getCommonSuperRegClass()
287 if (BestRC->getSize() == MinSize) in getCommonSuperRegClass()
288 return BestRC; in getCommonSuperRegClass()
291 return BestRC; in getCommonSuperRegClass()