Lines Matching refs:SPQ

1568   RegReductionPQBase *SPQ;  member
1569 bu_ls_rr_sort(RegReductionPQBase *spq) : SPQ(spq) {} in bu_ls_rr_sort()
1581 RegReductionPQBase *SPQ; member
1583 : SPQ(spq) {} in src_ls_rr_sort()
1595 RegReductionPQBase *SPQ; member
1597 : SPQ(spq) {} in hybrid_ls_rr_sort()
1612 RegReductionPQBase *SPQ; member
1614 : SPQ(spq) {} in ilp_ls_rr_sort()
2334 static bool BUHasStall(SUnit *SU, int Height, RegReductionPQBase *SPQ) { in BUHasStall() argument
2335 if ((int)SPQ->getCurCycle() < Height) return true; in BUHasStall()
2336 if (SPQ->getHazardRec()->getHazardType(SU, 0) in BUHasStall()
2345 RegReductionPQBase *SPQ) { in BUCompareLatency() argument
2354 BUHasStall(left, LHeight, SPQ); in BUCompareLatency()
2356 BUHasStall(right, RHeight, SPQ); in BUCompareLatency()
2377 if (!SPQ->getHazardRec()->isEnabled()) { in BUCompareLatency()
2395 static bool BURRSort(SUnit *left, SUnit *right, RegReductionPQBase *SPQ) { in BURRSort() argument
2416 unsigned LPriority = SPQ->getNodePriority(left); in BURRSort()
2417 unsigned RPriority = SPQ->getNodePriority(right); in BURRSort()
2436 unsigned LOrder = SPQ->getNodeOrdering(left); in BURRSort()
2437 unsigned ROrder = SPQ->getNodeOrdering(right); in BURRSort()
2481 int result = BUCompareLatency(left, right, false /*checkPref*/, SPQ); in BURRSort()
2503 return BURRSort(left, right, SPQ); in operator ()()
2511 unsigned LOrder = SPQ->getNodeOrdering(left); in operator ()()
2512 unsigned ROrder = SPQ->getNodeOrdering(right); in operator ()()
2519 return BURRSort(left, right, SPQ); in operator ()()
2529 if (SPQ->MayReduceRegPressure(SU)) return true; in isReady()
2533 if (SPQ->getHazardRec()->getHazardType(SU, -ReadyDelay) in isReady()
2547 return BURRSort(left, right, SPQ); in operator ()()
2549 bool LHigh = SPQ->HighRegPressure(left); in operator ()()
2550 bool RHigh = SPQ->HighRegPressure(right); in operator ()()
2564 int result = BUCompareLatency(left, right, true /*checkPref*/, SPQ); in operator ()()
2568 return BURRSort(left, right, SPQ); in operator ()()
2576 if (SPQ->getHazardRec()->getHazardType(SU, 0) in isReady()
2613 return BURRSort(left, right, SPQ); in operator ()()
2618 LPDiff = SPQ->RegPressureDiff(left, LLiveUses); in operator ()()
2619 RPDiff = SPQ->RegPressureDiff(right, RLiveUses); in operator ()()
2641 bool LStall = BUHasStall(left, left->getHeight(), SPQ); in operator ()()
2642 bool RStall = BUHasStall(right, right->getHeight(), SPQ); in operator ()()
2663 return BURRSort(left, right, SPQ); in operator ()()