Lines Matching refs:PSI
200 ProfileSummaryInfo *PSI) const;
202 ProfileSummaryInfo *PSI) const;
205 ProfileSummaryInfo *PSI) const;
374 ProfileSummaryInfo *PSI);
453 ProfileSummaryInfo *PSI = nullptr; member in __anon33472e0f0111::SampleProfileLoader
560 ProfileSummaryInfo *PSI) { in callsiteIsHot() argument
564 assert(PSI && "PSI is expected to be non null"); in callsiteIsHot()
567 return !PSI->isColdCount(CallsiteTotalSamples); in callsiteIsHot()
569 return PSI->isHotCount(CallsiteTotalSamples); in callsiteIsHot()
593 ProfileSummaryInfo *PSI) const { in countUsedRecords()
606 if (SPLoader.callsiteIsHot(CalleeSamples, PSI)) in countUsedRecords()
607 Count += countUsedRecords(CalleeSamples, PSI); in countUsedRecords()
618 ProfileSummaryInfo *PSI) const { in countBodyRecords()
625 if (SPLoader.callsiteIsHot(CalleeSamples, PSI)) in countBodyRecords()
626 Count += countBodyRecords(CalleeSamples, PSI); in countBodyRecords()
637 ProfileSummaryInfo *PSI) const { in countBodySamples()
646 if (SPLoader.callsiteIsHot(CalleeSamples, PSI)) in countBodySamples()
647 Total += countBodySamples(CalleeSamples, PSI); in countBodySamples()
1044 if (callsiteIsHot(FS, PSI)) in inlineHotFunctions()
1071 PSI->getOrCompHotCountThreshold()); in inlineHotFunctions()
1074 if (!callsiteIsHot(FS, PSI)) in inlineHotFunctions()
1124 InlinedGUIDs, F.getParent(), PSI->getOrCompHotCountThreshold()); in inlineHotFunctions()
1799 unsigned Used = CoverageTracker.countUsedRecords(Samples, PSI); in emitAnnotations()
1800 unsigned Total = CoverageTracker.countBodyRecords(Samples, PSI); in emitAnnotations()
1813 uint64_t Total = CoverageTracker.countBodySamples(Samples, PSI); in emitAnnotations()
1932 PSI = _PSI; in runOnModule()
1936 PSI->refresh(); in runOnModule()
1992 ProfileSummaryInfo *PSI = in runOnModule() local
1994 return SampleLoader.runOnModule(M, nullptr, PSI, nullptr); in runOnModule()
2085 ProfileSummaryInfo *PSI = &AM.getResult<ProfileSummaryAnalysis>(M); in run() local
2087 if (!SampleLoader.runOnModule(M, &AM, PSI, &CG)) in run()