Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Analysis/
DInlineAdvisor.cpp216 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() local
246 if (IC2.getCostDelta() <= CandidateCost) { in shouldBeDeferred()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp256 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1); in shouldBeDeferred() local
284 if (IC2.getCostDelta() <= CandidateCost) { in shouldBeDeferred()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp2750 int CandidateCost = ComputeUnswitchedCost( in unswitchBestCondition() local
2761 CandidateCost *= CostMultiplier; in unswitchBestCondition()
2762 LLVM_DEBUG(dbgs() << " Computed cost of " << CandidateCost in unswitchBestCondition()
2766 LLVM_DEBUG(dbgs() << " Computed cost of " << CandidateCost in unswitchBestCondition()
2770 if (!BestUnswitchTI || CandidateCost < BestUnswitchCost) { in unswitchBestCondition()
2772 BestUnswitchCost = CandidateCost; in unswitchBestCondition()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp2813 int CandidateCost = ComputeUnswitchedCost( in unswitchBestCondition() local
2824 CandidateCost *= CostMultiplier; in unswitchBestCondition()
2825 LLVM_DEBUG(dbgs() << " Computed cost of " << CandidateCost in unswitchBestCondition()
2829 LLVM_DEBUG(dbgs() << " Computed cost of " << CandidateCost in unswitchBestCondition()
2833 if (!BestUnswitchTI || CandidateCost < BestUnswitchCost) { in unswitchBestCondition()
2835 BestUnswitchCost = CandidateCost; in unswitchBestCondition()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DInliner.cpp336 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() local
370 if (IC2.getCostDelta() <= CandidateCost) { in shouldBeDeferred()