Lines Matching defs:CurrentCost
785 int CurrentCost = SchedulingCost(Q, *I, Candidate, RPDelta, false);
789 LLVM_DEBUG(traceCandidate("DCAND", Q, *I, CurrentCost));
792 Candidate.SCost = CurrentCost;
799 if (CurrentCost < 0 && Candidate.SCost < 0) {
802 LLVM_DEBUG(traceCandidate("NCAND", Q, *I, CurrentCost));
805 Candidate.SCost = CurrentCost;
812 if (CurrentCost > Candidate.SCost) {
813 LLVM_DEBUG(traceCandidate("CCAND", Q, *I, CurrentCost));
816 Candidate.SCost = CurrentCost;
826 LLVM_DEBUG(traceCandidate("WCAND", Q, *I, CurrentCost));
829 Candidate.SCost = CurrentCost;
835 if (CurrentCost == Candidate.SCost && Zone.isLatencyBound(*I)) {
845 LLVM_DEBUG(traceCandidate("SPCAND", Q, *I, CurrentCost));
848 Candidate.SCost = CurrentCost;
860 if (UseNewerCandidate && CurrentCost == Candidate.SCost) {
863 LLVM_DEBUG(traceCandidate("TCAND", Q, *I, CurrentCost));
866 Candidate.SCost = CurrentCost;