Lines Matching defs:Policy
1135 /// Policy for scheduling the next instruction in the candidate's zone.
1166 CandPolicy Policy;
1183 SchedCandidate(const CandPolicy &policy)
1184 : Policy(policy), SU(NULL), Reason(NoCand), RepeatReasonSet(0) {}
1188 // Copy the status of another candidate without changing policy.
1378 void setPolicy(CandPolicy &Policy, SchedBoundary &OtherZone);
1636 void ConvergingScheduler::SchedBoundary::setPolicy(CandPolicy &Policy,
1669 Policy.ReduceLatency |= true;
1688 if (IsResourceLimited && !Policy.ReduceResIdx)
1689 Policy.ReduceResIdx = ZoneCritResIdx;
1692 Policy.DemandResIdx = OtherCritIdx;
1991 if (!Policy.ReduceResIdx && !Policy.DemandResIdx)
1998 if (PI->ProcResourceIdx == Policy.ReduceResIdx)
2000 if (PI->ProcResourceIdx == Policy.DemandResIdx)
2103 /// \param Cand provides the policy and current best candidate.
2175 if (Cand.Policy.ReduceLatency) {
2252 ResIdx = Cand.Policy.ReduceResIdx;
2255 ResIdx = Cand.Policy.DemandResIdx;
2305 SchedCandidate TryCand(Cand.Policy);
2341 Bot.setPolicy(BotCand.Policy, Top);
2342 Top.setPolicy(TopCand.Policy, Bot);