Searched refs:getCost (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| D | InlineAdvisor.cpp | 205 if (IC.getCost() <= 0) in shouldBeDeferred() 225 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() 257 TotalSecondaryCost += IC2.getCost(); in shouldBeDeferred() 275 return TotalSecondaryCost < IC.getCost(); in shouldBeDeferred() 277 int TotalCost = TotalSecondaryCost + IC.getCost() * NumCallerUsers; in shouldBeDeferred() 278 int Allowance = IC.getCost() * InlineDeferralScale; in shouldBeDeferred() 295 R << "(cost=" << ore::NV("Cost", IC.getCost()) in operator <<() 366 << " Cost = " << IC.getCost() in shouldInline()
|
| D | InlineCost.cpp | 592 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in onLoweredCall() 952 int getCost() const { return Cost; } in getCost() function in __anon1e9e54f30111::InlineCostCallAnalyzer 1037 CA.getCost()); in onLoweredCall() 2721 return CA.getCost(); in getInliningCostEstimate() 2853 if (!ShouldInline.isSuccess() && CA.getCost() < CA.getThreshold()) in getInlineCost() 2855 if (ShouldInline.isSuccess() && CA.getCost() >= CA.getThreshold()) in getInlineCost() 2858 return llvm::InlineCost::get(CA.getCost(), CA.getThreshold()); in getInlineCost()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| D | InlineCost.h | 63 const APInt &getCost() const { return Cost; } in getCost() function 130 int getCost() const { in getCost() function 154 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| D | PartialInlining.cpp | 816 << NV("Cost", IC.getCost()) << ", threshold=" in shouldPartialInline() 817 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline() 847 << NV("Caller", Caller) << " with cost=" << NV("Cost", IC.getCost()) in shouldPartialInline() 849 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
|
| D | SampleProfile.cpp | 936 return Cost.getCost() <= SampleColdCallSiteThreshold; in shouldInlineColdCallee() 1294 return InlineCost::get(Cost.getCost(), INT_MAX); in shouldInlineCandidate() 1299 return InlineCost::get(Cost.getCost(), SampleThreshold); in shouldInlineCandidate()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| D | RegisterBankInfo.h | 228 unsigned getCost() const { return Cost; } in getCost() function
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| D | SIMachineScheduler.h | 136 int getCost() { return SUnits.size(); } in getCost() function
|
| D | SIMachineScheduler.cpp | 1399 if (Depth < Pred->Depth + Pred->getCost()) in fillStats() 1400 Depth = Pred->Depth + Pred->getCost(); in fillStats() 1414 Height = std::max(Height, Succ.first->Height + Succ.first->getCost()); in fillStats()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| D | RegisterBankInfo.cpp | 639 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: "; in print()
|
| D | RegBankSelect.cpp | 453 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()
|