Polly 22.0.0git
polly::ReportOther Class Reference

Base class for otherwise ungrouped reject reasons. More...

#include <ScopDetectionDiagnostic.h>

Inheritance diagram for polly::ReportOther:
[legend]

Public Member Functions

 ReportOther (const RejectReasonKind K)
RejectReason interface
std::string getRemarkName () const override
 Generate the remark name to identify this remark.
std::string getMessage () const override
 Generate a reasonable diagnostic message describing this error.
Public Member Functions inherited from polly::RejectReason
 RejectReason (RejectReasonKind K)
virtual ~RejectReason ()=default
RejectReasonKind getKind () const
virtual const BasicBlock * getRemarkBB () const =0
 Get the Basic Block containing this remark.
virtual std::string getEndUserMessage () const
 Generate a message for the end-user describing this error.
virtual const DebugLoc & getDebugLoc () const
 Get the source location of this error.

Static Public Member Functions

LLVM-RTTI interface
static bool classof (const RejectReason *RR)

Additional Inherited Members

Static Protected Attributes inherited from polly::RejectReason
static const DebugLoc Unknown = DebugLoc()

Detailed Description

Base class for otherwise ungrouped reject reasons.

Definition at line 736 of file ScopDetectionDiagnostic.h.

Constructor & Destructor Documentation

◆ ReportOther()

Member Function Documentation

◆ classof()

bool polly::ReportOther::classof ( const RejectReason * RR)
static

◆ getMessage()

std::string polly::ReportOther::getMessage ( ) const
overridevirtual

Generate a reasonable diagnostic message describing this error.

Returns
A debug message representing this error.

Implements polly::RejectReason.

Reimplemented in polly::ReportUnknownInst, and polly::ReportUnprofitable.

Definition at line 706 of file ScopDetectionDiagnostic.cpp.

◆ getRemarkName()

std::string polly::ReportOther::getRemarkName ( ) const
overridevirtual

Generate the remark name to identify this remark.

Returns
A short string that identifies the error.

Implements polly::RejectReason.

Reimplemented in polly::ReportUnknownInst, and polly::ReportUnprofitable.

Definition at line 704 of file ScopDetectionDiagnostic.cpp.


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