Searched refs:getCost (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InlineAdvisor.cpp | 249 if (IC.getCost() <= 0) in shouldBeDeferred() 269 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() 301 TotalSecondaryCost += IC2.getCost(); in shouldBeDeferred() 319 return TotalSecondaryCost < IC.getCost(); in shouldBeDeferred() 321 int TotalCost = TotalSecondaryCost + IC.getCost() * NumCallerUsers; in shouldBeDeferred() 322 int Allowance = IC.getCost() * InlineDeferralScale; in shouldBeDeferred() 339 R << "(cost=" << ore::NV("Cost", IC.getCost()) in operator <<() 410 << " Cost = " << IC.getCost() in shouldInline()
|
| H A D | InlineCost.cpp | 648 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in onLoweredCall() 1035 int getCost() const { return Cost; } in getCost() function in __anon9893a50b0111::InlineCostCallAnalyzer 1121 CA.getCost()); in onLoweredCall() 2813 return CA.getCost(); in getInliningCostEstimate() 2939 return InlineCost::get(CA.getCost(), CA.getThreshold()); in getInlineCost()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | InlineCost.h | 68 const APInt &getCost() const { return Cost; } in getCost() function 135 int getCost() const { in getCost() function 159 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
|
| /llvm-project-15.0.7/llvm/utils/PerfectShuffle/ |
| H A 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()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | PartialInlining.cpp | 810 << NV("Cost", IC.getCost()) << ", threshold=" in shouldPartialInline() 811 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline() 841 << NV("Caller", Caller) << " with cost=" << NV("Cost", IC.getCost()) in shouldPartialInline() 843 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
|
| H A D | SampleProfile.cpp | 981 return Cost.getCost() <= SampleColdCallSiteThreshold; in shouldInlineColdCallee() 1367 return InlineCost::get(Cost.getCost(), INT_MAX); in shouldInlineCandidate() 1372 return InlineCost::get(Cost.getCost(), SampleThreshold); in shouldInlineCandidate()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | RegisterBankInfo.h | 227 unsigned getCost() const { return Cost; } in getCost() function
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | RegisterBankInfo.cpp | 636 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: "; in print()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegBankSelect.cpp | 452 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 1966 InstructionCost getCost() { in getCost() function in GeneratedRTChecks 9938 InstructionCost CheckCost = Checks.getCost(); in areRuntimeChecksProfitable()
|