Home
last modified time | relevance | path

Searched refs:BestRC (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp117 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
121 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
122 BestRC = RC; in getMinimalPhysRegClass()
125 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
126 return BestRC; in getMinimalPhysRegClass()
219 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
247 if (BestRC && RC->getSize() >= BestRC->getSize()) in getCommonSuperRegClass()
251 BestRC = RC; in getCommonSuperRegClass()
256 if (BestRC->getSize() == MinSize) in getCommonSuperRegClass()
257 return BestRC; in getCommonSuperRegClass()
[all …]
DTargetLoweringBase.cpp1164 const TargetRegisterClass *BestRC = RC; in findRepresentativeClass() local
1168 if (SuperRC->getSize() <= BestRC->getSize()) in findRepresentativeClass()
1172 BestRC = SuperRC; in findRepresentativeClass()
1174 return std::make_pair(BestRC, 1); in findRepresentativeClass()