Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAlwaysInliner.cpp35 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in AlwaysInlineImpl() argument
65 InlineFunctionInfo IFI(GetAssumptionCache, &PSI, in AlwaysInlineImpl()
146 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in runOnModule() local
150 return AlwaysInlineImpl(M, InsertLifetime, PSI, GetAssumptionCache, GetAAR, in runOnModule()
182 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
193 bool Changed = AlwaysInlineImpl(M, InsertLifetime, PSI, GetAssumptionCache, in run()
H A DModuleInliner.cpp191 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
211 GetAssumptionCache, PSI, in run()
H A DPartialInlining.cpp196 : GetAssumptionCache(GetAC), LookupAssumptionCache(LookupAC), in PartialInlinerImpl()
266 function_ref<AssumptionCache &(Function &)> GetAssumptionCache; member
735 getInlineCost(CB, getInlineParams(), CalleeTTI, GetAssumptionCache, in shouldPartialInline()
1386 InlineFunctionInfo IFI(GetAssumptionCache, &PSI); in tryPartialInline()
1458 auto GetAssumptionCache = [&FAM](Function &F) -> AssumptionCache & { in run() local
1480 if (PartialInlinerImpl(GetAssumptionCache, LookupAssumptionCache, GetTTI, in run()
H A DInliner.cpp315 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
374 GetAssumptionCache, PSI, in run()
H A DSampleProfile.cpp519 std::function<AssumptionCache &(Function &)> GetAssumptionCache, in SampleProfileLoader() argument
524 GetAC(std::move(GetAssumptionCache)), in SampleProfileLoader()
2705 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
2722 LTOPhase, FS, GetAssumptionCache, GetTTI, GetTLI); in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCloning.h205 function_ref<AssumptionCache &(Function &)> GetAssumptionCache = nullptr,
209 : GetAssumptionCache(GetAssumptionCache), PSI(PSI), CallerBFI(CallerBFI), in GetAssumptionCache() function
214 function_ref<AssumptionCache &(Function &)> GetAssumptionCache; variable
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h279 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
293 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
319 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
328 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp247 function_ref<AssumptionCache &(Function &)> GetAssumptionCache; member in __anond1042ba30111::CallAnalyzer
500 : TTI(TTI), GetAssumptionCache(GetAssumptionCache), GetBFI(GetBFI), in CallAnalyzer()
1100 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in InlineCostCallAnalyzer() argument
1344 function_ref<AssumptionCache &(Function &)> &GetAssumptionCache, in InlineCostFeaturesAnalyzer() argument
2929 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in getInlineCost() argument
2934 GetAssumptionCache, GetTLI, GetBFI, PSI, ORE); in getInlineCost()
2939 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in getInliningCostEstimate() argument
2964 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in getInliningCostFeatures() argument
3049 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in getInlineCost() argument
3068 GetAssumptionCache, GetBFI, PSI, ORE); in getInlineCost()
[all …]
H A DMLInlineAdvisor.cpp331 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in getAdviceImpl() local
362 llvm::getInliningCostEstimate(CB, TIR, GetAssumptionCache); in getAdviceImpl()
373 llvm::getInliningCostFeatures(CB, TIR, GetAssumptionCache); in getAdviceImpl()
H A DInlineOrder.cpp55 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in getInlineCostWrapper() local
70 return getInlineCost(CB, Params, CalleeTTI, GetAssumptionCache, GetTLI, in getInlineCostWrapper()
H A DInlineAdvisor.cpp143 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in getDefaultInlineAdvice() local
159 return getInlineCost(CB, Params, CalleeTTI, GetAssumptionCache, GetTLI, in getDefaultInlineAdvice()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1487 if (!PreserveAlignmentAssumptions || !IFI.GetAssumptionCache) in AddAlignmentAssumptions()
1490 AssumptionCache *AC = &IFI.GetAssumptionCache(*CB.getCaller()); in AddAlignmentAssumptions()
1567 IFI.GetAssumptionCache ? &IFI.GetAssumptionCache(*Caller) : nullptr; in HandleByValArgument()
2259 IFI.GetAssumptionCache ? &IFI.GetAssumptionCache(*Caller) : nullptr; in InlineFunction()
2380 if (IFI.GetAssumptionCache) in InlineFunction()
2385 IFI.GetAssumptionCache(*Caller).registerAssumption(II); in InlineFunction()
2961 IFI.GetAssumptionCache ? &IFI.GetAssumptionCache(*Caller) : nullptr; in InlineFunction()