| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| D | InlineOrder.cpp | 99 Cost = IC.getCost(); in CostPriority() 118 Cost = IC.getCost(); in CostBenefitPriority() 165 APInt LHS = P1.CostBenefit->getBenefit() * P2.CostBenefit->getCost(); in isMoreDesirable() 166 APInt RHS = P2.CostBenefit->getBenefit() * P1.CostBenefit->getCost(); in isMoreDesirable() 187 Cost = IC.getCost(); in MLPriority()
|
| 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()
|
| D | InlineCost.cpp | 683 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in onLoweredCall() 1064 int getCost() const { return Cost; } in getCost() function in __anon66fc65d70111::InlineCostCallAnalyzer 1157 CA.getCost()); in onLoweredCall() 2870 return CA.getCost(); in getInliningCostEstimate() 2996 return InlineCost::get(CA.getCost(), CA.getThreshold(), in getInlineCost()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/ |
| 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()
|
| /openbsd/src/gnu/llvm/llvm/utils/PerfectShuffle/ |
| D | PerfectShuffle.cpp | 128 unsigned getCost() const { return Cost; } in getCost() function 370 unsigned Cost = ShufTab[LHS].Cost + Op->getCost(); in main() 408 unsigned Cost = NumVals + Op->getCost(); in main()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| D | PartialInlining.cpp | 809 << NV("Cost", IC.getCost()) << ", threshold=" in shouldPartialInline() 810 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline() 840 << NV("Caller", Caller) << " with cost=" << NV("Cost", IC.getCost()) in shouldPartialInline() 842 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
|
| D | SampleProfile.cpp | 1019 return Cost.getCost() <= SampleColdCallSiteThreshold; in shouldInlineColdCallee() 1403 return InlineCost::get(Cost.getCost(), INT_MAX); in shouldInlineCandidate() 1408 return InlineCost::get(Cost.getCost(), SampleThreshold); in shouldInlineCandidate()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| D | RegisterBankInfo.h | 227 unsigned getCost() const { return Cost; } in getCost() function
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | SIMachineScheduler.h | 135 int getCost() { return SUnits.size(); } in getCost() function
|
| 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()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | RegisterBankInfo.cpp | 643 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: "; in print()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| D | RegBankSelect.cpp | 451 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| D | LoopVectorize.cpp | 2000 InstructionCost getCost() { in getCost() function in __anon105d7da90511::GeneratedRTChecks 10061 InstructionCost CheckCost = Checks.getCost(); in areRuntimeChecksProfitable()
|