clang
7.0.0
|
This class records statistics on instrumentation based profiling. More...
#include "/work/llvm-www-releases/7.0.0/docsbuild/llvm.src/tools/clang/lib/CodeGen/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 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().
void InstrProfStats::reportDiagnostics | ( | DiagnosticsEngine & | Diags, |
StringRef | MainFile | ||
) |
Report potential problems we've found to Diags
.
Definition at line 374 of file CodeGenModule.cpp.
References clang::DiagnosticsEngine::Report().
Referenced by clang::CodeGen::CodeGenModule::Release().