Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp116 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
120 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
121 BestRC = RC; in getMinimalPhysRegClass()
124 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
125 return BestRC; in getMinimalPhysRegClass()
218 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
246 if (BestRC && RC->getSize() >= BestRC->getSize()) in getCommonSuperRegClass()
250 BestRC = RC; in getCommonSuperRegClass()
255 if (BestRC->getSize() == MinSize) in getCommonSuperRegClass()
256 return BestRC; in getCommonSuperRegClass()
[all …]
DTargetLoweringBase.cpp992 const TargetRegisterClass *BestRC = RC; in findRepresentativeClass() local
996 if (SuperRC->getSize() <= BestRC->getSize()) in findRepresentativeClass()
1000 BestRC = SuperRC; in findRepresentativeClass()
1002 return std::make_pair(BestRC, 1); in findRepresentativeClass()