|
clang
5.0.0
|
This class records statistics on instrumentation based profiling. More...
Public Member Functions | |
| InstrProfStats () | |
| void | addVisited (bool MainFile) |
| Record that we've visited a function and whether or not that function was in the main source file. More... | |
| void | addMissing (bool MainFile) |
| Record that a function we've visited has no profile data. More... | |
| void | addMismatched (bool MainFile) |
| Record that a function we've visited has mismatched profile data. More... | |
| bool | hasDiagnostics () |
| Whether or not the stats we've gathered indicate any potential problems. More... | |
| void | reportDiagnostics (DiagnosticsEngine &Diags, StringRef MainFile) |
Report potential problems we've found to Diags. More... | |
This class records statistics on instrumentation based profiling.
Definition at line 188 of file CodeGenModule.h.
|
inline |
Definition at line 196 of file CodeGenModule.h.
|
inline |
Record that a function we've visited has mismatched profile data.
Definition at line 213 of file CodeGenModule.h.
|
inline |
Record that a function we've visited has no profile data.
Definition at line 207 of file CodeGenModule.h.
|
inline |
Record that we've visited a function and whether or not that function was in the main source file.
Definition at line 201 of file CodeGenModule.h.
|
inline |
Whether or not the stats we've gathered indicate any potential problems.
Definition at line 215 of file CodeGenModule.h.
Referenced by clang::CodeGen::CodeGenModule::Release(), and reportDiagnostics().
| void InstrProfStats::reportDiagnostics | ( | DiagnosticsEngine & | Diags, |
| StringRef | MainFile | ||
| ) |
Report potential problems we've found to Diags.
Definition at line 366 of file CodeGenModule.cpp.
References hasDiagnostics(), and clang::DiagnosticsEngine::Report().
Referenced by clang::CodeGen::CodeGenModule::Release().
1.8.6