Home
last modified time | relevance | path

Searched refs:BestRC (Results 1 – 8 of 8) 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-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()
/external/llvm-project/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp216 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
219 RC->contains(reg) && (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
220 BestRC = RC; in getMinimalPhysRegClass()
223 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
224 return BestRC; in getMinimalPhysRegClass()
316 const TargetRegisterClass *BestRC = nullptr; in getCommonSuperRegClass() local
344 if (BestRC && getRegSizeInBits(*RC) >= getRegSizeInBits(*BestRC)) in getCommonSuperRegClass()
348 BestRC = RC; in getCommonSuperRegClass()
353 if (getRegSizeInBits(*BestRC) == MinSize) in getCommonSuperRegClass()
354 return BestRC; in getCommonSuperRegClass()
[all …]
DTargetLoweringBase.cpp1272 const TargetRegisterClass *BestRC = RC; in findRepresentativeClass() local
1276 if (TRI->getSpillSize(*SuperRC) <= TRI->getSpillSize(*BestRC)) in findRepresentativeClass()
1280 BestRC = SuperRC; in findRepresentativeClass()
1282 return std::make_pair(BestRC, 1); in findRepresentativeClass()
/external/llvm-project/llvm/test/CodeGen/AVR/
Dpre-schedule.ll24 …rInfo::getMinimalPhysRegClass(unsigned int, llvm::MVT) const: Assertion `BestRC && "Couldn't find …
/external/llvm-project/llvm/utils/TableGen/
DCodeGenRegisters.cpp2394 const CodeGenRegisterClass *BestRC = nullptr; in getMinimalPhysRegClass() local
2397 RC.contains(Reg) && (!BestRC || BestRC->hasSubClass(&RC))) in getMinimalPhysRegClass()
2398 BestRC = &RC; in getMinimalPhysRegClass()
2401 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
2402 return BestRC; in getMinimalPhysRegClass()