Polly 19.0.0git
Public Member Functions | List of all members
polly::ReportOther Class Reference

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

#include <ScopDetectionDiagnostic.h>

Inheritance diagram for polly::ReportOther:
Inheritance graph
[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 std::string getRemarkName () const =0
 Generate the remark name to identify this remark.
 
virtual const Value * getRemarkBB () const =0
 Get the Basic Block containing this remark.
 
virtual std::string getMessage () const =0
 Generate a reasonable diagnostic message describing this error.
 
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()

polly::ReportOther::ReportOther ( const RejectReasonKind  K)

Definition at line 701 of file ScopDetectionDiagnostic.cpp.

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::ReportIntToPtr, polly::ReportAlloca, polly::ReportUnknownInst, polly::ReportEntry, polly::ReportUnprofitable, and polly::ReportNonSimpleMemoryAccess.

Definition at line 699 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::ReportIntToPtr, polly::ReportAlloca, polly::ReportUnknownInst, polly::ReportEntry, polly::ReportUnprofitable, and polly::ReportNonSimpleMemoryAccess.

Definition at line 697 of file ScopDetectionDiagnostic.cpp.


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