Lines Matching refs:Rem
2044 Rem = rem; in init()
2238 unsigned OtherCritCount = Rem->RemIssueCount in getOtherResourceCount()
2244 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount()
2353 assert(Rem->RemainingCounts[PIdx] >= Count && "resource double counted"); in countResource()
2354 Rem->RemainingCounts[PIdx] -= Count; in countResource()
2426 assert(Rem->RemIssueCount >= DecRemIssue && "MOps double counted"); in bumpNode()
2427 Rem->RemIssueCount -= DecRemIssue; in bumpNode()
2672 if (CurrZone.getCurrCycle() > Rem.CriticalPath) in shouldReduceLatency()
2682 return RemLatency + CurrZone.getCurrCycle() > Rem.CriticalPath; in shouldReduceLatency()
2719 << Rem.CriticalPath << "\n"); in setPolicy()
2908 Rem.init(DAG, SchedModel); in initialize()
2909 Top.init(DAG, SchedModel, &Rem); in initialize()
2910 Bot.init(DAG, SchedModel, &Rem); in initialize()
3001 if (Rem.CyclicCritPath == 0 || Rem.CyclicCritPath >= Rem.CriticalPath) in checkAcyclicLatency()
3006 std::max(Rem.CyclicCritPath * SchedModel->getLatencyFactor(), in checkAcyclicLatency()
3007 Rem.RemIssueCount); in checkAcyclicLatency()
3009 unsigned AcyclicCount = Rem.CriticalPath * SchedModel->getLatencyFactor(); in checkAcyclicLatency()
3012 (AcyclicCount * Rem.RemIssueCount + IterCount-1) / IterCount; in checkAcyclicLatency()
3016 Rem.IsAcyclicLatencyLimited = InFlightCount > BufferLimit; in checkAcyclicLatency()
3020 << Rem.RemIssueCount / SchedModel->getLatencyFactor() << "c " in checkAcyclicLatency()
3025 if (Rem.IsAcyclicLatencyLimited) dbgs() << " ACYCLIC LATENCY LIMIT\n"); in checkAcyclicLatency()
3029 Rem.CriticalPath = DAG->ExitSU.getDepth(); in registerRoots()
3033 if (SU->getDepth() > Rem.CriticalPath) in registerRoots()
3034 Rem.CriticalPath = SU->getDepth(); in registerRoots()
3036 LLVM_DEBUG(dbgs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << '\n'); in registerRoots()
3038 errs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << " \n"; in registerRoots()
3042 Rem.CyclicCritPath = DAG->computeCyclicCriticalPath(); in registerRoots()
3221 if (Rem.IsAcyclicLatencyLimited && !Zone->getCurrMOps() && in tryCandidate()
3275 !Rem.IsAcyclicLatencyLimited && tryLatency(TryCand, Cand, *Zone)) in tryCandidate()
3518 Rem.init(DAG, SchedModel); in initialize()
3519 Top.init(DAG, SchedModel, &Rem); in initialize()
3533 Rem.CriticalPath = DAG->ExitSU.getDepth(); in registerRoots()
3537 if (SU->getDepth() > Rem.CriticalPath) in registerRoots()
3538 Rem.CriticalPath = SU->getDepth(); in registerRoots()
3540 LLVM_DEBUG(dbgs() << "Critical Path: (PGS-RR) " << Rem.CriticalPath << '\n'); in registerRoots()
3542 errs() << "Critical Path(PGS-RR ): " << Rem.CriticalPath << " \n"; in registerRoots()