LLVM 20.0.0git
|
Diagnostic information for the PGO profiler. More...
#include "llvm/IR/DiagnosticInfo.h"
Public Member Functions | |
DiagnosticInfoPGOProfile (const char *FileName, const Twine &Msg, DiagnosticSeverity Severity=DS_Error) | |
void | print (DiagnosticPrinter &DP) const override |
const char * | getFileName () const |
const Twine & | getMsg () const |
Public Member Functions inherited from llvm::DiagnosticInfo | |
DiagnosticInfo (int Kind, DiagnosticSeverity Severity) | |
virtual | ~DiagnosticInfo ()=default |
int | getKind () const |
DiagnosticSeverity | getSeverity () const |
virtual void | print (DiagnosticPrinter &DP) const =0 |
Print using the given DP a user-friendly message. | |
Static Public Member Functions | |
static bool | classof (const DiagnosticInfo *DI) |
Diagnostic information for the PGO profiler.
Definition at line 296 of file DiagnosticInfo.h.
|
inline |
Definition at line 298 of file DiagnosticInfo.h.
|
inlinestatic |
Definition at line 305 of file DiagnosticInfo.h.
References llvm::DK_PGOProfile, and llvm::DiagnosticInfo::getKind().
Definition at line 309 of file DiagnosticInfo.h.
Referenced by print().
Definition at line 310 of file DiagnosticInfo.h.
Referenced by print().
|
overridevirtual |
Implements llvm::DiagnosticInfo.
Definition at line 134 of file DiagnosticInfo.cpp.
References getFileName(), and getMsg().