Lines Matching refs:Rem
2043 Rem = rem; in init()
2237 unsigned OtherCritCount = Rem->RemIssueCount in getOtherResourceCount()
2243 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount()
2352 assert(Rem->RemainingCounts[PIdx] >= Count && "resource double counted"); in countResource()
2353 Rem->RemainingCounts[PIdx] -= Count; in countResource()
2425 assert(Rem->RemIssueCount >= DecRemIssue && "MOps double counted"); in bumpNode()
2426 Rem->RemIssueCount -= DecRemIssue; in bumpNode()
2671 if (CurrZone.getCurrCycle() > Rem.CriticalPath) in shouldReduceLatency()
2681 return RemLatency + CurrZone.getCurrCycle() > Rem.CriticalPath; in shouldReduceLatency()
2718 << Rem.CriticalPath << "\n"); in setPolicy()
2907 Rem.init(DAG, SchedModel); in initialize()
2908 Top.init(DAG, SchedModel, &Rem); in initialize()
2909 Bot.init(DAG, SchedModel, &Rem); in initialize()
3000 if (Rem.CyclicCritPath == 0 || Rem.CyclicCritPath >= Rem.CriticalPath) in checkAcyclicLatency()
3005 std::max(Rem.CyclicCritPath * SchedModel->getLatencyFactor(), in checkAcyclicLatency()
3006 Rem.RemIssueCount); in checkAcyclicLatency()
3008 unsigned AcyclicCount = Rem.CriticalPath * SchedModel->getLatencyFactor(); in checkAcyclicLatency()
3011 (AcyclicCount * Rem.RemIssueCount + IterCount-1) / IterCount; in checkAcyclicLatency()
3015 Rem.IsAcyclicLatencyLimited = InFlightCount > BufferLimit; in checkAcyclicLatency()
3019 << Rem.RemIssueCount / SchedModel->getLatencyFactor() << "c " in checkAcyclicLatency()
3024 if (Rem.IsAcyclicLatencyLimited) dbgs() << " ACYCLIC LATENCY LIMIT\n"); in checkAcyclicLatency()
3028 Rem.CriticalPath = DAG->ExitSU.getDepth(); in registerRoots()
3032 if (SU->getDepth() > Rem.CriticalPath) in registerRoots()
3033 Rem.CriticalPath = SU->getDepth(); in registerRoots()
3035 LLVM_DEBUG(dbgs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << '\n'); in registerRoots()
3037 errs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << " \n"; in registerRoots()
3041 Rem.CyclicCritPath = DAG->computeCyclicCriticalPath(); in registerRoots()
3220 if (Rem.IsAcyclicLatencyLimited && !Zone->getCurrMOps() && in tryCandidate()
3274 !Rem.IsAcyclicLatencyLimited && tryLatency(TryCand, Cand, *Zone)) in tryCandidate()
3517 Rem.init(DAG, SchedModel); in initialize()
3518 Top.init(DAG, SchedModel, &Rem); in initialize()
3532 Rem.CriticalPath = DAG->ExitSU.getDepth(); in registerRoots()
3536 if (SU->getDepth() > Rem.CriticalPath) in registerRoots()
3537 Rem.CriticalPath = SU->getDepth(); in registerRoots()
3539 LLVM_DEBUG(dbgs() << "Critical Path: (PGS-RR) " << Rem.CriticalPath << '\n'); in registerRoots()
3541 errs() << "Critical Path(PGS-RR ): " << Rem.CriticalPath << " \n"; in registerRoots()