Home
last modified time | relevance | path

Searched refs:getCost (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DInlineCost.h109 int getCost() const { in getCost() function
130 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DInliner.cpp316 if (IC.getCost() <= 0) in shouldBeDeferred()
336 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred()
346 if (!ApplyLastCallBonus && TotalSecondaryCost >= IC.getCost()) in shouldBeDeferred()
372 TotalSecondaryCost += IC2.getCost(); in shouldBeDeferred()
382 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) in shouldBeDeferred()
401 R << "(cost=" << ore::NV("Cost", IC.getCost()) in operator <<()
460 << " Cost = " << IC.getCost() in shouldInline()
DPartialInlining.cpp808 << NV("Cost", IC.getCost()) << ", threshold=" in shouldPartialInline()
809 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
839 << NV("Caller", Caller) << " with cost=" << NV("Cost", IC.getCost()) in shouldPartialInline()
841 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
DSampleProfile.cpp934 return Cost.getCost() <= SampleColdCallSiteThreshold; in shouldInlineColdCallee()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp464 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in onLoweredCall()
642 int getCost() { return Cost; } in getCost() function in __anon8e8cbf860111::InlineCostCallAnalyzer
2185 if (!ShouldInline && CA.getCost() < CA.getThreshold()) in getInlineCost()
2187 if (ShouldInline && CA.getCost() >= CA.getThreshold()) in getInlineCost()
2190 return llvm::InlineCost::get(CA.getCost(), CA.getThreshold()); in getInlineCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h227 unsigned getCost() const { return Cost; } in getCost() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIMachineScheduler.h138 int getCost() { return SUnits.size(); } in getCost() function
DSIMachineScheduler.cpp1417 if (Depth < Pred->Depth + Pred->getCost()) in fillStats()
1418 Depth = Pred->Depth + Pred->getCost(); in fillStats()
1432 Height = std::max(Height, Succ.first->Height + Succ.first->getCost()); in fillStats()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp640 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: "; in print()
DRegBankSelect.cpp453 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()