Home
last modified time | relevance | path

Searched refs:TotalCost (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSampleProfileInference.cpp111 int64_t TotalCost = 0; in run() local
116 TotalCost += Edge.Cost * Edge.Flow; in run()
124 << " of " << TotalCost << " cost\n"); in run()
127 return TotalCost; in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp329 int TotalCost = TotalSecondaryCost + IC.getCost() * NumCallerUsers; in shouldBeDeferred() local
331 return TotalCost < Allowance; in shouldBeDeferred()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp2618 InstructionCost TotalCost = ComparisonCost * BranchCost * DifferentBlocks; in findCostForOutputBlocks() local
2620 LLVM_DEBUG(dbgs() << "Adding: " << TotalCost in findCostForOutputBlocks()
2623 OutputCost += TotalCost * NumOutputBranches; in findCostForOutputBlocks()