Lines Matching refs:RCId

231                                    unsigned &RCId, unsigned &RCCost) const;
670 unsigned &RCId, unsigned &RCCost) const { in getRegisterClassIDAndCost() argument
674 RCId = RC->getID(); in getRegisterClassIDAndCost()
677 RCId = TLI->getRepRegClassFor(VT)->getID(); in getRegisterClassIDAndCost()
711 unsigned RCId, RCCost; in InitRegPressure() local
712 getRegisterClassIDAndCost(MI, Reg, i, RCId, RCCost); in InitRegPressure()
714 RegPressure[RCId] += RCCost; in InitRegPressure()
719 RegPressure[RCId] += RCCost; in InitRegPressure()
721 RegPressure[RCId] -= RCCost; in InitRegPressure()
746 unsigned RCId, RCCost; in UpdateRegPressure() local
747 getRegisterClassIDAndCost(MI, Reg, i, RCId, RCCost); in UpdateRegPressure()
748 if (RCCost > RegPressure[RCId]) in UpdateRegPressure()
749 RegPressure[RCId] = 0; in UpdateRegPressure()
751 RegPressure[RCId] -= RCCost; in UpdateRegPressure()
758 unsigned RCId, RCCost; in UpdateRegPressure() local
759 getRegisterClassIDAndCost(MI, Reg, Idx, RCId, RCCost); in UpdateRegPressure()
760 RegPressure[RCId] += RCCost; in UpdateRegPressure()
939 unsigned RCId = CI->first; in CanCauseHighRegPressure() local
942 if (RP[RCId] + CI->second >= RegLimit[RCId]) in CanCauseHighRegPressure()
968 unsigned RCId, RCCost; in UpdateBackTraceRegPressure() local
969 getRegisterClassIDAndCost(MI, Reg, i, RCId, RCCost); in UpdateBackTraceRegPressure()
971 DenseMap<unsigned, int>::iterator CI = Cost.find(RCId); in UpdateBackTraceRegPressure()
975 Cost.insert(std::make_pair(RCId, RCCost)); in UpdateBackTraceRegPressure()
977 DenseMap<unsigned, int>::iterator CI = Cost.find(RCId); in UpdateBackTraceRegPressure()
981 Cost.insert(std::make_pair(RCId, -RCCost)); in UpdateBackTraceRegPressure()
990 unsigned RCId = CI->first; in UpdateBackTraceRegPressure() local
991 RP[RCId] += CI->second; in UpdateBackTraceRegPressure()
1029 unsigned RCId, RCCost; in IsProfitableToHoist() local
1030 getRegisterClassIDAndCost(&MI, Reg, i, RCId, RCCost); in IsProfitableToHoist()
1037 DenseMap<unsigned, int>::iterator CI = Cost.find(RCId); in IsProfitableToHoist()
1041 Cost.insert(std::make_pair(RCId, RCCost)); in IsProfitableToHoist()
1046 DenseMap<unsigned, int>::iterator CI = Cost.find(RCId); in IsProfitableToHoist()
1050 Cost.insert(std::make_pair(RCId, -RCCost)); in IsProfitableToHoist()