Lines Matching defs:PGOMap
182 // This class represents the BBAddrMap and PGOMap associated with a single
186 BBAddrMapFunctionEntry(BBAddrMap AddrMap, PGOAnalysisMap PGOMap)
187 : AddrMap(std::move(AddrMap)), PGOMap(std::move(PGOMap)) {}
192 // in `PGOMap`. If PrettyPGOAnalysis is true, prints BFI as relative frequency
196 if (!PGOMap.FeatEnable.hasPGOAnalysis())
202 if (PGOMap.FeatEnable.FuncEntryCount && PGOBBEntryIndex == 0) {
203 PGOSS << "Entry count: " << Twine(PGOMap.FuncEntryCount);
204 if (PGOMap.FeatEnable.hasPGOAnalysisBBData()) {
209 if (PGOMap.FeatEnable.hasPGOAnalysisBBData()) {
211 assert(PGOBBEntryIndex < PGOMap.BBEntries.size() &&
214 PGOMap.BBEntries[PGOBBEntryIndex];
216 if (PGOMap.FeatEnable.BBFreq) {
219 printRelativeBlockFreq(PGOSS, PGOMap.BBEntries.front().BlockFreq,
223 if (PGOMap.FeatEnable.BrProb && PGOBBEntry.Successors.size() > 0) {
227 if (PGOMap.FeatEnable.BrProb && PGOBBEntry.Successors.size() > 0) {
247 const PGOAnalysisMap PGOMap;
250 // This class represents the BBAddrMap and PGOMap of potentially multiple
261 void AddFunctionEntry(BBAddrMap AddrMap, PGOAnalysisMap PGOMap) {
267 FunctionAddr, std::move(AddrMap), std::move(PGOMap));