Lines Matching refs:BestRC
218 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
221 RC->contains(reg) && (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
222 BestRC = RC; in getMinimalPhysRegClass()
225 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
226 return BestRC; in getMinimalPhysRegClass()
236 const TargetRegisterClass *BestRC = nullptr; in getMinimalPhysRegClassLLT() local
239 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClassLLT()
240 BestRC = RC; in getMinimalPhysRegClassLLT()
243 return BestRC; in getMinimalPhysRegClassLLT()
336 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
364 if (BestRC && getRegSizeInBits(*RC) >= getRegSizeInBits(*BestRC)) in getCommonSuperRegClass()
368 BestRC = RC; in getCommonSuperRegClass()
373 if (getRegSizeInBits(*BestRC) == MinSize) in getCommonSuperRegClass()
374 return BestRC; in getCommonSuperRegClass()
377 return BestRC; in getCommonSuperRegClass()