Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Reason

2074   // If we stall for any reason, bump the cycle.
2295 GenericSchedulerBase::CandReason Reason) {
2296 switch (Reason) {
2314 llvm_unreachable("Unknown reason!");
2321 switch (Cand.Reason) {
2352 dbgs() << " Cand SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason);
2374 GenericSchedulerBase::CandReason Reason) {
2376 TryCand.Reason = Reason;
2380 if (Cand.Reason > Reason)
2381 Cand.Reason = Reason;
2384 Cand.setRepeat(Reason);
2391 GenericSchedulerBase::CandReason Reason) {
2393 TryCand.Reason = Reason;
2397 if (Cand.Reason > Reason)
2398 Cand.Reason = Reason;
2401 Cand.setRepeat(Reason);
2434 << GenericSchedulerBase::getReasonStr(Cand.Reason) << '\n');
2582 GenericSchedulerBase::CandReason Reason,
2590 Reason);
2595 Reason)) {
2608 return tryGreater(TryRank, CandRank, TryCand, Cand, Reason);
2695 TryCand.Reason = NodeOrder;
2782 TryCand.Reason = NodeOrder;
2806 if (TryCand.Reason != NoCand) {
2842 assert(BotCand.Reason != NoCand && "failed to find the first candidate");
2851 if ((BotCand.Reason == RegExcess && !BotCand.isRepeat(RegExcess))
2852 || (BotCand.Reason == RegCritical
2861 assert(TopCand.Reason != NoCand && "failed to find the first candidate");
2863 // Choose the queue with the most important (lowest enum) reason.
2864 if (TopCand.Reason < BotCand.Reason) {
2890 assert(TopCand.Reason != NoCand && "failed to find a candidate");
2902 assert(BotCand.Reason != NoCand && "failed to find a candidate");
3038 TryCand.Reason = NodeOrder;
3063 TryCand.Reason = NodeOrder;
3076 if (TryCand.Reason != NoCand) {
3099 assert(TopCand.Reason != NoCand && "failed to find a candidate");