Home
last modified time | relevance | path

Searched refs:GetBFI (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DInlineCost.h195 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI,
207 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp206 : GetAssumptionCache(GetAC), GetTTI(GTTI), GetBFI(GBFI), PSI(ProfSI) {} in PartialInlinerImpl()
270 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI; member
391 if (!GetBFI) { in computeOutliningColdRegionsInfo()
395 BFI = &(*GetBFI)(*F); in computeOutliningColdRegionsInfo()
767 *GetAssumptionCache, GetBFI, PSI, &ORE); in shouldPartialInline()
926 if (!GetBFI) { in computeCallsiteToProfCountMap()
934 CurrentCallerBFI = &(*GetBFI)(*Caller); in computeCallsiteToProfCountMap()
1495 std::function<BlockFrequencyInfo &(Function &)> GetBFI = in run() local
1507 if (PartialInlinerImpl(&GetAssumptionCache, &GetTTI, {GetBFI}, PSI) in run()
DGlobalOpt.cpp2149 function_ref<BlockFrequencyInfo &(Function &)> GetBFI, in isValidCandidateForColdCC() argument
2161 BlockFrequencyInfo &CallerBFI = GetBFI(*CallerFunc); in isValidCandidateForColdCC()
2185 function_ref<BlockFrequencyInfo &(Function &)> GetBFI) { in hasOnlyColdCalls() argument
2205 BlockFrequencyInfo &CallerBFI = GetBFI(F); in hasOnlyColdCalls()
2217 function_ref<BlockFrequencyInfo &(Function &)> GetBFI, in OptimizeFunctions() argument
2226 if (hasOnlyColdCalls(*F, GetBFI)) in OptimizeFunctions()
2279 (isValidCandidateForColdCC(*F, GetBFI, AllCallsCold) && in OptimizeFunctions()
2891 function_ref<BlockFrequencyInfo &(Function &)> GetBFI, in optimizeGlobalsInModule() argument
2914 LocalChange |= OptimizeFunctions(M, TLI, GetTTI, GetBFI, LookupDomTree, in optimizeGlobalsInModule()
2956 auto GetBFI = [&FAM](Function &F) -> BlockFrequencyInfo & { in run() local
[all …]
DInliner.cpp934 auto GetBFI = [&](Function &F) -> BlockFrequencyInfo & { in run() local
941 return getInlineCost(CS, Params, CalleeTTI, GetAssumptionCache, {GetBFI}, in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp106 Optional<function_ref<BlockFrequencyInfo &(Function &)>> &GetBFI; member in __anon5999813e0111::CallAnalyzer
274 Optional<function_ref<BlockFrequencyInfo &(Function &)>> &GetBFI, in CallAnalyzer() argument
277 : TTI(TTI), GetAssumptionCache(GetAssumptionCache), GetBFI(GetBFI), in CallAnalyzer()
922 BlockFrequencyInfo *CallerBFI = GetBFI ? &((*GetBFI)(*Caller)) : nullptr; in updateThreshold()
1295 CallAnalyzer CA(TTI, GetAssumptionCache, GetBFI, PSI, ORE, *F, CS, in visitCallSite()
1950 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI, in getInlineCost() argument
1953 GetAssumptionCache, GetBFI, PSI, ORE); in getInlineCost()
1960 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI, in getInlineCost() argument
2014 CallAnalyzer CA(CalleeTTI, GetAssumptionCache, GetBFI, PSI, ORE, *Callee, CS, in getInlineCost()