Lines Matching refs:BestRC
219 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
222 RC->contains(reg) && (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
223 BestRC = RC; in getMinimalPhysRegClass()
226 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
227 return BestRC; in getMinimalPhysRegClass()
237 const TargetRegisterClass *BestRC = nullptr; in getMinimalPhysRegClassLLT() local
240 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClassLLT()
241 BestRC = RC; in getMinimalPhysRegClassLLT()
244 return BestRC; in getMinimalPhysRegClassLLT()
337 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
365 if (BestRC && getRegSizeInBits(*RC) >= getRegSizeInBits(*BestRC)) in getCommonSuperRegClass()
369 BestRC = RC; in getCommonSuperRegClass()
374 if (getRegSizeInBits(*BestRC) == MinSize) in getCommonSuperRegClass()
375 return BestRC; in getCommonSuperRegClass()
378 return BestRC; in getCommonSuperRegClass()