Lines Matching refs:SPQ

1577   RegReductionPQBase *SPQ;  member
1578 bu_ls_rr_sort(RegReductionPQBase *spq) : SPQ(spq) {} in bu_ls_rr_sort()
1590 RegReductionPQBase *SPQ; member
1592 : SPQ(spq) {} in src_ls_rr_sort()
1604 RegReductionPQBase *SPQ; member
1606 : SPQ(spq) {} in hybrid_ls_rr_sort()
1621 RegReductionPQBase *SPQ; member
1623 : SPQ(spq) {} in ilp_ls_rr_sort()
2343 static bool BUHasStall(SUnit *SU, int Height, RegReductionPQBase *SPQ) { in BUHasStall() argument
2344 if ((int)SPQ->getCurCycle() < Height) return true; in BUHasStall()
2345 if (SPQ->getHazardRec()->getHazardType(SU, 0) in BUHasStall()
2354 RegReductionPQBase *SPQ) { in BUCompareLatency() argument
2363 BUHasStall(left, LHeight, SPQ); in BUCompareLatency()
2365 BUHasStall(right, RHeight, SPQ); in BUCompareLatency()
2386 if (!SPQ->getHazardRec()->isEnabled()) { in BUCompareLatency()
2404 static bool BURRSort(SUnit *left, SUnit *right, RegReductionPQBase *SPQ) { in BURRSort() argument
2425 unsigned LPriority = SPQ->getNodePriority(left); in BURRSort()
2426 unsigned RPriority = SPQ->getNodePriority(right); in BURRSort()
2445 unsigned LOrder = SPQ->getNodeOrdering(left); in BURRSort()
2446 unsigned ROrder = SPQ->getNodeOrdering(right); in BURRSort()
2490 int result = BUCompareLatency(left, right, false /*checkPref*/, SPQ); in BURRSort()
2512 return BURRSort(left, right, SPQ); in operator ()()
2520 unsigned LOrder = SPQ->getNodeOrdering(left); in operator ()()
2521 unsigned ROrder = SPQ->getNodeOrdering(right); in operator ()()
2528 return BURRSort(left, right, SPQ); in operator ()()
2538 if (SPQ->MayReduceRegPressure(SU)) return true; in isReady()
2542 if (SPQ->getHazardRec()->getHazardType(SU, -ReadyDelay) in isReady()
2556 return BURRSort(left, right, SPQ); in operator ()()
2558 bool LHigh = SPQ->HighRegPressure(left); in operator ()()
2559 bool RHigh = SPQ->HighRegPressure(right); in operator ()()
2573 int result = BUCompareLatency(left, right, true /*checkPref*/, SPQ); in operator ()()
2577 return BURRSort(left, right, SPQ); in operator ()()
2585 if (SPQ->getHazardRec()->getHazardType(SU, 0) in isReady()
2622 return BURRSort(left, right, SPQ); in operator ()()
2627 LPDiff = SPQ->RegPressureDiff(left, LLiveUses); in operator ()()
2628 RPDiff = SPQ->RegPressureDiff(right, RLiveUses); in operator ()()
2650 bool LStall = BUHasStall(left, left->getHeight(), SPQ); in operator ()()
2651 bool RStall = BUHasStall(right, right->getHeight(), SPQ); in operator ()()
2672 return BURRSort(left, right, SPQ); in operator ()()