LLVM  7.0.0svn
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 chargetFileName () 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 318 of file DiagnosticInfo.h.

Constructor & Destructor Documentation

◆ DiagnosticInfoPGOProfile()

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

Definition at line 320 of file DiagnosticInfo.h.

References llvm::DiagnosticInfo::print().

Member Function Documentation

◆ classof()

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

Definition at line 327 of file DiagnosticInfo.h.

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

◆ getFileName()

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

Definition at line 331 of file DiagnosticInfo.h.

◆ getMsg()

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

Definition at line 332 of file DiagnosticInfo.h.

◆ print()

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

Implements llvm::DiagnosticInfo.

Definition at line 100 of file DiagnosticInfo.cpp.

References getFileName().

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