• Home
  • Raw
  • Download

Lines Matching refs:SPQ

1565   RegReductionPQBase *SPQ;  member
1566 bu_ls_rr_sort(RegReductionPQBase *spq) : SPQ(spq) {} in bu_ls_rr_sort()
1578 RegReductionPQBase *SPQ; member
1580 : SPQ(spq) {} in src_ls_rr_sort()
1592 RegReductionPQBase *SPQ; member
1594 : SPQ(spq) {} in hybrid_ls_rr_sort()
1609 RegReductionPQBase *SPQ; member
1611 : SPQ(spq) {} in ilp_ls_rr_sort()
2319 static bool BUHasStall(SUnit *SU, int Height, RegReductionPQBase *SPQ) { in BUHasStall() argument
2320 if ((int)SPQ->getCurCycle() < Height) return true; in BUHasStall()
2321 if (SPQ->getHazardRec()->getHazardType(SU, 0) in BUHasStall()
2330 RegReductionPQBase *SPQ) { in BUCompareLatency() argument
2339 BUHasStall(left, LHeight, SPQ); in BUCompareLatency()
2341 BUHasStall(right, RHeight, SPQ); in BUCompareLatency()
2362 if (!SPQ->getHazardRec()->isEnabled()) { in BUCompareLatency()
2380 static bool BURRSort(SUnit *left, SUnit *right, RegReductionPQBase *SPQ) { in BURRSort() argument
2401 unsigned LPriority = SPQ->getNodePriority(left); in BURRSort()
2402 unsigned RPriority = SPQ->getNodePriority(right); in BURRSort()
2421 unsigned LOrder = SPQ->getNodeOrdering(left); in BURRSort()
2422 unsigned ROrder = SPQ->getNodeOrdering(right); in BURRSort()
2466 int result = BUCompareLatency(left, right, false /*checkPref*/, SPQ); in BURRSort()
2488 return BURRSort(left, right, SPQ); in operator ()()
2496 unsigned LOrder = SPQ->getNodeOrdering(left); in operator ()()
2497 unsigned ROrder = SPQ->getNodeOrdering(right); in operator ()()
2504 return BURRSort(left, right, SPQ); in operator ()()
2514 if (SPQ->MayReduceRegPressure(SU)) return true; in isReady()
2518 if (SPQ->getHazardRec()->getHazardType(SU, -ReadyDelay) in isReady()
2532 return BURRSort(left, right, SPQ); in operator ()()
2534 bool LHigh = SPQ->HighRegPressure(left); in operator ()()
2535 bool RHigh = SPQ->HighRegPressure(right); in operator ()()
2549 int result = BUCompareLatency(left, right, true /*checkPref*/, SPQ); in operator ()()
2553 return BURRSort(left, right, SPQ); in operator ()()
2561 if (SPQ->getHazardRec()->getHazardType(SU, 0) in isReady()
2598 return BURRSort(left, right, SPQ); in operator ()()
2603 LPDiff = SPQ->RegPressureDiff(left, LLiveUses); in operator ()()
2604 RPDiff = SPQ->RegPressureDiff(right, RLiveUses); in operator ()()
2626 bool LStall = BUHasStall(left, left->getHeight(), SPQ); in operator ()()
2627 bool RStall = BUHasStall(right, right->getHeight(), SPQ); in operator ()()
2648 return BURRSort(left, right, SPQ); in operator ()()