Lines Matching refs:PSI

32                  ProfileSummaryInfo *PSI,  in isColdBlock()  argument
35 return Count && PSI->isColdCount(*Count); in isColdBlock()
39 ProfileSummaryInfo *PSI, in isColdBlock() argument
42 return Count && PSI->isColdCount(*Count); in isColdBlock()
48 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile() argument
51 return Count && PSI->isHotCountNthPercentile(PercentileCutoff, *Count); in isHotBlockNthPercentile()
56 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile() argument
59 return Count && PSI->isHotCountNthPercentile(PercentileCutoff, *Count); in isHotBlockNthPercentile()
64 ProfileSummaryInfo *PSI, in isColdBlockNthPercentile() argument
67 return Count && PSI->isColdCountNthPercentile(PercentileCutoff, *Count); in isColdBlockNthPercentile()
72 ProfileSummaryInfo *PSI, in isColdBlockNthPercentile() argument
75 return Count && PSI->isColdCountNthPercentile(PercentileCutoff, *Count); in isColdBlockNthPercentile()
82 ProfileSummaryInfo *PSI, in isFunctionColdInCallGraph() argument
85 if (!PSI->isColdCount(FunctionCount->getCount())) in isFunctionColdInCallGraph()
88 if (!isColdBlock(&MBB, PSI, &MBFI)) in isFunctionColdInCallGraph()
98 ProfileSummaryInfo *PSI, in isFunctionHotInCallGraphNthPercentile() argument
101 if (PSI->isHotCountNthPercentile(PercentileCutoff, in isFunctionHotInCallGraphNthPercentile()
105 if (isHotBlockNthPercentile(PercentileCutoff, &MBB, PSI, &MBFI)) in isFunctionHotInCallGraphNthPercentile()
111 int PercentileCutoff, const MachineFunction *MF, ProfileSummaryInfo *PSI, in isFunctionColdInCallGraphNthPercentile() argument
114 if (!PSI->isColdCountNthPercentile(PercentileCutoff, in isFunctionColdInCallGraphNthPercentile()
118 if (!isColdBlockNthPercentile(PercentileCutoff, &MBB, PSI, &MBFI)) in isFunctionColdInCallGraphNthPercentile()
126 ProfileSummaryInfo *PSI, in isFunctionColdInCallGraph()
128 return machine_size_opts_detail::isFunctionColdInCallGraph(MF, PSI, MBFI); in isFunctionColdInCallGraph()
133 ProfileSummaryInfo *PSI, in isFunctionHotInCallGraphNthPercentile()
136 CutOff, MF, PSI, MBFI); in isFunctionHotInCallGraphNthPercentile()
139 int CutOff, const MachineFunction *MF, ProfileSummaryInfo *PSI, in isFunctionColdInCallGraphNthPercentile()
142 CutOff, MF, PSI, MBFI); in isFunctionColdInCallGraphNthPercentile()
145 ProfileSummaryInfo *PSI, in isColdBlock()
147 return machine_size_opts_detail::isColdBlock(MBB, PSI, MBFI); in isColdBlock()
150 ProfileSummaryInfo *PSI, in isColdBlock()
152 return machine_size_opts_detail::isColdBlock(BlockFreq, PSI, MBFI); in isColdBlock()
156 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile()
159 CutOff, MBB, PSI, MBFI); in isHotBlockNthPercentile()
163 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile()
166 CutOff, BlockFreq, PSI, MBFI); in isHotBlockNthPercentile()
169 ProfileSummaryInfo *PSI, in isColdBlockNthPercentile()
171 return machine_size_opts_detail::isColdBlockNthPercentile(CutOff, MBB, PSI, in isColdBlockNthPercentile()
175 ProfileSummaryInfo *PSI, in isColdBlockNthPercentile()
178 PSI, MBFI); in isColdBlockNthPercentile()
184 ProfileSummaryInfo *PSI, in shouldOptimizeForSize() argument
188 MF, PSI, MBFI, QueryType); in shouldOptimizeForSize()
192 ProfileSummaryInfo *PSI, in shouldOptimizeForSize() argument
197 MBB, PSI, MBFI, QueryType); in shouldOptimizeForSize()
201 ProfileSummaryInfo *PSI, in shouldOptimizeForSize() argument
205 if (!PSI || !MBFIW) in shouldOptimizeForSize()
209 BlockFreq, PSI, &MBFIW->getMBFI(), QueryType); in shouldOptimizeForSize()