Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DCloning.h178 *GetAssumptionCache = nullptr,
182 : CG(cg), GetAssumptionCache(GetAssumptionCache), PSI(PSI), in CG()
188 std::function<AssumptionCache &(Function &)> *GetAssumptionCache; variable
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp68 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in getInlineCost() local
72 return llvm::getInlineCost(CS, Params, TTI, GetAssumptionCache, in getInlineCost()
H A DInliner.cpp530 std::function<AssumptionCache &(Function &)> GetAssumptionCache, in inlineCallsImpl() argument
607 InlineFunctionInfo InlineInfo(&CG, &GetAssumptionCache, PSI); in inlineCallsImpl()
762 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in inlineCalls() local
765 return inlineCallsImpl(SCC, CG, GetAssumptionCache, PSI, TLI, InsertLifetime, in inlineCalls()
998 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in run() local
1009 return getInlineCost(CS, Params, CalleeTTI, GetAssumptionCache, {GetBFI}, in run()
1060 /*cg=*/nullptr, &GetAssumptionCache, PSI, in run()
H A DPartialInlining.cpp206 : GetAssumptionCache(GetAC), GetTTI(GTTI), GetBFI(GBFI), PSI(ProfSI) {} in PartialInlinerImpl()
268 std::function<AssumptionCache &(Function &)> *GetAssumptionCache; member
364 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in runOnModule() local
374 return PartialInlinerImpl(&GetAssumptionCache, &GetTTI, NoneType::None, PSI) in runOnModule()
767 *GetAssumptionCache, GetBFI, PSI, &ORE); in shouldPartialInline()
1386 InlineFunctionInfo IFI(nullptr, GetAssumptionCache, PSI); in tryPartialInline()
1483 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in run() local
1500 if (PartialInlinerImpl(&GetAssumptionCache, &GetTTI, {GetBFI}, PSI) in run()
H A DSampleProfile.cpp200 std::function<AssumptionCache &(Function &)> GetAssumptionCache, in SampleProfileLoader() argument
202 : GetAC(std::move(GetAssumptionCache)), in SampleProfileLoader()
1651 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
1662 IsThinLTOPreLink, GetAssumptionCache, GetTTI); in run()
H A DHotColdSplitting.cpp605 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in run() local
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DInlineCost.h218 std::function<AssumptionCache &(Function &)> &GetAssumptionCache,
230 std::function<AssumptionCache &(Function &)> &GetAssumptionCache,
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUInline.cpp204 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in getInlineCost() local
209 return llvm::getInlineCost(CS, Callee, LocalParams, TTI, GetAssumptionCache, in getInlineCost()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInlineCost.cpp105 std::function<AssumptionCache &(Function &)> &GetAssumptionCache; member in __anon45440fe00111::CallAnalyzer
276 std::function<AssumptionCache &(Function &)> &GetAssumptionCache, in CallAnalyzer() argument
280 : TTI(TTI), GetAssumptionCache(GetAssumptionCache), GetBFI(GetBFI), in CallAnalyzer()
1297 CallAnalyzer CA(TTI, GetAssumptionCache, GetBFI, PSI, ORE, *F, CS, in visitCallSite()
1803 CodeMetrics::collectEphemeralValues(&F, &GetAssumptionCache(F), EphValues); in analyzeCall()
1991 std::function<AssumptionCache &(Function &)> &GetAssumptionCache, in getInlineCost() argument
1995 GetAssumptionCache, GetBFI, PSI, ORE); in getInlineCost()
2001 std::function<AssumptionCache &(Function &)> &GetAssumptionCache, in getInlineCost() argument
2061 CallAnalyzer CA(CalleeTTI, GetAssumptionCache, GetBFI, PSI, ORE, *Callee, CS, in getInlineCost()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1150 if (!PreserveAlignmentAssumptions || !IFI.GetAssumptionCache) in AddAlignmentAssumptions()
1153 AssumptionCache *AC = &(*IFI.GetAssumptionCache)(*CS.getCaller()); in AddAlignmentAssumptions()
1291 IFI.GetAssumptionCache ? &(*IFI.GetAssumptionCache)(*Caller) : nullptr; in HandleByValArgument()
1769 if (IFI.GetAssumptionCache) in InlineFunction()
1775 (*IFI.GetAssumptionCache)(*Caller).registerAssumption(II); in InlineFunction()
2370 IFI.GetAssumptionCache ? &(*IFI.GetAssumptionCache)(*Caller) : nullptr; in InlineFunction()