Lines Matching refs:BestRC
216 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
219 RC->contains(reg) && (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
220 BestRC = RC; in getMinimalPhysRegClass()
223 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
224 return BestRC; in getMinimalPhysRegClass()
316 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
344 if (BestRC && getRegSizeInBits(*RC) >= getRegSizeInBits(*BestRC)) in getCommonSuperRegClass()
348 BestRC = RC; in getCommonSuperRegClass()
353 if (getRegSizeInBits(*BestRC) == MinSize) in getCommonSuperRegClass()
354 return BestRC; in getCommonSuperRegClass()
357 return BestRC; in getCommonSuperRegClass()