Lines Matching refs:RC
79 void RegisterClassInfo::compute(const TargetRegisterClass *RC) const { in compute()
80 assert(RC && "no register class given"); in compute()
81 RCInfo &RCI = RegClass[RC->getID()]; in compute()
84 unsigned NumRegs = RC->getNumRegs(); in compute()
97 ArrayRef<MCPhysReg> RawOrder = RC->getRawAllocationOrder(*MF); in compute()
135 TRI->getLargestLegalSuperClass(RC, *MF)) in compute()
136 if (Super != RC && getNumAllocatableRegs(Super) > RCI.NumRegs) in compute()
143 dbgs() << "AllocationOrder(" << TRI->getRegClassName(RC) << ") = ["; in compute()
157 const TargetRegisterClass *RC = nullptr; in computePSetLimit() local
172 if (!RC || NUnits > NumRCUnits) { in computePSetLimit()
173 RC = *RI; in computePSetLimit()
177 compute(RC); in computePSetLimit()
178 unsigned NReserved = RC->getNumRegs() - getNumAllocatableRegs(RC); in computePSetLimit()
180 TRI->getRegClassWeight(RC).RegWeight * NReserved; in computePSetLimit()