| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineAdvisor.cpp | 257 if (IC.getCost() <= 0) in shouldBeDeferred() 277 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() 309 TotalSecondaryCost += IC2.getCost(); in shouldBeDeferred() 327 return TotalSecondaryCost < IC.getCost(); in shouldBeDeferred() 329 int TotalCost = TotalSecondaryCost + IC.getCost() * NumCallerUsers; in shouldBeDeferred() 330 int Allowance = IC.getCost() * InlineDeferralScale; in shouldBeDeferred() 347 R << "(cost=" << ore::NV("Cost", IC.getCost()) in operator <<() 418 << " Cost = " << IC.getCost() in shouldInline()
|
| H A D | InlineOrder.cpp | 98 Cost = IC.getCost(); in CostPriority() 117 Cost = IC.getCost(); in CostBenefitPriority() 164 APInt LHS = P1.CostBenefit->getBenefit() * P2.CostBenefit->getCost(); in isMoreDesirable() 165 APInt RHS = P2.CostBenefit->getBenefit() * P1.CostBenefit->getCost(); in isMoreDesirable() 186 Cost = IC.getCost(); in MLPriority()
|
| H A D | InlineCost.cpp | 694 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in onLoweredCall() 1133 int getCost() const { return Cost; } in getCost() function in __anoncf8652d10111::InlineCostCallAnalyzer 1226 CA.getCost()); in onLoweredCall() 2959 return CA.getCost(); in getInliningCostEstimate() 3085 return InlineCost::get(CA.getCost(), CA.getThreshold(), in getInlineCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InlineCost.h | 70 const APInt &getCost() const { return Cost; } in getCost() function 144 int getCost() const { in getCost() function 174 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | PartialInlining.cpp | 762 << NV("Cost", IC.getCost()) << ", threshold=" in shouldPartialInline() 763 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline() 793 << NV("Caller", Caller) << " with cost=" << NV("Cost", IC.getCost()) in shouldPartialInline() 795 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
|
| H A D | SampleProfile.cpp | 1060 return Cost.getCost() <= SampleColdCallSiteThreshold; in shouldInlineColdCallee() 1447 return InlineCost::get(Cost.getCost(), INT_MAX); in shouldInlineCandidate() 1452 return InlineCost::get(Cost.getCost(), SampleThreshold); in shouldInlineCandidate()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | RegisterBankInfo.h | 229 unsigned getCost() const { return Cost; } in getCost() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIMachineScheduler.h | 135 int getCost() { return SUnits.size(); } in getCost() function
|
| H A D | SIMachineScheduler.cpp | 1385 if (Depth < Pred->Depth + Pred->getCost()) in fillStats() 1386 Depth = Pred->Depth + Pred->getCost(); in fillStats() 1400 Height = std::max(Height, Succ.first->Height + Succ.first->getCost()); in fillStats()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | RegisterBankInfo.cpp | 653 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: "; in print()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegBankSelect.cpp | 454 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 2063 InstructionCost getCost() { in getCost() function in __anona898e7630711::GeneratedRTChecks 9727 InstructionCost CheckCost = Checks.getCost(); in areRuntimeChecksProfitable()
|