LLVM  14.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::DiagnosticInfoPGOProfile Class Reference

Diagnostic information for the PGO profiler. More...

#include "llvm/IR/DiagnosticInfo.h"

Inheritance diagram for llvm::DiagnosticInfoPGOProfile:
Inheritance graph
Collaboration diagram for llvm::DiagnosticInfoPGOProfile:
Collaboration graph

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 TwinegetMsg () const
- Public Member Functions inherited from llvm::DiagnosticInfo
 DiagnosticInfo (int Kind, DiagnosticSeverity Severity)
virtual ~DiagnosticInfo ()=default
int getKind () const
DiagnosticSeverity getSeverity () const

Static Public Member Functions

static bool classof (const DiagnosticInfo *DI)

Detailed Description

Diagnostic information for the PGO profiler.

Definition at line 325 of file DiagnosticInfo.h.

Constructor & Destructor Documentation

◆ DiagnosticInfoPGOProfile()

llvm::DiagnosticInfoPGOProfile::DiagnosticInfoPGOProfile ( const char *  FileName,
const Twine Msg,
DiagnosticSeverity  Severity = DS_Error 

Definition at line 327 of file DiagnosticInfo.h.

Member Function Documentation

◆ classof()

static bool llvm::DiagnosticInfoPGOProfile::classof ( const DiagnosticInfo DI)

Definition at line 334 of file DiagnosticInfo.h.

References llvm::DK_PGOProfile, and llvm::DiagnosticInfo::getKind().

◆ getFileName()

const char* llvm::DiagnosticInfoPGOProfile::getFileName ( ) const

Definition at line 338 of file DiagnosticInfo.h.

Referenced by print().

◆ getMsg()

const Twine& llvm::DiagnosticInfoPGOProfile::getMsg ( ) const

Definition at line 339 of file DiagnosticInfo.h.

Referenced by print().

◆ print()

void DiagnosticInfoPGOProfile::print ( DiagnosticPrinter DP) const
See also

Implements llvm::DiagnosticInfo.

Definition at line 99 of file DiagnosticInfo.cpp.

References DP, getFileName(), and getMsg().

The documentation for this class was generated from the following files: