Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h174 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp1026 else if (IC.isVariable() && IC.getCostDelta() > 0) in getInliningBonus()
1027 InliningBonus += IC.getCostDelta(); in getInliningBonus()
H A DPartialInlining.cpp763 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
795 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp307 if (IC2.getCostDelta() <= CandidateCost) { in shouldBeDeferred()
H A DInlineCost.cpp214 int getCostDelta() const { return CostAfter - CostBefore; } in getCostDelta() function
1379 OS << "cost delta = " << Record->getCostDelta(); in emitInstructionAnnot()