Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h176 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp1105 else if (IC.isVariable() && IC.getCostDelta() > 0) in getInliningBonus()
1106 InliningBonus += IC.getCostDelta(); in getInliningBonus()
H A DPartialInlining.cpp758 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
790 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp343 if (IC2.getCostDelta() <= CandidateCost) { in shouldBeDeferred()
H A DInlineCost.cpp221 int getCostDelta() const { return CostAfter - CostBefore; } in getCostDelta() function
1495 OS << "cost delta = " << Record->getCostDelta(); in emitInstructionAnnot()