Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp140 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
144 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
145 BestRC = RC; in getMinimalPhysRegClass()
148 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
149 return BestRC; in getMinimalPhysRegClass()
250 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
278 if (BestRC && RC->getSize() >= BestRC->getSize()) in getCommonSuperRegClass()
282 BestRC = RC; in getCommonSuperRegClass()
287 if (BestRC->getSize() == MinSize) in getCommonSuperRegClass()
288 return BestRC; in getCommonSuperRegClass()
[all …]
DTargetLoweringBase.cpp1166 const TargetRegisterClass *BestRC = RC; in findRepresentativeClass() local
1170 if (SuperRC->getSize() <= BestRC->getSize()) in findRepresentativeClass()
1174 BestRC = SuperRC; in findRepresentativeClass()
1176 return std::make_pair(BestRC, 1); in findRepresentativeClass()