Lines Matching refs:RC
125 void RegisterClassInfo::compute(const TargetRegisterClass *RC) const { in compute()
126 assert(RC && "no register class given"); in compute()
127 RCInfo &RCI = RegClass[RC->getID()]; in compute()
131 unsigned NumRegs = RC->getNumRegs(); in compute()
144 ArrayRef<MCPhysReg> RawOrder = RC->getRawAllocationOrder(*MF); in compute()
181 TRI->getLargestLegalSuperClass(RC, *MF)) in compute()
182 if (Super != RC && getNumAllocatableRegs(Super) > RCI.NumRegs) in compute()
189 dbgs() << "AllocationOrder(" << TRI->getRegClassName(RC) << ") = ["; in compute()
203 const TargetRegisterClass *RC = nullptr; in computePSetLimit() local
217 if (!RC || NUnits > NumRCUnits) { in computePSetLimit()
218 RC = C; in computePSetLimit()
222 assert(RC && "Failed to find register class"); in computePSetLimit()
223 compute(RC); in computePSetLimit()
224 unsigned NAllocatableRegs = getNumAllocatableRegs(RC); in computePSetLimit()
232 unsigned NReserved = RC->getNumRegs() - NAllocatableRegs; in computePSetLimit()
233 return RegPressureSetLimit - TRI->getRegClassWeight(RC).RegWeight * NReserved; in computePSetLimit()