Lines Matching +full:clang +full:- +full:pgo
1 //===--- CodeGenPGO.h - PGO Instrumentation for LLVM CodeGen ----*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
10 // Instrumentation-based profile-guided optimization
12 //===----------------------------------------------------------------------===//
20 #include "clang/Frontend/CodeGenOptions.h"
27 namespace clang {
30 /// Per-function PGO state.
54 /// Whether or not we have PGO region data for the current function. This is
63 /// of changes to the most recent counter from control flow and non-local
72 auto I = StmtCountMap->find(S); in getStmtCount()
73 if (I == StmtCountMap->end()) in getStmtCount()
75 return I->second; in getStmtCount()
85 /// Assign counters to regions and configure them for PGO of a given
87 /// generates global variables or associates PGO data with each of the
123 } // end namespace clang