Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp196 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
199 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() local
324 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 …]
DTargetLoweringBase.cpp1126 const TargetRegisterClass *BestRC = RC; in findRepresentativeClass() local
1130 if (TRI->getSpillSize(*SuperRC) <= TRI->getSpillSize(*BestRC)) in findRepresentativeClass()
1134 BestRC = SuperRC; in findRepresentativeClass()
1136 return std::make_pair(BestRC, 1); in findRepresentativeClass()