Lines Matching refs:BestRC
196 const TargetRegisterClass* BestRC = nullptr;
199 RC->contains(reg) && (!BestRC || BestRC->hasSubClass(RC)))
200 BestRC = RC;
203 assert(BestRC && "Couldn't find the register class");
204 return BestRC;
296 const TargetRegisterClass *BestRC = nullptr;
323 // Is RC a better candidate than BestRC?
324 if (BestRC && getRegSizeInBits(*RC) >= getRegSizeInBits(*BestRC))
328 BestRC = RC;
333 if (getRegSizeInBits(*BestRC) == MinSize)
334 return BestRC;
337 return BestRC;