Home
last modified time | relevance | path

Searched refs:GetAssumptionCache (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h253 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
267 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
293 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
302 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCloning.h205 function_ref<AssumptionCache &(Function &)> GetAssumptionCache = nullptr,
209 : CG(cg), GetAssumptionCache(GetAssumptionCache), PSI(PSI), in CG()
216 function_ref<AssumptionCache &(Function &)> GetAssumptionCache; variable
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp67 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in getInlineCost() local
71 return llvm::getInlineCost(CB, Params, TTI, GetAssumptionCache, GetTLI, in getInlineCost()
H A DAlwaysInliner.cpp41 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
80 /*cg=*/nullptr, GetAssumptionCache, &PSI, in run()
H A DInliner.cpp303 std::function<AssumptionCache &(Function &)> GetAssumptionCache, in inlineCallsImpl() argument
381 InlineFunctionInfo InlineInfo(&CG, GetAssumptionCache, PSI); in inlineCallsImpl()
544 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in inlineCalls() local
548 SCC, CG, GetAssumptionCache, PSI, GetTLI, InsertLifetime, in inlineCalls()
941 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
985 /*cg=*/nullptr, GetAssumptionCache, PSI, in run()
H A DPartialInlining.cpp200 : GetAssumptionCache(GetAC), LookupAssumptionCache(LookupAC), in PartialInlinerImpl()
270 function_ref<AssumptionCache &(Function &)> GetAssumptionCache; member
372 auto GetAssumptionCache = [&ACT](Function &F) -> AssumptionCache & { in runOnModule() local
388 return PartialInlinerImpl(GetAssumptionCache, LookupAssumptionCache, GetTTI, in runOnModule()
789 getInlineCost(CB, getInlineParams(), CalleeTTI, GetAssumptionCache, in shouldPartialInline()
1435 InlineFunctionInfo IFI(nullptr, GetAssumptionCache, &PSI); in tryPartialInline()
1532 auto GetAssumptionCache = [&FAM](Function &F) -> AssumptionCache & { in run() local
1554 if (PartialInlinerImpl(GetAssumptionCache, LookupAssumptionCache, GetTTI, in run()
H A DSampleProfile.cpp358 std::function<AssumptionCache &(Function &)> GetAssumptionCache, in SampleProfileLoader() argument
362 GetAC(std::move(GetAssumptionCache)), in SampleProfileLoader()
1987 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
2001 LTOPhase, GetAssumptionCache, GetTTI, GetTLI); in run()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp181 function_ref<AssumptionCache &(Function &)> GetAssumptionCache; member in __anondb71d90f0111::CallAnalyzer
422 : TTI(TTI), GetAssumptionCache(GetAssumptionCache), GetBFI(GetBFI), in CallAnalyzer()
921 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in InlineCostCallAnalyzer() argument
1149 function_ref<AssumptionCache &(Function &)> &GetAssumptionCache, in InlineCostFeaturesAnalyzer() argument
2691 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in getInlineCost() argument
2696 GetAssumptionCache, GetTLI, GetBFI, PSI, ORE); in getInlineCost()
2701 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in getInliningCostEstimate() argument
2726 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in getInliningCostFeatures() argument
2817 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in getInlineCost() argument
2836 GetAssumptionCache, GetBFI, PSI, ORE); in getInlineCost()
[all …]
H A DMLInlineAdvisor.cpp187 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in getAdviceImpl() local
218 llvm::getInliningCostEstimate(CB, TIR, GetAssumptionCache); in getAdviceImpl()
229 llvm::getInliningCostFeatures(CB, TIR, GetAssumptionCache); in getAdviceImpl()
H A DInlineAdvisor.cpp84 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in getDefaultInlineAdvice() local
100 return getInlineCost(CB, Params, CalleeTTI, GetAssumptionCache, GetTLI, in getDefaultInlineAdvice()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1271 if (!PreserveAlignmentAssumptions || !IFI.GetAssumptionCache) in AddAlignmentAssumptions()
1274 AssumptionCache *AC = &IFI.GetAssumptionCache(*CB.getCaller()); in AddAlignmentAssumptions()
1417 IFI.GetAssumptionCache ? &IFI.GetAssumptionCache(*Caller) : nullptr; in HandleByValArgument()
1940 IFI.GetAssumptionCache ? &IFI.GetAssumptionCache(*Caller) : nullptr; in InlineFunction()
2051 if (IFI.GetAssumptionCache) in InlineFunction()
2056 IFI.GetAssumptionCache(*Caller).registerAssumption(II); in InlineFunction()
2646 IFI.GetAssumptionCache ? &IFI.GetAssumptionCache(*Caller) : nullptr; in InlineFunction()