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/ |
D | InlineCost.h | 109 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/ |
D | Inliner.cpp | 316 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()
|
D | PartialInlining.cpp | 808 << 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()
|
D | SampleProfile.cpp | 934 return Cost.getCost() <= SampleColdCallSiteThreshold; in shouldInlineColdCallee()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 464 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/ |
D | RegisterBankInfo.h | 227 unsigned getCost() const { return Cost; } in getCost() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIMachineScheduler.h | 138 int getCost() { return SUnits.size(); } in getCost() function
|
D | SIMachineScheduler.cpp | 1417 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/ |
D | RegisterBankInfo.cpp | 640 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: "; in print()
|
D | RegBankSelect.cpp | 453 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()
|