/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 256 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1); in shouldBeDeferred() 286 TotalSecondaryCost += IC2.getCost(); in shouldBeDeferred() 296 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) in shouldBeDeferred() 324 DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost() in shouldInline() 325 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline() 329 Twine(IC.getCost()) + ", threshold=" + in shouldInline() 330 Twine(IC.getCostDelta() + IC.getCost()) + ")"); in shouldInline() 337 << " Cost = " << IC.getCost() in shouldInline() 346 DEBUG(dbgs() << " Inlining: cost=" << IC.getCost() in shouldInline() 347 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | InlineCost.h | 68 int getCost() const { in getCost() function 75 assert(getCost() == C && "Cost exceeds InlineCost precision"); in InlineCost() 90 return getCost(); in getValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 322 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() 352 TotalSecondaryCost += IC2.getCost(); in shouldBeDeferred() 362 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) in shouldBeDeferred() 400 LLVM_DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost() in shouldInline() 407 << NV("Cost", IC.getCost()) in shouldInline() 416 << " Cost = " << IC.getCost() in shouldInline() 431 LLVM_DEBUG(dbgs() << " Inlining: cost=" << IC.getCost() in shouldInline() 631 R << " with cost=" << NV("Cost", OIC->getCost()); in inlineCallsImpl() 1010 R << " with cost=" << NV("Cost", OIC->getCost()); in run()
|
D | PartialInlining.cpp | 793 << NV("Cost", IC.getCost()) << ", threshold=" in shouldPartialInline() 794 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline() 824 << NV("Caller", Caller) << " with cost=" << NV("Cost", IC.getCost()) in shouldPartialInline() 826 << NV("Threshold", IC.getCostDelta() + IC.getCost()) << ")"; in shouldPartialInline()
|
/external/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 91 int getCost() const { in getCost() function 99 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 104 int getCost() const { in getCost() function 118 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 125 unsigned getCost() const { return Cost; } in getCost() function 309 unsigned Cost = ShufTab[LHS].Cost + Op->getCost(); in main() 347 unsigned Cost = NumVals + Op->getCost(); in main()
|
/external/swiftshader/third_party/LLVM/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 125 unsigned getCost() const { return Cost; } in getCost() function 309 unsigned Cost = ShufTab[LHS].Cost + Op->getCost(); in main() 347 unsigned Cost = NumVals + Op->getCost(); in main()
|
/external/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 125 unsigned getCost() const { return Cost; } in getCost() function 309 unsigned Cost = ShufTab[LHS].Cost + Op->getCost(); in main() 347 unsigned Cost = NumVals + Op->getCost(); in main()
|
/external/llvm/lib/Analysis/ |
D | InlineCost.cpp | 224 int getCost() { return Cost; } in getCost() function in __anond8f3b4e60111::CallAnalyzer 965 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in visitCallSite() 1512 if (!ShouldInline && CA.getCost() < CA.getThreshold()) in getInlineCost() 1514 if (ShouldInline && CA.getCost() >= CA.getThreshold()) in getInlineCost() 1517 return llvm::InlineCost::get(CA.getCost(), CA.getThreshold()); in getInlineCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 296 int getCost() { return Cost; } in getCost() function in __anon5999813e0111::CallAnalyzer 1300 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in visitCallSite() 2021 if (!ShouldInline && CA.getCost() < CA.getThreshold()) in getInlineCost() 2023 if (ShouldInline && CA.getCost() >= CA.getThreshold()) in getInlineCost() 2026 return llvm::InlineCost::get(CA.getCost(), CA.getThreshold()); in getInlineCost()
|
/external/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegisterBankInfo.h | 142 unsigned getCost() const { return Cost; } in getCost() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegisterBankInfo.h | 225 unsigned getCost() const { return Cost; } in getCost() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIMachineScheduler.h | 139 int getCost() { return SUnits.size(); } in getCost() function
|
D | SIMachineScheduler.cpp | 1428 if (Depth < Pred->Depth + Pred->getCost()) in fillStats() 1429 Depth = Pred->Depth + Pred->getCost(); in fillStats() 1443 Height = std::max(Height, Succ.first->Height + Succ.first->getCost()); in fillStats()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIMachineScheduler.h | 130 int getCost() { return SUnits.size(); } in getCost() function
|
/external/llvm/lib/CodeGen/GlobalISel/ |
D | RegisterBankInfo.cpp | 501 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: "; in print()
|
D | RegBankSelect.cpp | 353 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | RegisterBankInfo.cpp | 592 OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: "; in print()
|
D | RegBankSelect.cpp | 400 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()
|