Searched refs:LookupBPI (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 806 Module &M, function_ref<BranchProbabilityInfo *(Function &)> LookupBPI, in InstrumentAllFunctions() argument 812 auto *BPI = LookupBPI(F); in InstrumentAllFunctions() 823 auto LookupBPI = [this](Function &F) { in runOnModule() local 829 return InstrumentAllFunctions(M, LookupBPI, LookupBFI); in runOnModule() 836 auto LookupBPI = [&FAM](Function &F) { in run() local 844 if (!InstrumentAllFunctions(M, LookupBPI, LookupBFI)) in run() 852 function_ref<BranchProbabilityInfo *(Function &)> LookupBPI, in annotateAllFunctions() argument 885 auto *BPI = LookupBPI(F); in annotateAllFunctions() 927 auto LookupBPI = [&FAM](Function &F) { in run() local 935 if (!annotateAllFunctions(M, ProfileFileName, LookupBPI, LookupBFI)) in run() [all …]
|