Lines Matching refs:Policy
874 // ScheduleDAGMI initializes SchedImpl's per-region policy.
2303 if (!Policy.ReduceResIdx && !Policy.DemandResIdx)
2310 if (PI->ProcResourceIdx == Policy.ReduceResIdx)
2312 if (PI->ProcResourceIdx == Policy.DemandResIdx)
2319 void GenericSchedulerBase::setPolicy(CandPolicy &Policy, bool IsPostRA,
2324 // following this policy.
2360 Policy.ReduceLatency |= true;
2383 if (CurrZone.isResourceLimited() && !Policy.ReduceResIdx)
2384 Policy.ReduceResIdx = CurrZone.getZoneCritResIdx();
2387 Policy.DemandResIdx = OtherCritIdx;
2432 ResIdx = Cand.Policy.ReduceResIdx;
2435 ResIdx = Cand.Policy.DemandResIdx;
2565 /// Initialize the per-region scheduling policy.
2589 // Allow the subtarget to override default policy.
2791 /// \param Cand provides the policy and current best candidate.
2887 if (!RegionPolicy.DisableLatencyHeuristic && TryCand.Policy.ReduceLatency &&
2950 // Set the bottom-up policy based on the state of the current bottom zone and
2954 // Set the top-down policy based on the state of the current top zone and
2962 BotCand.Policy != BotPolicy) {
2982 TopCand.Policy != TopPolicy) {
3172 /// \param Cand provides the policy and current best candidate.
3198 if (Cand.Policy.ReduceLatency && tryLatency(TryCand, Cand, Top)) {
3210 SchedCandidate TryCand(Cand.Policy);
3236 // Set the top-down policy based on the state of the current top zone and
3238 setPolicy(TopCand.Policy, /*IsPostRA=*/true, Top, nullptr);