/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | AlwaysInliner.cpp | 37 AlwaysInlineImpl(Module & M,bool InsertLifetime,ProfileSummaryInfo & PSI,function_ref<AssumptionCache & (Function &)> GetAssumptionCache,function_ref<AAResults & (Function &)> GetAAR,function_ref<BlockFrequencyInfo & (Function &)> GetBFI) AlwaysInlineImpl() argument 172 auto GetBFI = [&](Function &F) -> BlockFrequencyInfo & { run() local
|
H A D | SCCP.cpp | 116 std::function<BlockFrequencyInfo &(Function &)> GetBFI, in runIPSCCP() argument 398 auto GetBFI = [&FAM](Function &F) -> BlockFrequencyInfo & { run() local
|
H A D | GlobalOpt.cpp | 1752 isValidCandidateForColdCC(Function & F,function_ref<BlockFrequencyInfo & (Function &)> GetBFI,const std::vector<Function * > & AllCallsCold) isValidCandidateForColdCC() argument 1786 hasOnlyColdCalls(Function & F,function_ref<BlockFrequencyInfo & (Function &)> GetBFI,ChangeableCCCacheTy & ChangeableCCCache) hasOnlyColdCalls() argument 1923 OptimizeFunctions(Module & M,function_ref<TargetLibraryInfo & (Function &)> GetTLI,function_ref<TargetTransformInfo & (Function &)> GetTTI,function_ref<BlockFrequencyInfo & (Function &)> GetBFI,function_ref<DominatorTree & (Function &)> LookupDomTree,SmallPtrSetImpl<const Comdat * > & NotDiscardableComdats,function_ref<void (Function & F)> ChangedCFGCallback,function_ref<void (Function & F)> DeleteFnCallback) OptimizeFunctions() argument 2487 optimizeGlobalsInModule(Module & M,const DataLayout & DL,function_ref<TargetLibraryInfo & (Function &)> GetTLI,function_ref<TargetTransformInfo & (Function &)> GetTTI,function_ref<BlockFrequencyInfo & (Function &)> GetBFI,function_ref<DominatorTree & (Function &)> LookupDomTree,function_ref<void (Function & F)> ChangedCFGCallback,function_ref<void (Function & F)> DeleteFnCallback) optimizeGlobalsInModule() argument 2575 auto GetBFI = [&FAM](Function &F) -> BlockFrequencyInfo & { run() local [all...] |
H A D | PartialInlining.cpp | 269 function_ref<BlockFrequencyInfo &(Function &)> GetBFI; global() member 1466 auto GetBFI = [&FAM](Function &F) -> BlockFrequencyInfo & { run() local
|
/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | HotColdSplitting.h | 60 function_ref<BlockFrequencyInfo *(Function &)> GetBFI; variable
|
H A D | FunctionSpecialization.h | 260 std::function<BlockFrequencyInfo &(Function &)> GetBFI; global() variable 274 FunctionSpecializer(SCCPSolver & Solver,Module & M,FunctionAnalysisManager * FAM,std::function<BlockFrequencyInfo & (Function &)> GetBFI,std::function<const TargetLibraryInfo & (Function &)> GetTLI,std::function<TargetTransformInfo & (Function &)> GetTTI,std::function<AssumptionCache & (Function &)> GetAC) FunctionSpecializer() argument
|
/llvm-project/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 250 function_ref<BlockFrequencyInfo &(Function &)> GetBFI; member in __anonf27af12e0111::CallAnalyzer 497 CallAnalyzer(Function & Callee,CallBase & Call,const TargetTransformInfo & TTI,function_ref<AssumptionCache & (Function &)> GetAssumptionCache,function_ref<BlockFrequencyInfo & (Function &)> GetBFI=nullptr,ProfileSummaryInfo * PSI=nullptr,OptimizationRemarkEmitter * ORE=nullptr) CallAnalyzer() argument 1107 InlineCostCallAnalyzer(Function & Callee,CallBase & Call,const InlineParams & Params,const TargetTransformInfo & TTI,function_ref<AssumptionCache & (Function &)> GetAssumptionCache,function_ref<BlockFrequencyInfo & (Function &)> GetBFI=nullptr,ProfileSummaryInfo * PSI=nullptr,OptimizationRemarkEmitter * ORE=nullptr,bool BoostIndirect=true,bool IgnoreThreshold=false) InlineCostCallAnalyzer() argument 1355 InlineCostFeaturesAnalyzer(const TargetTransformInfo & TTI,function_ref<AssumptionCache & (Function &)> & GetAssumptionCache,function_ref<BlockFrequencyInfo & (Function &)> GetBFI,ProfileSummaryInfo * PSI,OptimizationRemarkEmitter * ORE,Function & Callee,CallBase & Call) InlineCostFeaturesAnalyzer() argument 2938 getInlineCost(CallBase & Call,const InlineParams & Params,TargetTransformInfo & CalleeTTI,function_ref<AssumptionCache & (Function &)> GetAssumptionCache,function_ref<const TargetLibraryInfo & (Function &)> GetTLI,function_ref<BlockFrequencyInfo & (Function &)> GetBFI,ProfileSummaryInfo * PSI,OptimizationRemarkEmitter * ORE) getInlineCost() argument 2947 getInliningCostEstimate(CallBase & Call,TargetTransformInfo & CalleeTTI,function_ref<AssumptionCache & (Function &)> GetAssumptionCache,function_ref<BlockFrequencyInfo & (Function &)> GetBFI,ProfileSummaryInfo * PSI,OptimizationRemarkEmitter * ORE) getInliningCostEstimate() argument 2972 getInliningCostFeatures(CallBase & Call,TargetTransformInfo & CalleeTTI,function_ref<AssumptionCache & (Function &)> GetAssumptionCache,function_ref<BlockFrequencyInfo & (Function &)> GetBFI,ProfileSummaryInfo * PSI,OptimizationRemarkEmitter * ORE) getInliningCostFeatures() argument 3058 getInlineCost(CallBase & Call,Function * Callee,const InlineParams & Params,TargetTransformInfo & CalleeTTI,function_ref<AssumptionCache & (Function &)> GetAssumptionCache,function_ref<const TargetLibraryInfo & (Function &)> GetTLI,function_ref<BlockFrequencyInfo & (Function &)> GetBFI,ProfileSummaryInfo * PSI,OptimizationRemarkEmitter * ORE) getInlineCost() argument [all...] |
H A D | InlineOrder.cpp | 58 auto GetBFI = [&](Function &F) -> BlockFrequencyInfo & { in getInlineCostWrapper() local
|
H A D | InlineAdvisor.cpp | 147 auto GetBFI = [&](Function &F) -> BlockFrequencyInfo & { in getDefaultInlineAdvice() local
|
/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | InductiveRangeCheckElimination.cpp | 249 GetBFIFunc GetBFI; global() member in __anon295d98950111::InductiveRangeCheckElimination 258 InductiveRangeCheckElimination(ScalarEvolution & SE,BranchProbabilityInfo * BPI,DominatorTree & DT,LoopInfo & LI,GetBFIFunc GetBFI=std::nullopt) InductiveRangeCheckElimination() argument
|
/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 553 emitProfileNotes(CUNode, HasExecOrFork, GetBFI, GetBPI, this->GetTLI); in runOnModule() argument 579 auto GetBFI = [&FAM](Function &F) { run() local 764 emitProfileNotes(NamedMDNode * CUNode,bool HasExecOrFork,function_ref<BlockFrequencyInfo * (Function & F)> GetBFI,function_ref<BranchProbabilityInfo * (Function & F)> GetBPI,function_ref<const TargetLibraryInfo & (Function & F)> GetTLI) emitProfileNotes() argument
|
/llvm-project/llvm/unittests/Transforms/IPO/ |
H A D | FunctionSpecializationTest.cpp | 79 auto GetBFI = [this](Function &F) -> BlockFrequencyInfo & { getSpecializerFor() local
|