Lines Matching refs:RC
105 void RegisterClassInfo::compute(const TargetRegisterClass *RC) const { in compute()
106 assert(RC && "no register class given"); in compute()
107 RCInfo &RCI = RegClass[RC->getID()]; in compute()
111 unsigned NumRegs = RC->getNumRegs(); in compute()
124 ArrayRef<MCPhysReg> RawOrder = RC->getRawAllocationOrder(*MF); in compute()
162 TRI->getLargestLegalSuperClass(RC, *MF)) in compute()
163 if (Super != RC && getNumAllocatableRegs(Super) > RCI.NumRegs) in compute()
170 dbgs() << "AllocationOrder(" << TRI->getRegClassName(RC) << ") = ["; in compute()
184 const TargetRegisterClass *RC = nullptr; in computePSetLimit() local
198 if (!RC || NUnits > NumRCUnits) { in computePSetLimit()
199 RC = C; in computePSetLimit()
203 assert(RC && "Failed to find register class"); in computePSetLimit()
204 compute(RC); in computePSetLimit()
205 unsigned NAllocatableRegs = getNumAllocatableRegs(RC); in computePSetLimit()
213 unsigned NReserved = RC->getNumRegs() - NAllocatableRegs; in computePSetLimit()
214 return RegPressureSetLimit - TRI->getRegClassWeight(RC).RegWeight * NReserved; in computePSetLimit()