Home
last modified time | relevance | path

Searched refs:getCost (Results 1 – 13 of 13) sorted by relevance

/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DInlineOrder.cpp99 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()
DInlineAdvisor.cpp258 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()
DInlineCost.cpp683 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/
DInlineCost.h70 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/
DPerfectShuffle.cpp128 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/
DPartialInlining.cpp809 << 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()
DSampleProfile.cpp1019 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/
DRegisterBankInfo.h227 unsigned getCost() const { return Cost; } in getCost() function
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DSIMachineScheduler.h135 int getCost() { return SUnits.size(); } in getCost() function
DSIMachineScheduler.cpp1385 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/
DRegisterBankInfo.cpp643 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: "; in print()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp451 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2000 InstructionCost getCost() { in getCost() function in __anon105d7da90511::GeneratedRTChecks
10061 InstructionCost CheckCost = Checks.getCost(); in areRuntimeChecksProfitable()