Home
last modified time | relevance | path

Searched refs:CandidateCost (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp278 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() local
308 if (IC2.getCostDelta() <= CandidateCost) { in shouldBeDeferred()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp3440 InstructionCost CandidateCost = ComputeUnswitchedCost(TI, FullUnswitch); in findBestNonTrivialUnswitchCandidate()
3449 CandidateCost *= CostMultiplier; in findBestNonTrivialUnswitchCandidate()
3450 LLVM_DEBUG(dbgs() << " Computed cost of " << CandidateCost in findBestNonTrivialUnswitchCandidate()
3454 LLVM_DEBUG(dbgs() << " Computed cost of " << CandidateCost in findBestNonTrivialUnswitchCandidate()
3458 if (!Best || CandidateCost < Best->Cost) { in findBestNonTrivialUnswitchCandidate()
3460 Best->Cost = CandidateCost; in findBestNonTrivialUnswitchCandidate()
3439 InstructionCost CandidateCost = ComputeUnswitchedCost(TI, FullUnswitch); findBestNonTrivialUnswitchCandidate() local