clang
3.9.0
|
This class records statistics on instrumentation based profiling. More...
#include <CodeGenModule.h>
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 182 of file CodeGenModule.h.
|
inline |
Definition at line 190 of file CodeGenModule.h.
|
inline |
Record that a function we've visited has mismatched profile data.
Definition at line 207 of file CodeGenModule.h.
|
inline |
Record that a function we've visited has no profile data.
Definition at line 201 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 195 of file CodeGenModule.h.
|
inline |
Whether or not the stats we've gathered indicate any potential problems.
Definition at line 209 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 360 of file CodeGenModule.cpp.
References hasDiagnostics(), and clang::DiagnosticsEngine::Report().
Referenced by clang::CodeGen::CodeGenModule::Release().