clang 22.0.0git
|
This class records statistics on instrumentation based profiling. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CodeGenModule.h"
Public Member Functions | |
InstrProfStats ()=default | |
void | addVisited (bool MainFile) |
Record that we've visited a function and whether or not that function was in the main source file. | |
void | addMissing (bool MainFile) |
Record that a function we've visited has no profile data. | |
void | addMismatched (bool MainFile) |
Record that a function we've visited has mismatched profile data. | |
bool | hasDiagnostics () |
Whether or not the stats we've gathered indicate any potential problems. | |
void | reportDiagnostics (DiagnosticsEngine &Diags, StringRef MainFile) |
Report potential problems we've found to Diags . |
This class records statistics on instrumentation based profiling.
Definition at line 263 of file CodeGenModule.h.
|
default |
|
inline |
Record that a function we've visited has mismatched profile data.
Definition at line 286 of file CodeGenModule.h.
|
inline |
Record that a function we've visited has no profile data.
Definition at line 280 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 274 of file CodeGenModule.h.
|
inline |
Whether or not the stats we've gathered indicate any potential problems.
Definition at line 288 of file CodeGenModule.h.
Referenced by reportDiagnostics().
void InstrProfStats::reportDiagnostics | ( | DiagnosticsEngine & | Diags, |
StringRef | MainFile ) |
Report potential problems we've found to Diags
.
Definition at line 861 of file CodeGenModule.cpp.
References hasDiagnostics(), and clang::DiagnosticsEngine::Report().