reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/InlineCost.h
  130   int getCostDelta() const { return Threshold - getCost(); }
lib/Transforms/IPO/Inliner.cpp
  316   if (IC.getCost() <= 0)
  336   int CandidateCost = IC.getCost() - 1;
  346     if (!ApplyLastCallBonus && TotalSecondaryCost >= IC.getCost())
  372       TotalSecondaryCost += IC2.getCost();
  382   if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost())
  401     R << "(cost=" << ore::NV("Cost", IC.getCost())
  460                       << " Cost = " << IC.getCost()
lib/Transforms/IPO/PartialInlining.cpp
  807              << NV("Cost", IC.getCost()) << ", threshold="
  808              << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")";
  838            << NV("Caller", Caller) << " with cost=" << NV("Cost", IC.getCost())
  840            << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")";