Lines Matching refs:PSI
68 bool callsiteIsHot(const FunctionSamples *CallsiteFS, ProfileSummaryInfo *PSI, in callsiteIsHot() argument
73 assert(PSI && "PSI is expected to be non null"); in callsiteIsHot()
76 return !PSI->isColdCount(CallsiteTotalSamples); in callsiteIsHot()
78 return PSI->isHotCount(CallsiteTotalSamples); in callsiteIsHot()
102 ProfileSummaryInfo *PSI) const { in countUsedRecords()
115 if (callsiteIsHot(CalleeSamples, PSI, ProfAccForSymsInList)) in countUsedRecords()
116 Count += countUsedRecords(CalleeSamples, PSI); in countUsedRecords()
127 ProfileSummaryInfo *PSI) const { in countBodyRecords()
134 if (callsiteIsHot(CalleeSamples, PSI, ProfAccForSymsInList)) in countBodyRecords()
135 Count += countBodyRecords(CalleeSamples, PSI); in countBodyRecords()
146 ProfileSummaryInfo *PSI) const { in countBodySamples()
155 if (callsiteIsHot(CalleeSamples, PSI, ProfAccForSymsInList)) in countBodySamples()
156 Total += countBodySamples(CalleeSamples, PSI); in countBodySamples()