Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp133 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
137 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
138 BestRC = RC; in getMinimalPhysRegClass()
141 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
142 return BestRC; in getMinimalPhysRegClass()
243 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
271 if (BestRC && RC->getSize() >= BestRC->getSize()) in getCommonSuperRegClass()
275 BestRC = RC; in getCommonSuperRegClass()
280 if (BestRC->getSize() == MinSize) in getCommonSuperRegClass()
281 return BestRC; in getCommonSuperRegClass()
[all …]
DTargetLoweringBase.cpp1275 const TargetRegisterClass *BestRC = RC; in findRepresentativeClass() local
1279 if (SuperRC->getSize() <= BestRC->getSize()) in findRepresentativeClass()
1283 BestRC = SuperRC; in findRepresentativeClass()
1285 return std::make_pair(BestRC, 1); in findRepresentativeClass()
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetRegisterInfo.cpp60 const TargetRegisterClass* BestRC = 0; in getMinimalPhysRegClass() local
64 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
65 BestRC = RC; in getMinimalPhysRegClass()
68 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
69 return BestRC; in getMinimalPhysRegClass()
/external/swiftshader/third_party/llvm-7.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()
304 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
332 if (BestRC && getRegSizeInBits(*RC) >= getRegSizeInBits(*BestRC)) in getCommonSuperRegClass()
336 BestRC = RC; in getCommonSuperRegClass()
341 if (getRegSizeInBits(*BestRC) == MinSize) in getCommonSuperRegClass()
342 return BestRC; in getCommonSuperRegClass()
[all …]
DTargetLoweringBase.cpp1045 const TargetRegisterClass *BestRC = RC; in findRepresentativeClass() local
1049 if (TRI->getSpillSize(*SuperRC) <= TRI->getSpillSize(*BestRC)) in findRepresentativeClass()
1053 BestRC = SuperRC; in findRepresentativeClass()
1055 return std::make_pair(BestRC, 1); in findRepresentativeClass()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp734 const TargetRegisterClass *BestRC = RC; in findRepresentativeClass() local
742 BestRC = RRC; in findRepresentativeClass()
744 return std::make_pair(BestRC, 1); in findRepresentativeClass()