• Home
  • Raw
  • Download

Lines Matching refs:SPQ

1561   RegReductionPQBase *SPQ;  member
1562 bu_ls_rr_sort(RegReductionPQBase *spq) : SPQ(spq) {} in bu_ls_rr_sort()
1574 RegReductionPQBase *SPQ; member
1576 : SPQ(spq) {} in src_ls_rr_sort()
1588 RegReductionPQBase *SPQ; member
1590 : SPQ(spq) {} in hybrid_ls_rr_sort()
1605 RegReductionPQBase *SPQ; member
1607 : SPQ(spq) {} in ilp_ls_rr_sort()
2327 static bool BUHasStall(SUnit *SU, int Height, RegReductionPQBase *SPQ) { in BUHasStall() argument
2328 if ((int)SPQ->getCurCycle() < Height) return true; in BUHasStall()
2329 if (SPQ->getHazardRec()->getHazardType(SU, 0) in BUHasStall()
2338 RegReductionPQBase *SPQ) { in BUCompareLatency() argument
2347 BUHasStall(left, LHeight, SPQ); in BUCompareLatency()
2349 BUHasStall(right, RHeight, SPQ); in BUCompareLatency()
2370 if (!SPQ->getHazardRec()->isEnabled()) { in BUCompareLatency()
2388 static bool BURRSort(SUnit *left, SUnit *right, RegReductionPQBase *SPQ) { in BURRSort() argument
2409 unsigned LPriority = SPQ->getNodePriority(left); in BURRSort()
2410 unsigned RPriority = SPQ->getNodePriority(right); in BURRSort()
2429 unsigned LOrder = SPQ->getNodeOrdering(left); in BURRSort()
2430 unsigned ROrder = SPQ->getNodeOrdering(right); in BURRSort()
2474 int result = BUCompareLatency(left, right, false /*checkPref*/, SPQ); in BURRSort()
2496 return BURRSort(left, right, SPQ); in operator ()()
2504 unsigned LOrder = SPQ->getNodeOrdering(left); in operator ()()
2505 unsigned ROrder = SPQ->getNodeOrdering(right); in operator ()()
2512 return BURRSort(left, right, SPQ); in operator ()()
2522 if (SPQ->MayReduceRegPressure(SU)) return true; in isReady()
2526 if (SPQ->getHazardRec()->getHazardType(SU, -ReadyDelay) in isReady()
2540 return BURRSort(left, right, SPQ); in operator ()()
2542 bool LHigh = SPQ->HighRegPressure(left); in operator ()()
2543 bool RHigh = SPQ->HighRegPressure(right); in operator ()()
2557 int result = BUCompareLatency(left, right, true /*checkPref*/, SPQ); in operator ()()
2561 return BURRSort(left, right, SPQ); in operator ()()
2569 if (SPQ->getHazardRec()->getHazardType(SU, 0) in isReady()
2606 return BURRSort(left, right, SPQ); in operator ()()
2611 LPDiff = SPQ->RegPressureDiff(left, LLiveUses); in operator ()()
2612 RPDiff = SPQ->RegPressureDiff(right, RLiveUses); in operator ()()
2634 bool LStall = BUHasStall(left, left->getHeight(), SPQ); in operator ()()
2635 bool RStall = BUHasStall(right, right->getHeight(), SPQ); in operator ()()
2656 return BURRSort(left, right, SPQ); in operator ()()