| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| HD | AlwaysInliner.cpp | 37 function_ref<BlockFrequencyInfo &(Function &)> GetBFI) { in AlwaysInlineImpl() argument 65 GetBFI ? &GetBFI(*Caller) : nullptr, in AlwaysInlineImpl() 66 GetBFI ? &GetBFI(F) : nullptr); in AlwaysInlineImpl() 172 auto GetBFI = [&](Function &F) -> BlockFrequencyInfo & { in run() local 181 GetAAR, GetBFI); in run()
|
| HD | SCCP.cpp | 116 std::function<BlockFrequencyInfo &(Function &)> GetBFI, in runIPSCCP() argument 119 FunctionSpecializer Specializer(Solver, M, FAM, GetBFI, GetTLI, GetTTI, in runIPSCCP() 398 auto GetBFI = [&FAM](Function &F) -> BlockFrequencyInfo & { in run() local 403 if (!runIPSCCP(M, DL, &FAM, GetTLI, GetTTI, GetAC, GetDT, GetBFI, in run()
|
| HD | PartialInlining.cpp | 197 GetTTI(GTTI), GetBFI(GBFI), GetTLI(GTLI), PSI(ProfSI) {} in PartialInlinerImpl() 269 function_ref<BlockFrequencyInfo &(Function &)> GetBFI; member 356 if (!GetBFI) { in computeOutliningColdRegionsInfo() 360 BFI = &(GetBFI(F)); in computeOutliningColdRegionsInfo() 736 GetTLI, GetBFI, &PSI, RemarksEnabled ? &ORE : nullptr); in shouldPartialInline() 911 if (!GetBFI) { in computeCallsiteToProfCountMap() 919 CurrentCallerBFI = &(GetBFI(*Caller)); in computeCallsiteToProfCountMap() 1466 auto GetBFI = [&FAM](Function &F) -> BlockFrequencyInfo & { in run() local 1481 GetTLI, PSI, GetBFI) in run()
|
| HD | GlobalOpt.cpp | 1752 function_ref<BlockFrequencyInfo &(Function &)> GetBFI, in isValidCandidateForColdCC() argument 1764 BlockFrequencyInfo &CallerBFI = GetBFI(*CallerFunc); in isValidCandidateForColdCC() 1786 function_ref<BlockFrequencyInfo &(Function &)> GetBFI, in hasOnlyColdCalls() argument 1808 BlockFrequencyInfo &CallerBFI = GetBFI(F); in hasOnlyColdCalls() 1923 function_ref<BlockFrequencyInfo &(Function &)> GetBFI, in OptimizeFunctions() argument 1934 if (hasOnlyColdCalls(F, GetBFI, ChangeableCCCache)) in OptimizeFunctions() 2005 isValidCandidateForColdCC(F, GetBFI, AllCallsCold))) { in OptimizeFunctions() 2487 function_ref<BlockFrequencyInfo &(Function &)> GetBFI, in optimizeGlobalsInModule() argument 2514 LocalChange |= OptimizeFunctions(M, GetTLI, GetTTI, GetBFI, LookupDomTree, in optimizeGlobalsInModule() 2575 auto GetBFI = [&FAM](Function &F) -> BlockFrequencyInfo & { in run() local [all …]
|
| HD | HotColdSplitting.cpp | 668 BFI = GetBFI(F); in outlineColdRegions()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| HD | FunctionSpecialization.h | 260 std::function<BlockFrequencyInfo &(Function &)> GetBFI; variable 274 std::function<BlockFrequencyInfo &(Function &)> GetBFI, in FunctionSpecializer() argument 278 : Solver(Solver), M(M), FAM(FAM), GetBFI(GetBFI), GetTLI(GetTLI), in FunctionSpecializer() 286 auto &BFI = GetBFI(*F); in getInstCostVisitorFor()
|
| HD | HotColdSplitting.h | 43 : PSI(ProfSI), GetBFI(GBFI), GetTTI(GTTI), GetORE(GORE), LookupAC(LAC) {} in HotColdSplitting() 60 function_ref<BlockFrequencyInfo *(Function &)> GetBFI; variable
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| HD | InlineCost.h | 282 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr, 296 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr, 321 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr, 330 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr,
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | InlineCost.cpp | 250 function_ref<BlockFrequencyInfo &(Function &)> GetBFI; member in __anone74d94350111::CallAnalyzer 497 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr, in CallAnalyzer() argument 500 : TTI(TTI), GetAssumptionCache(GetAssumptionCache), GetBFI(GetBFI), in CallAnalyzer() 690 GetAssumptionCache, GetBFI, PSI, ORE, false); in onLoweredCall() 757 assert(GetBFI && "GetBFI must be available"); in onBlockAnalyzed() 758 BlockFrequencyInfo *BFI = &(GetBFI(F)); in onBlockAnalyzed() 799 if (!GetBFI) in isCostBenefitAnalysisEnabled() 816 BlockFrequencyInfo *CallerBFI = &(GetBFI(*Caller)); in isCostBenefitAnalysisEnabled() 829 BlockFrequencyInfo *CalleeBFI = &(GetBFI(F)); in isCostBenefitAnalysisEnabled() 876 assert(GetBFI); in costBenefitAnalysis() [all …]
|
| HD | InlineOrder.cpp | 58 auto GetBFI = [&](Function &F) -> BlockFrequencyInfo & { in getInlineCostWrapper() local 71 GetBFI, PSI, RemarksEnabled ? &ORE : nullptr); in getInlineCostWrapper()
|
| HD | InlineAdvisor.cpp | 147 auto GetBFI = [&](Function &F) -> BlockFrequencyInfo & { in getDefaultInlineAdvice() local 161 GetBFI, PSI, RemarksEnabled ? &ORE : nullptr); in getDefaultInlineAdvice()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | InductiveRangeCheckElimination.cpp | 249 GetBFIFunc GetBFI; member in __anon9ff89cfc0111::InductiveRangeCheckElimination 258 LoopInfo &LI, GetBFIFunc GetBFI = std::nullopt) in InductiveRangeCheckElimination() argument 259 : SE(SE), BPI(BPI), DT(DT), LI(LI), GetBFI(GetBFI) {} in InductiveRangeCheckElimination() 948 if (GetBFI) { in isProfitableToTransform() 949 BlockFrequencyInfo &BFI = (*GetBFI)(); in isProfitableToTransform()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| HD | GCOVProfiling.cpp | 98 runOnModule(Module &M, function_ref<BlockFrequencyInfo *(Function &F)> GetBFI, 118 function_ref<BlockFrequencyInfo *(Function &F)> GetBFI, 553 Module &M, function_ref<BlockFrequencyInfo *(Function &F)> GetBFI, in runOnModule() argument 568 emitProfileNotes(CUNode, HasExecOrFork, GetBFI, GetBPI, this->GetTLI); in runOnModule() 579 auto GetBFI = [&FAM](Function &F) { in run() local 589 if (!Profiler.runOnModule(M, GetBFI, GetBPI, GetTLI)) in run() 764 function_ref<BlockFrequencyInfo *(Function &F)> GetBFI, in emitProfileNotes() argument 813 BlockFrequencyInfo *BFI = GetBFI(F); in emitProfileNotes()
|