Lines Matching refs:RC
92 void RegisterClassInfo::compute(const TargetRegisterClass *RC) const { in compute()
93 assert(RC && "no register class given"); in compute()
94 RCInfo &RCI = RegClass[RC->getID()]; in compute()
98 unsigned NumRegs = RC->getNumRegs(); in compute()
111 ArrayRef<MCPhysReg> RawOrder = RC->getRawAllocationOrder(*MF); in compute()
150 TRI->getLargestLegalSuperClass(RC, *MF)) in compute()
151 if (Super != RC && getNumAllocatableRegs(Super) > RCI.NumRegs) in compute()
158 dbgs() << "AllocationOrder(" << TRI->getRegClassName(RC) << ") = ["; in compute()
172 const TargetRegisterClass *RC = nullptr; in computePSetLimit() local
186 if (!RC || NUnits > NumRCUnits) { in computePSetLimit()
187 RC = C; in computePSetLimit()
191 assert(RC && "Failed to find register class"); in computePSetLimit()
192 compute(RC); in computePSetLimit()
193 unsigned NAllocatableRegs = getNumAllocatableRegs(RC); in computePSetLimit()
201 unsigned NReserved = RC->getNumRegs() - NAllocatableRegs; in computePSetLimit()
202 return RegPressureSetLimit - TRI->getRegClassWeight(RC).RegWeight * NReserved; in computePSetLimit()