Searched refs:CallerBFI (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 182 BlockFrequencyInfo *CallerBFI = nullptr, 185 CallerBFI(CallerBFI), CalleeBFI(CalleeBFI) {} in CG() 192 BlockFrequencyInfo *CallerBFI, *CalleeBFI; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 223 bool isColdCallSite(CallSite CS, BlockFrequencyInfo *CallerBFI); 227 BlockFrequencyInfo *CallerBFI); 795 bool CallAnalyzer::isColdCallSite(CallSite CS, BlockFrequencyInfo *CallerBFI) { in isColdCallSite() argument 799 return PSI->isColdCallSite(CS, CallerBFI); in isColdCallSite() 802 if (!CallerBFI) in isColdCallSite() 811 auto CallSiteFreq = CallerBFI->getBlockFreq(CallSiteBB); in isColdCallSite() 813 CallerBFI->getBlockFreq(&(CS.getCaller()->getEntryBlock())); in isColdCallSite() 819 BlockFrequencyInfo *CallerBFI) { in getHotCallSiteThreshold() argument 823 if (PSI && PSI->hasProfileSummary() && PSI->isHotCallSite(CS, CallerBFI)) in getHotCallSiteThreshold() 828 if (!CallerBFI || !Params.LocallyHotCallSiteThreshold) in getHotCallSiteThreshold() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1407 BlockFrequencyInfo *CallerBFI, in updateCallerBFI() argument 1421 uint64_t NewFreq = CallerBFI->getBlockFreq(ClonedBB).getFrequency(); in updateCallerBFI() 1425 CallerBFI->setBlockFreq(ClonedBB, Freq); in updateCallerBFI() 1428 CallerBFI->setBlockFreqAndScale( in updateCallerBFI() 1429 EntryClone, CallerBFI->getBlockFreq(CallSiteBlock).getFrequency(), in updateCallerBFI() 1438 BlockFrequencyInfo *CallerBFI) { in updateCallProfile() argument 1442 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile() 1464 static void updateCalleeCount(BlockFrequencyInfo *CallerBFI, BasicBlock *CallBB, in updateCalleeCount() argument 1474 auto CallCount = PSI->getProfileCount(CallInst, CallerBFI); in updateCalleeCount() 1671 if (IFI.CallerBFI != nullptr && IFI.CalleeBFI != nullptr) in InlineFunction() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2134 static bool isColdCallSite(CallSite CS, BlockFrequencyInfo &CallerBFI) { in isColdCallSite() argument 2137 auto CallSiteFreq = CallerBFI.getBlockFreq(CallSiteBB); in isColdCallSite() 2139 CallerBFI.getBlockFreq(&(CS.getCaller()->getEntryBlock())); in isColdCallSite() 2161 BlockFrequencyInfo &CallerBFI = GetBFI(*CallerFunc); in isValidCandidateForColdCC() local 2162 if (!isColdCallSite(CS, CallerBFI)) in isValidCandidateForColdCC() 2205 BlockFrequencyInfo &CallerBFI = GetBFI(F); in hasOnlyColdCalls() local 2206 if (!isColdCallSite(CS, CallerBFI)) in hasOnlyColdCalls()
|