Lines Matching refs:Rem
1922 Rem = rem; in init()
2044 unsigned OtherCritCount = Rem->RemIssueCount in getOtherResourceCount()
2050 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount()
2150 assert(Rem->RemainingCounts[PIdx] >= Count && "resource double counted"); in countResource()
2151 Rem->RemainingCounts[PIdx] -= Count; in countResource()
2219 assert(Rem->RemIssueCount >= DecRemIssue && "MOps double counted"); in bumpNode()
2220 Rem->RemIssueCount -= DecRemIssue; in bumpNode()
2470 if (CurrZone.getCurrCycle() > Rem.CriticalPath) in shouldReduceLatency()
2480 return RemLatency + CurrZone.getCurrCycle() > Rem.CriticalPath; in shouldReduceLatency()
2517 << Rem.CriticalPath << "\n"); in setPolicy()
2693 Rem.init(DAG, SchedModel); in initialize()
2694 Top.init(DAG, SchedModel, &Rem); in initialize()
2695 Bot.init(DAG, SchedModel, &Rem); in initialize()
2784 if (Rem.CyclicCritPath == 0 || Rem.CyclicCritPath >= Rem.CriticalPath) in checkAcyclicLatency()
2789 std::max(Rem.CyclicCritPath * SchedModel->getLatencyFactor(), in checkAcyclicLatency()
2790 Rem.RemIssueCount); in checkAcyclicLatency()
2792 unsigned AcyclicCount = Rem.CriticalPath * SchedModel->getLatencyFactor(); in checkAcyclicLatency()
2795 (AcyclicCount * Rem.RemIssueCount + IterCount-1) / IterCount; in checkAcyclicLatency()
2799 Rem.IsAcyclicLatencyLimited = InFlightCount > BufferLimit; in checkAcyclicLatency()
2803 << Rem.RemIssueCount / SchedModel->getLatencyFactor() << "c " in checkAcyclicLatency()
2808 if (Rem.IsAcyclicLatencyLimited) dbgs() << " ACYCLIC LATENCY LIMIT\n"); in checkAcyclicLatency()
2812 Rem.CriticalPath = DAG->ExitSU.getDepth(); in registerRoots()
2816 if (SU->getDepth() > Rem.CriticalPath) in registerRoots()
2817 Rem.CriticalPath = SU->getDepth(); in registerRoots()
2819 LLVM_DEBUG(dbgs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << '\n'); in registerRoots()
2821 errs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << " \n"; in registerRoots()
2825 Rem.CyclicCritPath = DAG->computeCyclicCriticalPath(); in registerRoots()
3005 if (Rem.IsAcyclicLatencyLimited && !Zone->getCurrMOps() && in tryCandidate()
3059 !Rem.IsAcyclicLatencyLimited && tryLatency(TryCand, Cand, *Zone)) in tryCandidate()
3300 Rem.init(DAG, SchedModel); in initialize()
3301 Top.init(DAG, SchedModel, &Rem); in initialize()
3315 Rem.CriticalPath = DAG->ExitSU.getDepth(); in registerRoots()
3319 if (SU->getDepth() > Rem.CriticalPath) in registerRoots()
3320 Rem.CriticalPath = SU->getDepth(); in registerRoots()
3322 LLVM_DEBUG(dbgs() << "Critical Path: (PGS-RR) " << Rem.CriticalPath << '\n'); in registerRoots()
3324 errs() << "Critical Path(PGS-RR ): " << Rem.CriticalPath << " \n"; in registerRoots()