Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DCloning.h180 *GetAssumptionCache = nullptr,
184 : CG(cg), GetAssumptionCache(GetAssumptionCache), PSI(PSI), in CG()
190 std::function<AssumptionCache &(Function &)> *GetAssumptionCache; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DInlineSimple.cpp68 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in getInlineCost() local
72 return llvm::getInlineCost(CS, Params, TTI, GetAssumptionCache, in getInlineCost()
DInliner.cpp466 std::function<AssumptionCache &(Function &)> GetAssumptionCache, in inlineCallsImpl() argument
542 InlineFunctionInfo InlineInfo(&CG, &GetAssumptionCache, PSI); in inlineCallsImpl()
697 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in inlineCalls() local
700 return inlineCallsImpl(SCC, CG, GetAssumptionCache, PSI, TLI, InsertLifetime, in inlineCalls()
930 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in run() local
941 return getInlineCost(CS, Params, CalleeTTI, GetAssumptionCache, {GetBFI}, in run()
980 /*cg=*/nullptr, &GetAssumptionCache, PSI, in run()
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()
1391 InlineFunctionInfo IFI(nullptr, GetAssumptionCache, PSI); in tryPartialInline()
1490 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in run() local
1507 if (PartialInlinerImpl(&GetAssumptionCache, &GetTTI, {GetBFI}, PSI) in run()
DSampleProfile.cpp187 std::function<AssumptionCache &(Function &)> GetAssumptionCache, in SampleProfileLoader() argument
189 : GetAC(std::move(GetAssumptionCache)), in SampleProfileLoader()
1610 auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & { in run() local
1619 IsThinLTOPreLink, GetAssumptionCache, GetTTI); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DInlineCost.h194 std::function<AssumptionCache &(Function &)> &GetAssumptionCache,
206 std::function<AssumptionCache &(Function &)> &GetAssumptionCache,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp201 std::function<AssumptionCache &(Function &)> GetAssumptionCache = in getInlineCost() local
206 return llvm::getInlineCost(CS, Callee, LocalParams, TTI, GetAssumptionCache, in getInlineCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp103 std::function<AssumptionCache &(Function &)> &GetAssumptionCache; member in __anon5999813e0111::CallAnalyzer
273 std::function<AssumptionCache &(Function &)> &GetAssumptionCache, in CallAnalyzer() argument
277 : TTI(TTI), GetAssumptionCache(GetAssumptionCache), GetBFI(GetBFI), in CallAnalyzer()
1295 CallAnalyzer CA(TTI, GetAssumptionCache, GetBFI, PSI, ORE, *F, CS, in visitCallSite()
1780 CodeMetrics::collectEphemeralValues(&F, &GetAssumptionCache(F), EphValues); in analyzeCall()
1949 std::function<AssumptionCache &(Function &)> &GetAssumptionCache, in getInlineCost() argument
1953 GetAssumptionCache, GetBFI, PSI, ORE); in getInlineCost()
1959 std::function<AssumptionCache &(Function &)> &GetAssumptionCache, in getInlineCost() argument
2014 CallAnalyzer CA(CalleeTTI, GetAssumptionCache, GetBFI, PSI, ORE, *Callee, CS, in getInlineCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1136 if (!PreserveAlignmentAssumptions || !IFI.GetAssumptionCache) in AddAlignmentAssumptions()
1139 AssumptionCache *AC = &(*IFI.GetAssumptionCache)(*CS.getCaller()); in AddAlignmentAssumptions()
1277 IFI.GetAssumptionCache ? &(*IFI.GetAssumptionCache)(*Caller) : nullptr; in HandleByValArgument()
1760 if (IFI.GetAssumptionCache) in InlineFunction()
1766 (*IFI.GetAssumptionCache)(*Caller).registerAssumption(II); in InlineFunction()
2361 IFI.GetAssumptionCache ? &(*IFI.GetAssumptionCache)(*Caller) : nullptr; in InlineFunction()