Searched refs:CandidateCost (Results 1 – 2 of 2) sorted by relevance
269 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() local299 if (IC2.getCostDelta() <= CandidateCost) { in shouldBeDeferred()
2968 InstructionCost CandidateCost = ComputeUnswitchedCost( in unswitchBestCondition() local2980 CandidateCost *= CostMultiplier; in unswitchBestCondition()2981 LLVM_DEBUG(dbgs() << " Computed cost of " << CandidateCost in unswitchBestCondition()2985 LLVM_DEBUG(dbgs() << " Computed cost of " << CandidateCost in unswitchBestCondition()2989 if (!BestUnswitchTI || CandidateCost < BestUnswitchCost) { in unswitchBestCondition()2991 BestUnswitchCost = CandidateCost; in unswitchBestCondition()