/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineAdvisor.cpp | 258 if (IC.getCost() <= 0) in shouldBeDeferred() 278 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() 310 TotalSecondaryCost += IC2.getCost(); in shouldBeDeferred() 328 return TotalSecondaryCost < IC.getCost(); in shouldBeDeferred() 330 int TotalCost = TotalSecondaryCost + IC.getCost() * NumCallerUsers; in shouldBeDeferred() 331 int Allowance = IC.getCost() * InlineDeferralScale; in shouldBeDeferred() 348 R << "(cost=" << ore::NV("Cost", IC.getCost()) in operator <<() 419 << " Cost = " << IC.getCost() in shouldInline()
|
H A D | InlineOrder.cpp | 98 Cost = IC.getCost(); in CostPriority() 118 Cost = IC.getCost(); in CostBenefitPriority() 167 APInt LHS = P1.CostBenefit->getBenefit() * P2.CostBenefit->getCost(); in isMoreDesirable() 168 APInt RHS = P2.CostBenefit->getBenefit() * P1.CostBenefit->getCost(); in isMoreDesirable() 189 Cost = IC.getCost(); in MLPriority()
|
H A D | InlineCost.cpp | 694 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in onLoweredCall() 1139 int getCost() const { return Cost; } in getCost() function in __anon463f3bdb0111::InlineCostCallAnalyzer 1233 CA.getCost()); in onLoweredCall() 2964 return CA.getCost(); in getInliningCostEstimate() 3090 return InlineCost::get(CA.getCost(), CA.getThreshold(), in getInlineCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | InlineCost.h | 71 const APInt &getCost() const { return Cost; } in getCost() function 145 int getCost() const { in getCost() function 175 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
|
/freebsd/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 | 1009 return Cost.getCost() <= SampleColdCallSiteThreshold; in shouldInlineColdCallee() 1400 return InlineCost::get(Cost.getCost(), SampleHotCallSiteThreshold); in shouldInlineCandidate() 1405 return InlineCost::get(Cost.getCost(), SampleThreshold); in shouldInlineCandidate()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | RegisterBankInfo.h | 229 unsigned getCost() const { return Cost; } in getCost() function
|
/freebsd/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 | 1377 if (Depth < Pred->Depth + Pred->getCost()) in fillStats() 1378 Depth = Pred->Depth + Pred->getCost(); in fillStats() 1392 Height = std::max(Height, Succ.first->Height + Succ.first->getCost()); in fillStats()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegisterBankInfo.cpp | 654 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: "; in print()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | RegBankSelect.cpp | 455 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 1936 InstructionCost getCost() { in getCost() function in __anon71de2b2d0611::GeneratedRTChecks 9541 InstructionCost CheckCost = Checks.getCost(); in areRuntimeChecksProfitable()
|