Lines Matching defs:BestRC
215 const TargetRegisterClass* BestRC = nullptr;
218 RC->contains(reg) && (!BestRC || BestRC->hasSubClass(RC)))
219 BestRC = RC;
222 assert(BestRC && "Couldn't find the register class");
223 return BestRC;
233 const TargetRegisterClass *BestRC = nullptr;
236 (!BestRC || BestRC->hasSubClass(RC)))
237 BestRC = RC;
240 return BestRC;
333 const TargetRegisterClass *BestRC = nullptr;
360 // Is RC a better candidate than BestRC?
361 if (BestRC && getRegSizeInBits(*RC) >= getRegSizeInBits(*BestRC))
365 BestRC = RC;
370 if (getRegSizeInBits(*BestRC) == MinSize)
371 return BestRC;
374 return BestRC;