Lines Matching refs:BestRC
215 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
218 RC->contains(reg) && (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
219 BestRC = RC; in getMinimalPhysRegClass()
222 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
223 return BestRC; in getMinimalPhysRegClass()
233 const TargetRegisterClass *BestRC = nullptr; in getMinimalPhysRegClassLLT() local
236 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClassLLT()
237 BestRC = RC; in getMinimalPhysRegClassLLT()
240 return BestRC; in getMinimalPhysRegClassLLT()
333 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
361 if (BestRC && getRegSizeInBits(*RC) >= getRegSizeInBits(*BestRC)) in getCommonSuperRegClass()
365 BestRC = RC; in getCommonSuperRegClass()
370 if (getRegSizeInBits(*BestRC) == MinSize) in getCommonSuperRegClass()
371 return BestRC; in getCommonSuperRegClass()
374 return BestRC; in getCommonSuperRegClass()