Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInlineAdvisor.cpp269 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() local
299 if (IC2.getCostDelta() <= CandidateCost) { in shouldBeDeferred()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp2968 InstructionCost CandidateCost = ComputeUnswitchedCost( in unswitchBestCondition() local
2980 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()