Searched refs:BestRC (Results 1 – 2 of 2) sorted by relevance
196 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local199 RC->contains(reg) && (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()200 BestRC = RC; in getMinimalPhysRegClass()203 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()204 return BestRC; in getMinimalPhysRegClass()296 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local324 if (BestRC && getRegSizeInBits(*RC) >= getRegSizeInBits(*BestRC)) in getCommonSuperRegClass()328 BestRC = RC; in getCommonSuperRegClass()333 if (getRegSizeInBits(*BestRC) == MinSize) in getCommonSuperRegClass()334 return BestRC; in getCommonSuperRegClass()[all …]
1126 const TargetRegisterClass *BestRC = RC; in findRepresentativeClass() local1130 if (TRI->getSpillSize(*SuperRC) <= TRI->getSpillSize(*BestRC)) in findRepresentativeClass()1134 BestRC = SuperRC; in findRepresentativeClass()1136 return std::make_pair(BestRC, 1); in findRepresentativeClass()