Searched refs:CallerBFI (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 179 BlockFrequencyInfo *CallerBFI = nullptr, 182 CallerBFI(CallerBFI), CalleeBFI(CalleeBFI) {} in CG() 189 BlockFrequencyInfo *CallerBFI, *CalleeBFI; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 402 bool isColdCallSite(CallBase &Call, BlockFrequencyInfo *CallerBFI); 411 BlockFrequencyInfo *CallerBFI); 1084 BlockFrequencyInfo *CallerBFI) { in isColdCallSite() argument 1088 return PSI->isColdCallSite(CallSite(&Call), CallerBFI); in isColdCallSite() 1091 if (!CallerBFI) in isColdCallSite() 1100 auto CallSiteFreq = CallerBFI->getBlockFreq(CallSiteBB); in isColdCallSite() 1102 CallerBFI->getBlockFreq(&(Call.getCaller()->getEntryBlock())); in isColdCallSite() 1108 BlockFrequencyInfo *CallerBFI) { in getHotCallSiteThreshold() argument 1113 PSI->isHotCallSite(CallSite(&Call), CallerBFI)) in getHotCallSiteThreshold() 1118 if (!CallerBFI || !Params.LocallyHotCallSiteThreshold) in getHotCallSiteThreshold() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1472 BlockFrequencyInfo *CallerBFI, in updateCallerBFI() argument 1486 uint64_t NewFreq = CallerBFI->getBlockFreq(ClonedBB).getFrequency(); in updateCallerBFI() 1490 CallerBFI->setBlockFreq(ClonedBB, Freq); in updateCallerBFI() 1493 CallerBFI->setBlockFreqAndScale( in updateCallerBFI() 1494 EntryClone, CallerBFI->getBlockFreq(CallSiteBlock).getFrequency(), in updateCallerBFI() 1503 BlockFrequencyInfo *CallerBFI) { in updateCallProfile() argument 1507 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile() 1742 if (IFI.CallerBFI != nullptr && IFI.CalleeBFI != nullptr) in InlineFunction() 1744 updateCallerBFI(OrigBB, VMap, IFI.CallerBFI, IFI.CalleeBFI, in InlineFunction() 1748 IFI.PSI, IFI.CallerBFI); in InlineFunction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2178 static bool isColdCallSite(CallSite CS, BlockFrequencyInfo &CallerBFI) { in isColdCallSite() argument 2181 auto CallSiteFreq = CallerBFI.getBlockFreq(CallSiteBB); in isColdCallSite() 2183 CallerBFI.getBlockFreq(&(CS.getCaller()->getEntryBlock())); in isColdCallSite() 2205 BlockFrequencyInfo &CallerBFI = GetBFI(*CallerFunc); in isValidCandidateForColdCC() local 2206 if (!isColdCallSite(CS, CallerBFI)) in isValidCandidateForColdCC() 2249 BlockFrequencyInfo &CallerBFI = GetBFI(F); in hasOnlyColdCalls() local 2250 if (!isColdCallSite(CS, CallerBFI)) in hasOnlyColdCalls()
|