Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DInlineCost.h159 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta() function
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp647 else if (IC.isVariable() && IC.getCostDelta() > 0) in getSpecializationBonus()
648 Bonus += IC.getCostDelta(); in getSpecializationBonus()
H A DPartialInlining.cpp811 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
843 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInlineAdvisor.cpp299 if (IC2.getCostDelta() <= CandidateCost) { in shouldBeDeferred()
H A DInlineCost.cpp177 int getCostDelta() const { return CostAfter - CostBefore; } in getCostDelta() function
1272 OS << "cost delta = " << Record->getCostDelta(); in emitInstructionAnnot()