/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | AlwaysInliner.cpp | 89 InlineCost::getAlways("always inline attribute"), in run() 156 InlineCost getInlineCost(CallBase &CB) override; 191 InlineCost AlwaysInlinerLegacyPass::getInlineCost(CallBase &CB) { in getInlineCost() 197 return InlineCost::getNever("indirect call"); in getInlineCost() 204 return InlineCost::getNever("unsplited coroutine call"); in getInlineCost() 208 return InlineCost::getNever("no definition"); in getInlineCost() 211 return InlineCost::getNever("no alwaysinline attribute"); in getInlineCost() 214 return InlineCost::getNever("noinline call site attribute"); in getInlineCost() 218 return InlineCost::getNever(IsViable.getFailureReason()); in getInlineCost() 220 return InlineCost::getAlways("always inliner"); in getInlineCost()
|
H A D | SampleProfile.cpp | 499 InlineCost shouldInlineCandidate(InlineCandidate &Candidate); 1247 InlineCost Cost = shouldInlineCandidate(Candidate); in tryInlineCandidate() 1323 std::optional<InlineCost> 1331 return InlineCost::getNever("not previously inlined"); in getExternalInlineAdvisorCost() 1334 return InlineCost::getAlways("previously inlined"); in getExternalInlineAdvisorCost() 1346 InlineCost 1348 if (std::optional<InlineCost> ReplayCost = in shouldInlineCandidate() 1358 return InlineCost::getNever("cold callsite"); in shouldInlineCandidate() 1397 return InlineCost::getAlways("preinliner"); in shouldInlineCandidate() 1403 return InlineCost::get(Cost.getCost(), INT_MAX); in shouldInlineCandidate() [all …]
|
H A D | PartialInlining.cpp | 781 InlineCost IC = in shouldPartialInline() 853 InstructionCost InlineCost = 0; in computeBBInlineCost() local 887 InlineCost += TTI->getIntrinsicInstrCost(ICA, TTI::TCK_SizeAndLatency); in computeBBInlineCost() 892 InlineCost += getCallsiteCost(*CI, DL); in computeBBInlineCost() 897 InlineCost += getCallsiteCost(*II, DL); in computeBBInlineCost() 902 InlineCost += (SI->getNumCases() + 1) * InstrCost; in computeBBInlineCost() 905 InlineCost += InstrCost; in computeBBInlineCost() 908 return InlineCost; in computeBBInlineCost()
|
H A D | InlineSimple.cpp | 48 InlineCost getInlineCost(CallBase &CB) override { in getInlineCost()
|
H A D | FunctionSpecialization.cpp | 640 InlineCost IC = in getSpecializationBonus()
|
H A D | Inliner.cpp | 367 function_ref<InlineCost(CallBase &CB)> GetInlineCost, in inlineCallsImpl()
|
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | InlineCost.h | 89 class InlineCost { 108 InlineCost(int Cost, int Threshold, int StaticBonusApplied, 119 static InlineCost get(int Cost, int Threshold, int StaticBonus = 0) { 122 return InlineCost(Cost, Threshold, StaticBonus); 124 static InlineCost 127 return InlineCost(AlwaysInlineCost, 0, 0, Reason, CostBenefit); 129 static InlineCost 132 return InlineCost(NeverInlineCost, 0, 0, Reason, CostBenefit); 275 InlineCost 289 InlineCost
|
H A D | InlineAdvisor.h | 148 std::optional<InlineCost> OIC, 160 std::optional<InlineCost> OIC; 373 std::optional<InlineCost> 374 shouldInline(CallBase &CB, function_ref<InlineCost(CallBase &CB)> GetInlineCost, 387 const Function &Caller, const InlineCost &IC, 398 std::string inlineCostStr(const InlineCost &IC);
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | InlineAdvisor.cpp | 133 std::optional<llvm::InlineCost> static getDefaultInlineAdvice( in getDefaultInlineAdvice() 250 shouldBeDeferred(Function *Caller, InlineCost IC, int &TotalSecondaryCost, in shouldBeDeferred() 251 function_ref<InlineCost(CallBase &CB)> GetInlineCost) { in shouldBeDeferred() 296 InlineCost IC2 = GetInlineCost(*CS2); in shouldBeDeferred() 341 RemarkT &operator<<(RemarkT &&R, const InlineCost &IC) { in operator <<() 357 std::string llvm::inlineCostStr(const InlineCost &IC) { in inlineCostStr() 376 std::optional<InlineCost> 378 function_ref<InlineCost(CallBase &CB)> GetInlineCost, in shouldInline() 382 InlineCost IC = GetInlineCost(CB); in shouldInline() 511 const Function &Callee, const Function &Caller, const InlineCost &IC, in emitInlinedIntoBasedOnCost()
|
H A D | ReplayInlineAdvisor.cpp | 121 this, CB, llvm::InlineCost::getAlways("previously inlined"), ORE, in getAdviceImpl() 136 this, CB, llvm::InlineCost::getAlways("AlwaysInline Fallback"), ORE, in getAdviceImpl()
|
H A D | InlineCost.cpp | 2838 InlineCost llvm::getInlineCost( in getInlineCost() 2957 InlineCost llvm::getInlineCost( in getInlineCost() 2970 return llvm::InlineCost::getAlways("always inline attribute"); in getInlineCost() 2971 return llvm::InlineCost::getNever(UserDecision->getFailureReason()); in getInlineCost() 2989 return InlineCost::getAlways("benefit over cost", in getInlineCost() 2992 return InlineCost::getNever("cost over benefit", CA.getCostBenefitPair()); in getInlineCost() 2996 return InlineCost::get(CA.getCost(), CA.getThreshold(), in getInlineCost() 3001 ? InlineCost::getAlways("empty function") in getInlineCost() 3002 : InlineCost::getNever(ShouldInline.getFailureReason()); in getInlineCost()
|
H A D | CMakeLists.txt | 73 InlineCost.cpp
|
H A D | InlineOrder.cpp | 46 llvm::InlineCost getInlineCostWrapper(CallBase &CB, in getInlineCostWrapper()
|
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/IPO/ |
H A D | Inliner.h | 55 virtual InlineCost getInlineCost(CallBase &CB) = 0;
|
/openbsd/gnu/usr.bin/clang/libLLVMAnalysis/ |
H A D | Makefile | 54 InlineCost.cpp \
|
/openbsd/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/Analysis/ |
H A D | BUILD.gn | 63 "InlineCost.cpp",
|
/openbsd/distrib/sets/lists/comp/ |
H A D | clang.amd64 | 1113 ./usr/include/llvm/Analysis/InlineCost.h
|
H A D | clang.arm64 | 1113 ./usr/include/llvm/Analysis/InlineCost.h
|
H A D | clang.armv7 | 1111 ./usr/include/llvm/Analysis/InlineCost.h
|
H A D | clang.i386 | 1111 ./usr/include/llvm/Analysis/InlineCost.h
|
H A D | clang.loongson | 1112 ./usr/include/llvm/Analysis/InlineCost.h
|
H A D | clang.macppc | 1112 ./usr/include/llvm/Analysis/InlineCost.h
|
H A D | clang.octeon | 1112 ./usr/include/llvm/Analysis/InlineCost.h
|
H A D | clang.powerpc64 | 1111 ./usr/include/llvm/Analysis/InlineCost.h
|
H A D | clang.sparc64 | 1112 ./usr/include/llvm/Analysis/InlineCost.h
|