Lines Matching refs:Policy
863 // ScheduleDAGMI initializes SchedImpl's per-region policy.
2205 if (!Policy.ReduceResIdx && !Policy.DemandResIdx)
2212 if (PI->ProcResourceIdx == Policy.ReduceResIdx)
2214 if (PI->ProcResourceIdx == Policy.DemandResIdx)
2221 void GenericSchedulerBase::setPolicy(CandPolicy &Policy,
2227 // following this policy.
2263 Policy.ReduceLatency |= true;
2286 if (CurrZone.isResourceLimited() && !Policy.ReduceResIdx)
2287 Policy.ReduceResIdx = CurrZone.getZoneCritResIdx();
2290 Policy.DemandResIdx = OtherCritIdx;
2334 ResIdx = Cand.Policy.ReduceResIdx;
2337 ResIdx = Cand.Policy.DemandResIdx;
2465 /// Initialize the per-region scheduling policy.
2489 // Allow the subtarget to override default policy.
2649 /// \param Cand provides the policy and current best candidate.
2767 if (!RegionPolicy.DisableLatencyHeuristic && Cand.Policy.ReduceLatency &&
2803 SchedCandidate TryCand(Cand.Policy);
2833 // Set the bottom-up policy based on the state of the current bottom zone and
2835 setPolicy(BotCand.Policy, /*IsPostRA=*/false, Bot, &Top);
2836 // Set the top-down policy based on the state of the current top zone and
2838 setPolicy(TopCand.Policy, /*IsPostRA=*/false, Top, &Bot);
3031 /// \param Cand provides the policy and current best candidate.
3057 if (Cand.Policy.ReduceLatency && tryLatency(TryCand, Cand, Top)) {
3072 SchedCandidate TryCand(Cand.Policy);
3095 // Set the top-down policy based on the state of the current top zone and
3097 setPolicy(TopCand.Policy, /*IsPostRA=*/true, Top, nullptr);