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.cpp36 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in AlwaysInlineImpl() argument
64 InlineFunctionInfo IFI(GetAssumptionCache, &PSI, nullptr, nullptr); in AlwaysInlineImpl()
136 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in runOnModule() local
141 GetAssumptionCache, GetAAR); in runOnModule()
172 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
181 GetAssumptionCache, GetAAR); in run()
H A DModuleInliner.cpp212 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
232 GetAssumptionCache, PSI, in run()
H A DPartialInlining.cpp195 : GetAssumptionCache(GetAC), LookupAssumptionCache(LookupAC), in PartialInlinerImpl()
265 function_ref<AssumptionCache &(Function &)> GetAssumptionCache; member
730 getInlineCost(CB, getInlineParams(), CalleeTTI, GetAssumptionCache, in shouldPartialInline()
1374 InlineFunctionInfo IFI(GetAssumptionCache, &PSI); in tryPartialInline()
1449 auto GetAssumptionCache = [&FAM](Function &F) -> AssumptionCache & { in run() local
1471 if (PartialInlinerImpl(GetAssumptionCache, LookupAssumptionCache, GetTTI, in run()
H A DInliner.cpp322 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
381 GetAssumptionCache, PSI, in run()
H A DSampleProfile.cpp470 std::function<AssumptionCache &(Function &)> GetAssumptionCache, in SampleProfileLoader() argument
477 GetAC(std::move(GetAssumptionCache)), in SampleProfileLoader()
2342 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
2360 LTOPhase, FS, GetAssumptionCache, GetTTI, GetTLI, CG, in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h281 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
296 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
323 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
333 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCloning.h254 function_ref<AssumptionCache &(Function &)> GetAssumptionCache = nullptr,
258 : GetAssumptionCache(GetAssumptionCache), PSI(PSI), CallerBFI(CallerBFI), in GetAssumptionCache() function
263 function_ref<AssumptionCache &(Function &)> GetAssumptionCache; variable
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp254 function_ref<AssumptionCache &(Function &)> GetAssumptionCache; member in __anon463f3bdb0111::CallAnalyzer
525 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in CallAnalyzer() argument
532 : TTI(TTI), GetAssumptionCache(GetAssumptionCache), GetBFI(GetBFI), in CallAnalyzer()
745 GetAssumptionCache, GetBFI, GetTLI, PSI, ORE, in onLoweredCall()
1205 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in InlineCostCallAnalyzer() argument
1213 : CallAnalyzer(Callee, Call, TTI, GetAssumptionCache, GetBFI, GetTLI, PSI, in InlineCostCallAnalyzer()
1333 GetAssumptionCache, GetBFI, GetTLI, PSI, ORE, in onLoweredCall()
1458 function_ref<AssumptionCache &(Function &)> &GetAssumptionCache, in InlineCostFeaturesAnalyzer() argument
1463 : CallAnalyzer(Callee, Call, TTI, GetAssumptionCache, GetBFI, GetTLI, in InlineCostFeaturesAnalyzer()
2954 CodeMetrics::collectEphemeralValues(&F, &GetAssumptionCache(F), in analyze()
[all …]
H A DInlineOrder.cpp55 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in getInlineCostWrapper() local
70 return getInlineCost(CB, Params, CalleeTTI, GetAssumptionCache, GetTLI, in getInlineCostWrapper()
H A DMLInlineAdvisor.cpp361 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in getAdviceImpl() local
397 llvm::getInliningCostEstimate(CB, TIR, GetAssumptionCache); in getAdviceImpl()
408 llvm::getInliningCostFeatures(CB, TIR, GetAssumptionCache); in getAdviceImpl()
H A DInlineAdvisor.cpp153 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in getDefaultInlineAdvice() local
173 return getInlineCost(CB, Params, CalleeTTI, GetAssumptionCache, GetTLI, in getDefaultInlineAdvice()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1674 if (!PreserveAlignmentAssumptions || !IFI.GetAssumptionCache) in AddAlignmentAssumptions()
1677 AssumptionCache *AC = &IFI.GetAssumptionCache(*CB.getCaller()); in AddAlignmentAssumptions()
1754 IFI.GetAssumptionCache ? &IFI.GetAssumptionCache(*Caller) : nullptr; in HandleByValArgument()
2689 IFI.GetAssumptionCache ? &IFI.GetAssumptionCache(*Caller) : nullptr; in InlineFunction()
2815 if (IFI.GetAssumptionCache) in InlineFunction()
2820 IFI.GetAssumptionCache(*Caller).registerAssumption(II); in InlineFunction()
3398 IFI.GetAssumptionCache ? &IFI.GetAssumptionCache(*Caller) : nullptr; in InlineFunction()