Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetRegisterInfo.cpp218 const TargetRegisterClass* BestRC = nullptr; in getMinimalPhysRegClass() local
221 RC->contains(reg) && (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClass()
222 BestRC = RC; in getMinimalPhysRegClass()
226 return BestRC; in getMinimalPhysRegClass()
239 (!BestRC || BestRC->hasSubClass(RC))) in getMinimalPhysRegClassLLT()
240 BestRC = RC; in getMinimalPhysRegClassLLT()
243 return BestRC; in getMinimalPhysRegClassLLT()
364 if (BestRC && getRegSizeInBits(*RC) >= getRegSizeInBits(*BestRC)) in getCommonSuperRegClass()
368 BestRC = RC; in getCommonSuperRegClass()
374 return BestRC; in getCommonSuperRegClass()
[all …]
H A DTargetLoweringBase.cpp1262 const TargetRegisterClass *BestRC = RC; in findRepresentativeClass() local
1266 if (TRI->getSpillSize(*SuperRC) <= TRI->getSpillSize(*BestRC)) in findRepresentativeClass()
1270 BestRC = SuperRC; in findRepresentativeClass()
1272 return std::make_pair(BestRC, 1); in findRepresentativeClass()
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kRegisterInfo.cpp91 const TargetRegisterClass *BestRC = nullptr; in getMaximalPhysRegClass() local
97 (!BestRC || in getMaximalPhysRegClass()
98 (BestRC->hasSubClass(RC) && RC->getNumRegs() > BestRC->getNumRegs()))) in getMaximalPhysRegClass()
99 BestRC = RC; in getMaximalPhysRegClass()
102 assert(BestRC && "Couldn't find the register class"); in getMaximalPhysRegClass()
103 return BestRC; in getMaximalPhysRegClass()
/llvm-project-15.0.7/llvm/test/CodeGen/AVR/
H A Dpre-schedule.ll24 …rInfo::getMinimalPhysRegClass(unsigned int, llvm::MVT) const: Assertion `BestRC && "Couldn't find …
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp2438 const CodeGenRegisterClass *BestRC = nullptr; in getMinimalPhysRegClass() local
2441 RC.contains(Reg) && (!BestRC || BestRC->hasSubClass(&RC))) in getMinimalPhysRegClass()
2442 BestRC = &RC; in getMinimalPhysRegClass()
2445 assert(BestRC && "Couldn't find the register class"); in getMinimalPhysRegClass()
2446 return BestRC; in getMinimalPhysRegClass()