Lines Matching refs:Rem

2267   Rem = rem;  in init()
2491 unsigned OtherCritCount = Rem->RemIssueCount in getOtherResourceCount()
2497 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount()
2611 assert(Rem->RemainingCounts[PIdx] >= Count && "resource double counted"); in countResource()
2612 Rem->RemainingCounts[PIdx] -= Count; in countResource()
2685 assert(Rem->RemIssueCount >= DecRemIssue && "MOps double counted"); in bumpNode()
2686 Rem->RemIssueCount -= DecRemIssue; in bumpNode()
2981 if (CurrZone.getCurrCycle() > Rem.CriticalPath) in shouldReduceLatency()
2991 return RemLatency + CurrZone.getCurrCycle() > Rem.CriticalPath; in shouldReduceLatency()
3028 << Rem.CriticalPath << "\n"); in setPolicy()
3217 Rem.init(DAG, SchedModel); in initialize()
3218 Top.init(DAG, SchedModel, &Rem); in initialize()
3219 Bot.init(DAG, SchedModel, &Rem); in initialize()
3310 if (Rem.CyclicCritPath == 0 || Rem.CyclicCritPath >= Rem.CriticalPath) in checkAcyclicLatency()
3315 std::max(Rem.CyclicCritPath * SchedModel->getLatencyFactor(), in checkAcyclicLatency()
3316 Rem.RemIssueCount); in checkAcyclicLatency()
3318 unsigned AcyclicCount = Rem.CriticalPath * SchedModel->getLatencyFactor(); in checkAcyclicLatency()
3321 (AcyclicCount * Rem.RemIssueCount + IterCount-1) / IterCount; in checkAcyclicLatency()
3325 Rem.IsAcyclicLatencyLimited = InFlightCount > BufferLimit; in checkAcyclicLatency()
3329 << Rem.RemIssueCount / SchedModel->getLatencyFactor() << "c " in checkAcyclicLatency()
3334 if (Rem.IsAcyclicLatencyLimited) dbgs() << " ACYCLIC LATENCY LIMIT\n"); in checkAcyclicLatency()
3338 Rem.CriticalPath = DAG->ExitSU.getDepth(); in registerRoots()
3342 if (SU->getDepth() > Rem.CriticalPath) in registerRoots()
3343 Rem.CriticalPath = SU->getDepth(); in registerRoots()
3345 LLVM_DEBUG(dbgs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << '\n'); in registerRoots()
3347 errs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << " \n"; in registerRoots()
3351 Rem.CyclicCritPath = DAG->computeCyclicCriticalPath(); in registerRoots()
3530 if (Rem.IsAcyclicLatencyLimited && !Zone->getCurrMOps() && in tryCandidate()
3584 !Rem.IsAcyclicLatencyLimited && tryLatency(TryCand, Cand, *Zone)) in tryCandidate()
3827 Rem.init(DAG, SchedModel); in initialize()
3828 Top.init(DAG, SchedModel, &Rem); in initialize()
3842 Rem.CriticalPath = DAG->ExitSU.getDepth(); in registerRoots()
3846 if (SU->getDepth() > Rem.CriticalPath) in registerRoots()
3847 Rem.CriticalPath = SU->getDepth(); in registerRoots()
3849 LLVM_DEBUG(dbgs() << "Critical Path: (PGS-RR) " << Rem.CriticalPath << '\n'); in registerRoots()
3851 errs() << "Critical Path(PGS-RR ): " << Rem.CriticalPath << " \n"; in registerRoots()