HomeSort by: relevance | last modified time | path
    Searched refs:getCost (Results 1 - 11 of 11) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
InlineAdvisor.cpp 202 if (IC.getCost() <= 0)
222 int CandidateCost = IC.getCost() - 1;
254 TotalSecondaryCost += IC2.getCost();
270 // inlining -- IC.getCost() multiplied by the number of callers to Caller.
272 return TotalSecondaryCost < IC.getCost();
274 int TotalCost = TotalSecondaryCost + IC.getCost() * NumCallerUsers;
275 int Allowance = IC.getCost() * InlineDeferralScale;
292 R << "(cost=" << ore::NV("Cost", IC.getCost())
363 << " Cost = " << IC.getCost()
InlineCost.cpp 567 Cost -= std::max(0, CA.getThreshold() - CA.getCost());
937 int getCost() { return Cost; }
2505 return CA.getCost();
2623 if (!ShouldInline.isSuccess() && CA.getCost() < CA.getThreshold())
2625 if (ShouldInline.isSuccess() && CA.getCost() >= CA.getThreshold())
2628 return llvm::InlineCost::get(CA.getCost(), CA.getThreshold());
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
InlineCost.h 108 int getCost() const {
129 int getCostDelta() const { return Threshold - getCost(); }
  /src/external/apache2/llvm/dist/llvm/utils/PerfectShuffle/
PerfectShuffle.cpp 124 unsigned getCost() const { return Cost; }
308 unsigned Cost = ShufTab[LHS].Cost + Op->getCost();
346 unsigned Cost = NumVals + Op->getCost();
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
RegisterBankInfo.h 228 unsigned getCost() const { return Cost; }
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIMachineScheduler.h 136 int getCost() { return SUnits.size(); }
SIMachineScheduler.cpp 1399 if (Depth < Pred->Depth + Pred->getCost())
1400 Depth = Pred->Depth + Pred->getCost();
1414 Height = std::max(Height, Succ.first->Height + Succ.first->getCost());
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
PartialInlining.cpp 816 << NV("Cost", IC.getCost()) << ", threshold="
817 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")";
847 << NV("Caller", Caller) << " with cost=" << NV("Cost", IC.getCost())
849 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")";
SampleProfile.cpp 939 return Cost.getCost() <= SampleColdCallSiteThreshold;
1293 return InlineCost::get(Cost.getCost(), INT_MAX);
1298 return InlineCost::get(Cost.getCost(), SampleThreshold);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
RegBankSelect.cpp 453 bool Saturated = Cost.addLocalCost(InstrMapping.getCost());
RegisterBankInfo.cpp 639 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: ";

Completed in 69 milliseconds